Solved

How to set options using GTM Template?

  • 28 November 2023
  • 1 reply
  • 91 views

I set up Amplitude using Google Tag Manager.
I know I can track UTM if I using WEB Attribution option.
I don’t know how to set ‘includeUtm’ True in Google Tag Manager

is there only way to set up using code? if yes, please let me know reference code to turn on ‘IncludeUtm’


 

icon

Best answer by dangrainger 28 November 2023, 10:35

View original

1 reply

Userlevel 5
Badge +9

Hi @milleryoon - are you using the Amplitude template in GTM? If not, I’d advise this, it can be found in the template gallery and utilises Amplitude’s Browser SDK 2.0 (https://www.docs.developers.amplitude.com/data/sdks/browser-2/).

You’ll need to fire an “init” tag first (initialising Amplitude with your required settings) ahead of any “track” tags (which capture your events). You can also set user properties through “identify” tags.

In the init tag you’ll see the following by default…

For out-of-the-box capture of UTMs (and other marketing parameters such as fbclids, etc) you’ll need to leave “track marketing attribution” turned on. All the other settings are obviously up to you, you might not need all of them but that’ll be completely dependent on your business needs. The link above has all the info.

Hope that helps!

Reply