# Hubspot tracking code implementation

**URL:** <https://community.hubspot.com/t/hubspot-tracking-code-implementation/93420>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [November 7, 2023, 2:52am UTC](https://community.hubspot.com/t/hubspot-tracking-code-implementation/93420 "2023-11-07T02:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![H2Y](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@H2Y](https://community.hubspot.com/u/H2Y)\
**Post date:** [November 7, 2023, 2:52am UTC](https://community.hubspot.com/t/hubspot-tracking-code-implementation/93420/1 "2023-11-07T02:52:10Z")

</div>

Hi, Everyone  
I am having some issues in associating Hubspot user token and email. I have an external and I have embedded HubSpot tracking code in it. I have not used HubSpot forms because I need to use 4-5 accounts according to the country mentioned in the form. After submitting my form when I try to create a contact via API the source is not filled as expected. the user token is not able to associate with that email. Is there anything I am missing?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 8, 2023, 6:15pm UTC](https://community.hubspot.com/t/hubspot-tracking-code-implementation/93420/2 "2023-11-08T18:15:48Z")

</div>

Hi, @H2Y 👋 Thanks for your question. I have a few questions to help our community members better understand your issue:

- How are you capturing and passing the `hubspotutk` cookie value?
- Do you have [cross-domain tracking](https://knowledge.hubspot.com/reports/set-up-sources-tracking#track-multiple-domains-with-cross-domain-linking:~:text=from%20getting%20crawled.-,Track%20multiple%20domains%20with%20cross%2Ddomain%20linking,-Cross%2Ddomain%20linking) set up?

Thanks for the additional information. — Jaycee
