searchdiscovery / Apollo-Documentation-InterExchange

An Apollo generated Event Driven Data Layer
1 stars 1 forks source link

Sending Through UTM Attributes #9

Open davisbradleyj opened 1 year ago

davisbradleyj commented 1 year ago

The Google documentation for GA4 points to these fields being best supported through the url - you do not necessarily need to pass this information through the data layer:

https://support.google.com/analytics/answer/10917952?hl=en#cc-set-up&zippy=%2Cin-this-article

If you wanted the Page Load Started event to pass this information, we could account for it. We would need to know exactly which utm_* fields that you would intend to pass, with the understanding that fields could be blank if there are no UTMs available for collection.

dirkkelly commented 1 year ago

HI @davisbradleyj thanks for moving to issues, a great way of managing this.

I think we should send it through on the dataLayer to avoid rewriting page links to include the utm codes.

The attributes are:

davisbradleyj commented 1 year ago

Hi @dirkkelly

We can make this work - I will have these added today.

dirkkelly commented 1 year ago

Thanks