<?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: HTML javascript is not getting executed. in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/HTML-javascript-is-not-getting-executed/m-p/386178#M19558</link>
    <description>&lt;P&gt;Heya&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/150636"&gt;@vandnakapoor19&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;If you want to trigger something on window load you would want to use GTM's&amp;nbsp;&lt;STRONG&gt;Window Loaded&amp;nbsp;&lt;/STRONG&gt;trigger instead of &lt;STRONG&gt;Page View&lt;/STRONG&gt;. With&amp;nbsp;&lt;STRONG&gt;Window Loaded&amp;nbsp;&lt;/STRONG&gt;set as the trigger then all you would need is the console.log bit in your script instead of adding an extra window event listener.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 20:55:52 GMT</pubDate>
    <dc:creator>alyssamwilie</dc:creator>
    <dc:date>2020-11-12T20:55:52Z</dc:date>
    <item>
      <title>HTML javascript is not getting executed.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HTML-javascript-is-not-getting-executed/m-p/386171#M19554</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am new in HubSpot Development. Excuse me if my query is very basic.&lt;BR /&gt;I have created one onload JavaScript for HubSpot forms on Google Tag Manager &amp;amp; not able to console the information on the HubSpot form console. Any pointers, If I'm missing anything here&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="adL"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="console_hubspot.PNG" style="width: 906px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/34227iDF759906DF4CA168/image-size/large?v=v2&amp;amp;px=999" role="button" title="console_hubspot.PNG" alt="console_hubspot.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Nov 2020 20:26:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HTML-javascript-is-not-getting-executed/m-p/386171#M19554</guid>
      <dc:creator>vandnakapoor19</dc:creator>
      <dc:date>2020-11-12T20:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: HTML javascript is not getting executed.</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HTML-javascript-is-not-getting-executed/m-p/386178#M19558</link>
      <description>&lt;P&gt;Heya&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/150636"&gt;@vandnakapoor19&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;If you want to trigger something on window load you would want to use GTM's&amp;nbsp;&lt;STRONG&gt;Window Loaded&amp;nbsp;&lt;/STRONG&gt;trigger instead of &lt;STRONG&gt;Page View&lt;/STRONG&gt;. With&amp;nbsp;&lt;STRONG&gt;Window Loaded&amp;nbsp;&lt;/STRONG&gt;set as the trigger then all you would need is the console.log bit in your script instead of adding an extra window event listener.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 20:55:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HTML-javascript-is-not-getting-executed/m-p/386178#M19558</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2020-11-12T20:55:52Z</dc:date>
    </item>
  </channel>
</rss>

