<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Javascript not appearing on hubspot webpage in Blog, Website &amp; Page Publishing</title>
    <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116114#M14913</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/907344"&gt;@Anasser6&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you're using the default theme/base theme, in your theme folder, there should be a js folder which you can move the file in there.&amp;nbsp;&lt;BR /&gt;If it's in the root folder try this code&lt;BR /&gt;&lt;SPAN&gt;{{ require_js(get_asset_url("../../NAME_OF_FILE.js")) }}&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 15:38:45 GMT</pubDate>
    <dc:creator>jonchim</dc:creator>
    <dc:date>2025-02-28T15:38:45Z</dc:date>
    <item>
      <title>Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1115766#M14904</link>
      <description>&lt;P&gt;I have followed the steps from this knowledge article:&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/design-manager/add-a-javascript-file-to-hubspot" target="_blank"&gt;https://knowledge.hubspot.com/design-manager/add-a-javascript-file-to-hubspot&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;- I created a Javascript file&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I copied the file's public URL and added it to the specific web page's Footer under the Advanced Settings &amp;gt; Footer HTML, and formatted it as follows:&amp;nbsp;&lt;BR /&gt;&amp;lt;!-- start Main.js Do Not Remove --&amp;gt;&lt;BR /&gt;&amp;lt;script src='PATH URL PASTED HERE'&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;!---End Main.js--&amp;gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I even tried pasting this under Settings &amp;gt; Content &amp;gt; Pages &amp;gt; Site footer HTML for the domain I wanted but no luck. When I load the test page and view page source (using google chrome) I don't see the javascript anywhere.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any ideas on what I'm missing?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 20:52:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1115766#M14904</guid>
      <dc:creator>Anasser6</dc:creator>
      <dc:date>2025-02-27T20:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1115978#M14909</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/907344"&gt;@Anasser6&lt;/a&gt;&lt;/SPAN&gt; and welcome, it's such a pleasure to see you here! &lt;span class="lia-unicode-emoji" title=":party_popper:"&gt;🎉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Can you please share with us the URL of the page where you added the Javascript?&lt;BR /&gt;&lt;BR /&gt;I'd love to put you in touch with some of our Top Experts: Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133"&gt;@stefen&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114957"&gt;@Syeda_Fatima&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/907344"&gt;@Anasser6&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a wonderful weekend and thanks so much! &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 10:25:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1115978#M14909</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-02-28T10:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116040#M14910</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/907344"&gt;@Anasser6&lt;/a&gt;,&lt;BR /&gt;You shouldn't need the script tags if the javascript file you created lives in your theme folder&lt;BR /&gt;it should look something like this&amp;nbsp;{{ require_js(get_asset_url("../../js/NAME_OF_FILE.js")) }}&lt;BR /&gt;&lt;BR /&gt;If you uploaded it to the file manager that you should be able to use script src="URL"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:23:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116040#M14910</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2025-02-28T13:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116097#M14911</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your message.&amp;nbsp;&lt;BR /&gt;The site URL is:&amp;nbsp;&lt;A href="https://test-242118198.hubspotpagebuilder.net/test" target="_blank"&gt;https://test-242118198.hubspotpagebuilder.net/test&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 15:06:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116097#M14911</guid>
      <dc:creator>Anasser6</dc:creator>
      <dc:date>2025-02-28T15:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116102#M14912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response. I'm not familiar with theme folders - when creating the javascript file I saved it in the root folder (see screenshot).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, how would I reference the file path for the script you included? Would it be like this?&lt;BR /&gt;&lt;SPAN&gt;{{ require_js(get_asset_url("FOLDER_NAME/js/NAME_OF_FILE.js")) }}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anasser6_0-1740755582516.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/139789i0F7CB437E51D685F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anasser6_0-1740755582516.png" alt="Anasser6_0-1740755582516.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 15:16:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116102#M14912</guid>
      <dc:creator>Anasser6</dc:creator>
      <dc:date>2025-02-28T15:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116114#M14913</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/907344"&gt;@Anasser6&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;If you're using the default theme/base theme, in your theme folder, there should be a js folder which you can move the file in there.&amp;nbsp;&lt;BR /&gt;If it's in the root folder try this code&lt;BR /&gt;&lt;SPAN&gt;{{ require_js(get_asset_url("../../NAME_OF_FILE.js")) }}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 15:38:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116114#M14913</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2025-02-28T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116328#M14923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the code you mentioned but no luck. I also don't see an option to move my file into any folder from my file settings - see screenshots. The only folder I see is the&amp;nbsp;@hubspot folder - is this the default one you're referring to?&amp;nbsp;From within that folder the only subfolder that had a js folder was the cmsdefaultsystempages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anasser6_2-1740782097582.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/139846iC71B06B7C9A898A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anasser6_2-1740782097582.png" alt="Anasser6_2-1740782097582.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anasser6_3-1740782187041.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/139847i7F224CDD7FCCBB71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anasser6_3-1740782187041.png" alt="Anasser6_3-1740782187041.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 22:39:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116328#M14923</guid>
      <dc:creator>Anasser6</dc:creator>
      <dc:date>2025-02-28T22:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript not appearing on hubspot webpage</title>
      <link>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116992#M14940</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/907344"&gt;@Anasser6&lt;/a&gt;,&amp;nbsp;okay looks like you haven't created/using a custom theme. I think best solution for you would be to navigate to file manager&amp;nbsp;&lt;A href="https://app.hubspot.com/files/{{" target="_blank"&gt;https://app.hubspot.com/files/&lt;/A&gt;YOUR PORTAL ID&lt;BR /&gt;Drop the file in there, once you have that you can click on Copy URL&lt;BR /&gt;and then in your page settings just use &amp;lt;script src="URL"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2025-03-03 at 9.48.37 AM.png" style="width: 324px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/139980iA7F3F8D7085C0F82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-03-03 at 9.48.37 AM.png" alt="Screenshot 2025-03-03 at 9.48.37 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 14:49:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Blog-Website-Page-Publishing/Javascript-not-appearing-on-hubspot-webpage/m-p/1116992#M14940</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2025-03-03T14:49:44Z</dc:date>
    </item>
  </channel>
</rss>

