-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMP Google Analytics and AMP Ids do not match #34300
Comments
A URL exhibiting this behavior would be very helpful. |
We are sending client_id both to Google Analytics and DFP. The same ID should be sent to both, but it appears that frequently the IDs don't match. Unfortunately, we can't reproduce this consistently. For GA, the value is sent as CD43. For DFP it's the fvid key/value in the scp parameter. We noticed that we are using "CLIENT_ID(_ga)" for DFP and "${clientId}" for GA. We tried changing GA to use "CLIENT_ID(_ga)" too, and both to use "CLIENT_ID(AMP_ECID_GOOGLE)", but were still able to reproduce the issue in our testing environment even after that change. Below are some screenshots showing the values being sent. This is the internal testing page where those screenshots came from (where we've been able to consistently reproduce the issue). Prod version of the same page. |
Hi, I'm not able to load this link. Is it still up? |
Hi Ken, |
Yeah, I'm not able to repro with the prod link. Does the page have to be served from the cache for it to occur? |
I think it's interesting that |
The dev90 link is internal only. I figured out a way to reproduce the issue consistently on prod.
The IDs I get doing that consistently look like something like this, with only GA/cd43 starting with "amp-". |
I did some more digging, it looks like Then within your I feel like this maybe the issue? @jeffkaufman @calebcordry For pubs with the setup (amp-analytics using a GTM config and doubleclick ads), is there guidance for what scope the CLIENT_ID within the RTC callout should be? Should they both be |
Closing now. |
Did anything happen with this issue? We were still hoping the mismatched IDs could be fixed. |
What's the issue?
Forbes reported that sometimes GA client_Id expands to a different value when it gets sent to GA vs DFP.
This is related to FR #25190, which landed in prod earlier this year.
How do we reproduce the issue?
@kbarneyforbes could you provide some details around it?
cc // @micajuine-ho
The text was updated successfully, but these errors were encountered: