<?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: Hubspot tracking code in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/989109#M74183</link>
    <description>&lt;P&gt;&amp;lt;!-- Start of HubSpot Embed Code --&amp;gt;&lt;BR /&gt;&amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js-na1.hs-scripts.com/46411655.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;!-- End of HubSpot Embed Code --&amp;gt;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Jun 2024 02:07:46 GMT</pubDate>
    <dc:creator>cortiz32</dc:creator>
    <dc:date>2024-06-08T02:07:46Z</dc:date>
    <item>
      <title>Hubspot tracking code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/231275#M10171</link>
      <description>&lt;P&gt;When we started a few months back, we were using the following snippet for using the tracking code -&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;script&amp;gt;
  (function(d,s,i,r) {
      if (d.getElementById(i)){return;}
      var n=d.createElement(s),e=d.getElementsByTagName(s)[0];
      n.id=i;n.src='//js.hs-analytics.net/analytics/'+(Math.ceil(new Date()/r)*r)+'/xxxxxxxxx.js';
      e.parentNode.insertBefore(n, e);
  })(document,"script","hs-analytics",300000);
&amp;lt;/script&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When we checked this recently, the instructions lists that we need to use the following snippet.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!-- Start of HubSpot Embed Code --&amp;gt;
  &amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/xxxxxxxx.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;!-- End of HubSpot Embed Code --&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please let us know how we should proceed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:26:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/231275#M10171</guid>
      <dc:creator>ss_integration</dc:creator>
      <dc:date>2017-02-06T20:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot tracking code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/231276#M10172</link>
      <description>&lt;P&gt;&lt;A class="mention" href="https://community.hubspot.com/u/ss_integration"&gt;@ss_integration&lt;/A&gt; You should grab whatever is currently in your report settings.  Both should work but we have released a newer version of it that involves less code on the client.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;A class="lightbox" href="https://community.hubspot.com/legacyfs/online/uploads/default/original/1X/ffe8008d42f9b6c6c324c3ac01392077e3f71d3d.png" data-download-href="/legacyfs/online/uploads/default/ffe8008d42f9b6c6c324c3ac01392077e3f71d3d" title="image.png"&gt;&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/optimized/1X/ffe8008d42f9b6c6c324c3ac01392077e3f71d3d_1_690x375.png" width="690" height="375" /&gt;&lt;DIV class="meta"&gt;
&lt;SPAN class="filename"&gt;image.png&lt;/SPAN&gt;&lt;SPAN class="informations"&gt;1007x548 39.2 KB&lt;/SPAN&gt;&lt;SPAN class="expand"&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:32:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/231276#M10172</guid>
      <dc:creator>3PETE</dc:creator>
      <dc:date>2017-02-06T20:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot tracking code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/231277#M10173</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/pmanca"&gt;@pmanca&lt;/A&gt; - that tracking script you provided is potentially insecure. The Hubspot script is available over HTTPS so should always be served over HTTPS. If the tracking script was used as it is on a HTTP site it would not be encrypted. Can you see if you can get that updated? Basically -don't use a protocolless link - start with HTTPS://&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 12:24:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/231277#M10173</guid>
      <dc:creator />
      <dc:date>2018-04-13T12:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot tracking code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/321356#M30929</link>
      <description>&lt;P&gt;I need help with the traking code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Start of HubSpot Embed Code --&amp;gt;&lt;BR /&gt;&amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/7082335.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;!-- End of HubSpot Embed Code --&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 17:08:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/321356#M30929</guid>
      <dc:creator>RyanGamerTV</dc:creator>
      <dc:date>2020-02-24T17:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot tracking code</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/989109#M74183</link>
      <description>&lt;P&gt;&amp;lt;!-- Start of HubSpot Embed Code --&amp;gt;&lt;BR /&gt;&amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js-na1.hs-scripts.com/46411655.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;!-- End of HubSpot Embed Code --&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 02:07:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Hubspot-tracking-code/m-p/989109#M74183</guid>
      <dc:creator>cortiz32</dc:creator>
      <dc:date>2024-06-08T02:07:46Z</dc:date>
    </item>
  </channel>
</rss>

