# Tracking Code for website, hosted externally, without the dialogue pop-up

**URL:** <https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132>\
**Category:** GDPR\
**Tags:** professional\
**Created:** [December 14, 2020, 1:35pm UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132 "2020-12-14T13:35:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBush](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sbush/32/2490_2.png) [@SBush](https://community.hubspot.com/u/SBush)\
**Post date:** [December 14, 2020, 1:35pm UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132/1 "2020-12-14T13:35:15Z")

</div>

Hello -

We’re a SaaS company and host our website internally as well as have an internally developed cookie dialogue pop-up and consent tracking. Our Hubspot tracking code includes a dialogue pop-up and we’re looking for the script without the dialogue pop-up. Is this possible?

Thanks,

Stephanie

---

<div class="post-metadata">

**Author:** ![JessicaH](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jessicah/32/14826_2.png) [@JessicaH](https://community.hubspot.com/u/JessicaH)\
**Post date:** [December 15, 2020, 8:16am UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132/2 "2020-12-15T08:16:36Z")

</div>

Hi @SBush,

Thanks for reaching out.  
I want to tag in some subject matter experts to see if they have any suggestions.  
Hi @AdamLPW [@Kim\_HM](https://community.hubspot.com/t5/user/viewprofilepage/user-id/103295) @piersg, do you have any thoughts on this?  
Thanks!  
Jess

---

<div class="post-metadata">

**Author:** ![piersg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/piersg/32/99782_2.png) [@piersg](https://community.hubspot.com/u/piersg)\
**Post date:** [December 15, 2020, 9:46am UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132/3 "2020-12-15T09:46:37Z")

</div>

Hi @SBush, you can unpublish/disable a cookie policy banner in Settings \> Cookies.

---

<div class="post-metadata">

**Author:** ![SBush](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sbush/32/2490_2.png) [@SBush](https://community.hubspot.com/u/SBush)\
**Post date:** [December 15, 2020, 1:31pm UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132/4 "2020-12-15T13:31:16Z")

</div>

Hi @piersg - thanks for your reply. I unpublished the cookie policy banner settings. This seemed to work for our corporate website. I just need to make sure that the landing pages we build in Hubspot will still have the cookie consent dialgue pop-up and I think I can do this in the same settings section. Still, if you have any additional tips, please send 'em my way!

---

<div class="post-metadata">

**Author:** ![piersg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/piersg/32/99782_2.png) [@piersg](https://community.hubspot.com/u/piersg)\
**Post date:** [December 15, 2020, 2:15pm UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132/5 "2020-12-15T14:15:30Z")

</div>

If your landing pages are on a specific directory e.g. [mywebsite.com](http://mywebsite.com/campaigns/)[slug] you can set “/campaigns” as the subdirectory that the banner appears on

 ![35376i402E8C38A54F20C4.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/4/24899c791bd78dee7c1f9449f8e2ff07e542f233.png)

---

<div class="post-metadata">

**Author:** ![SBush](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sbush/32/2490_2.png) [@SBush](https://community.hubspot.com/u/SBush)\
**Post date:** [December 16, 2020, 7:36am UTC](https://community.hubspot.com/t/tracking-code-for-website-hosted-externally-without-the-dialogue-pop-up/29132/6 "2020-12-16T07:36:58Z")

</div>

Thank you! This is what I wasn’t sure how to manage. GDPR compliant across the board 🙂
