-
Notifications
You must be signed in to change notification settings - Fork 10
Description
The current audience request for GA4 audiences from this MC does not work and is not a valid request for GA4.
We were using this and seeing 0 data in Google Ads, and Google Ads support noticed we were not sending a request with v=2, which is sent for GA4 audience requests. v=1 is the legacy version associated with (now dead) Universal Analytics.
We see v=1 in this MC,
google-analytics-4/src/index.ts
Line 23 in a37816a
| v: '1', |
but the implementation and data structure looks like it was copied from the Universal Analytics MC logic.
If I run the Google Tag, I see a request like this with v2, and different fields:
https://analytics.google.com/g/collect with the following parameters:
- v=2
- tid=[Tag ID]
- gtm=
- _p=
- _gaz=
- gcs=G111 [consent v2]
- gcd
- npa
- dma
- tag_exp
- cid
- ul
- sr
- uaa
- uab
- uafvl
- uamb
- uam
- uap
- uapv
- uaw
- are
- pae
- frm
- pscdl
- _s
- sid
- sct
- seg
- dl
- en=page_view
- _ee
- tfd
There are multiple reports of issues with Zaraz GA4 and audiences in #zaraz Discord.
There's also a request made for https://td.doubleclick.net/td/ga/rul with many params, which isn't part of this MC. Not sure if that's for a different type of tracking though.