Question

Cross Domain Tracking with GTM and Flutter + UTM data

  • 22 April 2024
  • 0 replies
  • 21 views

  • New Member
  • 0 replies

Hi all, 

We have installed Amplitude on our Webflow website example.com via GTM. 
We have installed Amplitude on our Flutter web-app App.example.com via the Flutter SDK. 

The get UTM info, our dev team added the UTM tracking option to the Javascript script in the index.html file. They enabled the following options:

  • includeFbclid
  • includeGclid
  • includeReferrer
  • includeUtm

We can verify the UTM $identify event is now being fired.

 

One important reason for us to use Amplitude is the ability to track visitors & users across our website and web-app. 

Example scenario: a visitor visits Example.com and clicks the button "Start for Free". This brings them to the web-app App.example.com where they create an account and start using our app. 

At the moment, the website and web-app return very different IDs for the same person on the website vs. web-app. 

 

From documentation & other community posts, I learned that when we pass the device_id when people click from our website example.com to our web app app.example.com, Amplitude will be able to link the 2 together. Even though they can't log in to our website; next time they will visit our website carv.com they will be recognized as the same user_id based on the Amplitude device_id.

Question 1. Is that correct? 

We managed to get the default events in Amplitude via the GTM Amplitude template. They don't seem to include UTM info. I read this community post (https://community.amplitude.com/data-instrumentation-57/properties-in-gtm-vs-properties-in-amplitude-2250?tid=2250&fid=57) 

Question 2. Is it correct that we also need to add "identify" and "track" calls to get the UTM data in Amplitude?

Any help is greatly appreciated, thank you! 

Michiel 


0 replies

Be the first to reply!

Reply