Skip to main content

Hi there!
I'm implementing Amplitude through GTM. I've disabled the autocapture of pageviews from the init tag as I would like to have control over exactly which parameters I’m sending to Amplitude. However, in the init tag, I see a checkbox for 'Track marketing attribution'.

1/ If I create a pageview as a custom event and leave 'Track marketing attribution' checked, is there anything that should be included in the custom pageview event regarding UTMs or similar parameters?

2/ What is the consequence of unchecking 'Track marketing attribution'? I assume it means it won't track any UTMs or assign the source of traffic based on URL parameters like fbclid, etc. If I want to set this up manually, how should it be done?

Thank you!

Hi @Przemyslaw Majos. We have a similar set up whereby we don’t use DET (Default Event Tracking),  instead sending in our own custom page view events.

For #1, we do exactly what you mention, leaving Track Marketing Attribution checked in the config for the “init” tag (with auto page view capture unchecked). It works fine for us, nothing extra needed to be done (aside to setting any specifics you may need for the marketing tracking config).

For #2, unchecking the box does indeed mean it won’t capture UTMs out other popular campaign parameters (gclid, fbclid, etc). We used to manually ingest UTM parameters before DET was created and launched, doing so by assigning them as user properties in “identify” calls. But there were some limitations, one that jumps to mind is that the additional config options that now exist (such as forcing a new session to start on identification of a new campaign parameter value) weren’t available.


Reply