APIs & Integrations

Sebdec
Participant

Scrubbing tracking url

For single page application,  we want to track the navigation of user before submitting a sign up form which creates the contact.

 

We set the tracking url for page views: https://knowledge.hubspot.com/reports/set-up-sources-tracking#:~:text=to%20the%20subdomain%3A-,In%20....

 

We would like to have a url scrubbing for some specific pages in the tracking to hide the url in the contact page when it is created. For example URLs with tokens.

 

We have tried to temporarily disable the tracking cookie for these pages: https://developers.hubspot.com/docs/api/events/cookie-banner (with doNotTrack).

but we have unpredictable consequences: like losing previous browsing pages in tracking when we create the contact.

 

Is there a clear way to configure scubbing for certain URLs? or not to track pageviews by default.

 

Thanks for your help

 

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Scrubbing tracking url

Hi, @Sebdec 👋 Thanks for reaching out! Let's invite some community members to the conversation. Hey, @miljkovicmisa @MatthiasWeber @prosa, do you have any insights you can share? Or thoughts on how you might tackle a similar project?

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot