Attribution Works Even With Advanced Tracking Protection Turned On

Hey guys, slightly different issue here. I have a situation where attribution is working perfectly but I don’t understand how it can be.

Important context:

This is all taking place in our sandbox environment which is as stripped down as can be. The only thing here are three template pages, 2 forms, and one CTA.

I was testing in Safari with Advanced Tracking Protection set to on for all browsing which completely blocks the Hubspot cookie.

I went to our sandbox homepage directly via this link:

https://[Our Address]/test-home-page?utm_source=google&utm_medium=cpc&utm_campaign=form_submission_test&utm_term=test_0039

On our sandbox homepage is a free trial button that pops up a CTA which links to a form where the user enters their email and a contact is created.

I was expecting that the resulting contact wouldn’t have the Original Traffic Source data set because there was no cookie, but it did in fact work.

Original Traffic Source: Paid search
Drill Down 1: form_submission_test
Drill down 2: test_0039

How was this information pulled from the URL without the Hubspot Cookie being triggered?

Hey @MJohnson59,

Thanks for posting in the Community!

A helpful resource to explain this behavior can be found here:

Understand Original and Latest traffic source properties

Additionally, I’d like to tag in a few champions to see if they have any specific use-case context. @karstenkoehler, @danmoyle, and @MichaelMa - anything you can add here?

Shane, Senior Community Moderator

Hey @MJohnson59 . I think Sandbox accounts aren’t automatically isolated from your live website’s traffic unless the sandbox is using truly separate tracking and data paths. As I understand it, and what I found in research, HubSpot’s traffic-source logic is driven by the page URL and tracking code behavior, not only by whether you later import CRM records into the sandbox. So if your sandbox page is served on a domain or subdomain where the HubSpot tracking code is active, it would make sense that HubSpot can still process that visit as a real tracked session for that environment. Hope that helps?

Hey Dan thanks for the response.

Just to clarify: the hubspot tracking code in this instance is blocked completely by the browser. The only cookies that exist are __cf_bm and _cfuvid which are essential and unblockable.

If I navigate away from the page that has the UTM parameters in the URL then the attribution doesnt work, which makes sense because there is nothing to maintain a record of that attribution. But if I do not navigate away, the attribution from the URL is properly captured when I submit a form entry.

I’m very curious how that can be the case. I love it, but it doesn’t make sense.

Hey @MJohnson59,

Thanks for following up here!

Re-tagging @danmoyle for visibility.

Shane, Senior Community Moderator

@MJohnson59 If I may offer some insights, the utm information in the url is a query parameter. You’re correct that usually the utm dats is stored in the cookie and then pulled in during form submission to “read” utm info from earlier visits or same-session ones.

When it’s on the same page though, the HubSpot form uses JavaScript to pull the information directly from the url query and inputs that alongside the form submission. So it doesn’t need to pull from a cookie (eg. if a page lacks HS tracking analytics completely).

It’s the same mechanism that feeds the form with data if you add hidden utm fields yourself (with internal name matching utm_campaign etc) which will populate into these fields from the query parameter. HubSpot forms JavaScript will “look” for utm data in the url query parameter and populate the fields (if they exist on the form).

This is why, if you navigate to a page with utm query parameters and cookies blocked, navigate away to another page and return (utm having then been lost from the url) the submission does not contain any attribution info.

Great question @MJohnson59. I’m going to dive in with some AI research here, so I hope this makes sense and is right. When things get super technical, I often rely on colleagues or tools to help. But here’s what I think could be happening. It looks like this could possibly be a form-level capture of the URL parameters, not persistent cookie-based attribution. “HubSpot’s traffic source properties are set from the contact’s interactions, and the form submit can use the current page URL and associated fields at the moment of conversion.”

If I’m understanding your scenario, when you stay on the landing page, the form submission still has access to the exact URL that contains the UTMs, so HubSpot can read those values when the contact is created (makes sense so far). HubSpot’s docs also note that tracking URLs and traffic-source properties are based on campaign parameters and the first known interaction.

I think that explains your test: the URL itself is acting as the source of truth until you leave the page. Once you navigate away, that URL context is gone, so the attribution no longer has a live place to be read from.

Now, when I use AI to distill more of HubSpot’s KB resources, here’s what I found: “Blocking HubSpot’s tracking cookie mainly prevents HubSpot from persisting identity across pages and sessions. But it does not necessarily prevent the form submission from carrying the current-page URL into the contact record at the instant of submission.”

So in your sandbox, the browser is not “remembering” attribution across navigation; it’s simply allowing the current page’s UTM values to be captured at submit time.

That’s why I don’t think the sandbox is why this is working. I think it’s that the data you care about is still present in the live page URL when the form is submitted, and HubSpot can assign original source from that interaction. In other words, this is closer to “capture-at-submit” than “store-and-recall-from-cookie.”

So I’m thinking this is how it all works together:

  • Cookie path: remembers the visitor across pageviews.
  • URL path: supplies the campaign/source data on the current page.
  • Form submit: is the moment HubSpot can commit that source to the contact record.

That’s why the test succeeds when you submit on the same page, but fails after you leave it.

With all of this, I think the most likely reason this is happening, is that the form or page integration is reading the UTM parameters from the current URL and passing them into HubSpot at submit time, even though the tracking cookie is blocked. HubSpot’s documentation on traffic sources and tracking URLs supports that this sort of source capture is tied to the landing URL and the contact’s first known interaction.

Hopefully that helps?

Good question — this is expected behavior in HubSpot.

Cookies are mainly used for identifying returning visitors and stitching sessions across multiple interactions. Attribution, however, is built from multiple signals, including cookies, referrer data, and importantly UTM parameters.

In your case, the UTM parameters were present directly in the page URL when the form was submitted. HubSpot captures those parameters at the point of conversion, so even with cookies blocked, it can still assign Original Traffic Source based on that explicit URL data.

So nothing is bypassing tracking protection here, the attribution is coming directly from the UTMs, not from the cookie.