-
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
Adds support for comScore #1608
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
@avimehta for the initial review |
there is a lint error: extensions/amp-analytics/0.1/vendors.js apart from that and the optional comment, LGTM. |
Also, if you guys would like, you can add an example of comscore analytics to examples/analytics.amp.html |
cc @jmadler |
When can this request be expected to be merged into AMP's codebase? |
When all review comments are addressed. Please upload a new version of the change that passes our travis tests and also squash commits. Thanks! |
There you go with the travis error. |
# The first commit's message is: Adding type='comscore' to <amp-analytics>. # The 2nd commit message will be skipped: # Adding comScore example pageview tracking
6c8be6d
to
6f57f25
Compare
Somehow the lint task is still failing, yet the error message doesn't seem to suggest there's any problem in our code. We'd appreciate some guidance if it needs to be solved before merging as we'd like to update our customers from the amp-pixel tag. |
Sorry, about that. We just confirmed elsewhere that the lint error is happening on master. If other comments are addressed we can merge. |
lgtm |
thank you. I'm trying to setup this in analytics, but getting |
It might. It is most likely the release issue. I'll fix the error and be more descriptive. |
I have a question , for example , if I have a photo gallery for each slide and generate a new URL and sent to comScore an generate a new pageview. But in amp how I can do that? any ideas? |
How is the photo gallery implemented in AMP? The Last thing I'd note regarding analytics integrations with vendors like comScore is that you should make sure the data being sent to the vendor complies with how the vendor expects it to be sent. |
Yes i use amp-carousel with the next format ` ... ` actually i use the trigger click over the selector div.amp-carousel-button but that generate the same url, i need to build a new url for example ${base}-1 for the first photo, ${base}-2 for the next, etcit's that possible? |
There is presently no way to update URL based on position in the amp-carousel. |
This PR adds support for comScore UDM pageview analytics.
Var c2 must be defined containing customer id. A brief note about this requirement has been added to
amp-analytics.md
documentation.