# Adding domain using tracking code problem

**URL:** <https://community.hubspot.com/t/adding-domain-using-tracking-code-problem/75260>\
**Category:** Reporting & Analytics\
**Tags:** starter\
**Created:** [February 15, 2023, 12:40pm UTC](https://community.hubspot.com/t/adding-domain-using-tracking-code-problem/75260 "2023-02-15T12:40:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PStopford](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@PStopford](https://community.hubspot.com/u/PStopford)\
**Post date:** [February 15, 2023, 12:40pm UTC](https://community.hubspot.com/t/adding-domain-using-tracking-code-problem/75260/1 "2023-02-15T12:40:46Z")

</div>

Hi,

I have added the hubspot tracking code and its working fine with the online chat, but Im trying to set up the cookies banner with the same code and although its on my site I cannot add my domain [papyrusgrpup.co.uk](http://papyrusgrpup.co.uk) to the cookies tab. (please see error in picture attached)

 ![Screenshot 2023-02-15 at 12.12.56.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/1/611c5246e24bb3ef43e640e47551b0bb27e1554a.png)

Any help would be much appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [February 16, 2023, 11:17am UTC](https://community.hubspot.com/t/adding-domain-using-tracking-code-problem/75260/2 "2023-02-16T11:17:17Z")

</div>

Hi @PStopford,

Thank you for reaching out to the Community!

I wanted to tag in a couple of subject matter experts to see if they have any input on this matter:

Hi @Sjardo, [@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74), @mtruss, do you have any advice for @PStopford? Thanks!

Cheers  
Mia, Community Team

---

<div class="post-metadata">

**Author:** ![tverdokhlib1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tverdokhlib1/32/58857_2.png) [@tverdokhlib1](https://community.hubspot.com/u/tverdokhlib1)\
**Post date:** [February 21, 2023, 1:42pm UTC](https://community.hubspot.com/t/adding-domain-using-tracking-code-problem/75260/3 "2023-02-21T13:42:08Z")

</div>

Hey, have you added a Primary Domain to HubSpot, is this Domain the same as where you’re trying to add a Cookie banner?

---

<div class="post-metadata">

**Author:** ![PStopford](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@PStopford](https://community.hubspot.com/u/PStopford)\
**Post date:** [February 21, 2023, 1:59pm UTC](https://community.hubspot.com/t/adding-domain-using-tracking-code-problem/75260/4 "2023-02-21T13:59:36Z")

</div>

Hi, yes I have added the tracking code to [papyrusgroup.co.uk](http://papyrusgroup.co.uk) and I am already using the online chat using it… and I have added it to the

Reports & Analytics Tracking (please see picture)

 ![Screenshot 2023-02-21 at 13.55.40.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/8094642df10d80ec5ba6e03fa7c60a13127a1016.png)
