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-analytics] Pass the canonical url on every Parse.ly Analytics pageview request #19425
🐛 [amp-analytics] Pass the canonical url on every Parse.ly Analytics pageview request #19425
Conversation
@cwisecarver Please also update the test file. Thanks |
Sorry @zhouyx . I'm a little out of practice. I ran |
Any update on this @zhouyx ? It's a pretty small configuration change and we have customers waiting on it. |
@cwisecarver Sorry about the delay. LGTM. One thing to mention is that the meta data object will be encoded to |
@zhouyx No worries about the delay. That does work. I'm expecting the JSON to be URL encoded. I just tested that exact snippet you posted and it parsed correctly on our side. Thanks! |
@cwisecarver Thank you for confirming! PR merged. |
@zhouyx I imagine this will end up in the release on January 9th not December 18th, correct? |
@cwisecarver The change will be in canary cut today. But since there will be no prod release next, the change will hit prod on January 2nd. |
…pageview request (ampproject#19425) * Include canonical URL in parsely pageview * Remove errant double-quote * Update test file to match current default pageview request
Passing the canonical url on pageview requests will allow us to properly associate self-hosted (non-CDN hosted) AMP traffic with the canonical URL of the content. We have had a customer manually add this change to their AMP configuration and verified that the traffic post-change was being correctly associated. I also tested this locally using
gulp default
and theanalytics-vendors.amp.html
page to confirm the HTTP request sent by the pageview event was correct.