: How to assign the first user referer (source / medium) to an event with GTM and GA? I'm trying to solve the following issue. I have "submit form" events in GA (google analytics) and the thing
I'm trying to solve the following issue.
I have "submit form" events in GA (google analytics) and the thing I need to do is to understand what was the first source and medium (from first session) of those events. The main goal is to know what campaigns or sources initiate "submit form" event that happens after a couple of monthes. I use Tag Manager + Universal analytics only so I hope to make implementation through them.
I see next solutions:
Create custom dimension and save first cookie referral. How to do it?
Somehow do it with user ID and Client ID
Somehow do it through ecommerce tracking
It's important that I can't modify html code so we are going to use GTM and GA only. Please assist. Pretty sure that I'm not alone who is struggling with such problem.
More posts by @Connie744
1 Comments
Sorted by latest first Latest Oldest Best
Try to use a library from sbjs.rocks. It can store source data in cookies and you can use GTM to add the library to your website.
In GTM using first-party cookie variable you can get source data from cookies and use it as a custom dimension or one of event fields.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.