<?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 Ad Tracking in header HTML vs. in ad settings in Ads</title>
    <link>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/323430#M667</link>
    <description>&lt;P&gt;Is there any difference between adding an ad tracking snippet to your HubSpot site header HTML file vs. adding it via Settings&amp;gt;Ads&amp;gt;Pixels?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a client that hard coded their tracking snippets into their header HTML file (they're using HubSpot for their website). Wondering if it's worth moving it to the Settings&amp;gt;Ads&amp;gt;Pixels section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Using Google tag manager, Facebook, LinkedIn).&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 17:45:08 GMT</pubDate>
    <dc:creator>akismail</dc:creator>
    <dc:date>2020-03-03T17:45:08Z</dc:date>
    <item>
      <title>Ad Tracking in header HTML vs. in ad settings</title>
      <link>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/323430#M667</link>
      <description>&lt;P&gt;Is there any difference between adding an ad tracking snippet to your HubSpot site header HTML file vs. adding it via Settings&amp;gt;Ads&amp;gt;Pixels?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a client that hard coded their tracking snippets into their header HTML file (they're using HubSpot for their website). Wondering if it's worth moving it to the Settings&amp;gt;Ads&amp;gt;Pixels section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Using Google tag manager, Facebook, LinkedIn).&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 17:45:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/323430#M667</guid>
      <dc:creator>akismail</dc:creator>
      <dc:date>2020-03-03T17:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Tracking in header HTML vs. in ad settings</title>
      <link>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/324583#M671</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/122733"&gt;@akismail&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like you would like to understand if there are any differences if you use HubSpot to add a tracking pixel to a site or if it's coded into the HTML for the site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only real difference would be with Google Analytics. You should use the HTML option if they have customized the script at all. Also, when you add your Google Analytics tracking code to the header HTML instead of&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://knowledge.hubspot.com/cos-general/add-your-google-analytics-code-to-your-hubspot-pages-or-blog#integrate-google-analytics-with-all-pages-on-all-domains-or-a-specific-domain" target="_blank" rel="nofollow noopener"&gt;integrating Google Analytics with HubSpot&lt;/A&gt;&lt;/STRONG&gt;, the Google Analytics script cannot be controlled by the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://knowledge.hubspot.com/reports/customize-your-cookie-tracking-settings-and-privacy-policy-alert#set-up-your-cookie-policy" target="_blank" rel="nofollow noopener"&gt;HubSpot cookie policy banner&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and by default, will record data on visitors regardless of whether a visitor opts in or out, unless you&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://developers.google.com/analytics/devguides/collection/analyticsjs/user-opt-out?__hstc=20629287.e7584f101789b0d05bfd8497b5057c67.1581694546826.1583526009624.1583530361924.87&amp;amp;__hssc=20629287.19.1583530361924&amp;amp;__hsfp=1863347706" target="_blank" rel="nofollow noopener"&gt;customize your Google Analytics script&lt;/A&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Typically, if you're using the HubSpot ads tool to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://knowledge.hubspot.com/ads/install-pixels-from-external-ad-networks" target="_blank" rel="nofollow noopener"&gt;add a pixel&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to pages with the HubSpot tracking code, your privacy policy banner will automatically display when the pixel fires on your pages. If you require visitors to opt into cookie tracking, the pixel will&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;not&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;be able to place any cookies until the visitor confirms their consent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More on this can be found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://knowledge.hubspot.com/cos-general/add-your-google-analytics-code-to-your-hubspot-pages-or-blog" target="_blank" rel="nofollow noopener"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to reach out if you have additional questions!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 20:41:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/324583#M671</guid>
      <dc:creator>ajchapman20</dc:creator>
      <dc:date>2020-03-08T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ad Tracking in header HTML vs. in ad settings</title>
      <link>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/324629#M672</link>
      <description>&lt;P&gt;If your client has a hardcoded site, it's probably best to add ONE tracking code in the form of a GTM tag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That way anytime there a new tracking to add/ remove, all you have to do is make this change in Google Tag Manager. So no need to get the client/ dev team to edit header tags every time there's a change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See Aakar's reply on this forum post:&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/Ads/Header-or-integration-for-Google-Ads-Analytics-Hotjar-tracking/m-p/318333" target="_blank"&gt;https://community.hubspot.com/t5/Ads/Header-or-integration-for-Google-Ads-Analytics-Hotjar-tracking/m-p/318333&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 08:53:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Ads/Ad-Tracking-in-header-HTML-vs-in-ad-settings/m-p/324629#M672</guid>
      <dc:creator>NSScott</dc:creator>
      <dc:date>2020-03-09T08:53:19Z</dc:date>
    </item>
  </channel>
</rss>

