# 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:** 9

<div class="post-metadata">

**Author:** ![bctwalling](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bctwalling/32/69256_2.png) [@bctwalling](https://community.hubspot.com/u/bctwalling)\
**Post date:** [January 30, 2020, 4:32pm UTC](https://community.hubspot.com/t/hubspot-tracking-code/16642/9 "2020-01-30T16:32:58Z")

</div>

So while the LAX-ish state will work fine for HubSpot, it won’t work for customers or integrators who use that cookie along with your REST API to identify viewers. If you don’t allow the cookie to be read by them, then your REST API which can get a contact by user token ([https://developers.hubspot.com/docs/methods/contacts/get\_contact\_by\_utk](https://developers.hubspot.com/docs/methods/contacts/get_contact_by_utk)) will no longer work.

---

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