# Hubspot Tracking Code

**URL:** <https://community.hubspot.com/t/hubspot-tracking-code/16642>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [October 8, 2019, 11:46pm UTC](https://community.hubspot.com/t/hubspot-tracking-code/16642 "2019-10-08T23:46:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sambarich](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sambarich/32/44741_2.png) [@sambarich](https://community.hubspot.com/u/sambarich)\
**Post date:** [January 3, 2020, 8:27pm UTC](https://community.hubspot.com/t/hubspot-tracking-code/16642/4 "2020-01-03T20:27:59Z")

</div>

Hey Folks!

This is actually a VERY important issue - it’s _highly advisable_ HubSpot take action, even if by providing additional documentation.

**TL;DR - So what does this mean to me as a HubSpot customer?**

My websites using HubSpot tracking may fail to collect site visitor information due to a new third-party cookie standard.

**Who’s affected?**

Any HubSpot clients using HubSpot Tracking Beacons to collect website visitor data who have site visitors using Chrome Browser version 80+ after February 2020.

**The issue is “SameSite” - a new web standard impacting all third-party cookies, including HubSpot’s**

The majority browser, Chrome, will start issuing security errors for all third-party cookies (including those set by HubSpot on prospects browsers) unless they properly implement the “SameSite” cookie parameter once Chrome v80 comes out (February 2020).

- [Chromium Blog: Developers: Get Ready for New SameSite=None; Secure Cookie Settings](https://blog.chromium.org/2019/10/developers-get-ready-for-new.html)
- [SameSite Updates](https://www.chromium.org/updates/same-site)
- [Chrome Platform Status](https://www.chromestatus.com/feature/5633521622188032)

Google themselves have committed to updating their third-party tracking cookies (like Google Analytics and Google Tag Manager) to meet the new SameSite specification.

Basically, HubSpot developers will need to apply the “ **SameSite=None; Secure** ” setting to all cookies set by HubSpot ([instructions on GoogleChromeLabs GitHub account here](https://github.com/GoogleChromeLabs/samesite-examples)) AND ensure cookies are only delivered over SSL-encrypted traffic. Failure to adhere to the standard could risk HubSpot customers having their HubSpot tracking cookies dismissed as insecure by Chrome browser.

**Background on the “SameSite” issue for other HubSpot users**

This Chrome browser warning occurs for in versions of Chrome 76+ for sites using third-party tracking cookies (such as using HubSpot, Google Analytics, or Google Tag Manager) that aren’t using the new “SameSite” cookie security measure promoted by Google and Mozilla since 2016.

The Internet Engineering Task Force (IETF - governing body of internet standards) added a new standard for browser cookies called “SameSite” (see the spec here: [draft-ietf-httpbis-cookie-same-site-00](https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00)). It adds an additional parameter to cookie-setting requests that broadly determines which sites can access the cookie. It was implemented to improve web security of third-party cookies and help prevent Cross-Site Request Forgery (CSRF).

Currently Google Chrome browser issues a warning regarding cookies not meeting this new standard. However, in February 2020, Chrome will treat these as errors, escalating the importance of the standard.

Learn more about SameSite cookies here:

1. [SameSite cookies explained &nbsp;|&nbsp; Articles &nbsp;|&nbsp; web.dev](https://web.dev/samesite-cookies-explained/)
2. [https://nakedsecurity.sophos.com/2019/05/10/chrome-browser-pushes-samesite-cookie-security-overhaul/](https://nakedsecurity.sophos.com/2019/05/10/chrome-browser-pushes-samesite-cookie-security-overhaul/)

---

_[View the full topic](https://community.hubspot.com/t/hubspot-tracking-code/16642)._
