Skip to content
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 Iframe Transport Configuration for Moat #16710

Merged
merged 11 commits into from
Aug 3, 2018

Conversation

joel-regus
Copy link
Contributor

This change adds the required configuration settings to allow Moat to measure AMPHTML ads.

@@ -2094,6 +2095,139 @@ export const ANALYTICS_CONFIG = /** @type {!JsonObject} */ ({
},
},

'moat': {
'requests': {
'load': '{' +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should be able to use JSON.stringfy here

@codecov-io
Copy link

codecov-io commented Aug 2, 2018

Codecov Report

Merging #16710 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #16710      +/-   ##
==========================================
- Coverage   77.78%   77.73%   -0.06%     
==========================================
  Files         562      564       +2     
  Lines       41199    41217      +18     
==========================================
- Hits        32048    32040       -8     
- Misses       9151     9177      +26
Flag Coverage Δ
#integration_tests 36.15% <ø> (+0.02%) ⬆️
#unit_tests 76.78% <ø> (-0.06%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85e69dc...d0f7243. Read the comment docs.

@lannka
Copy link
Contributor

lannka commented Aug 2, 2018

you probably missed my previous comment

could you do JSON.stringify() in vendors.js to have better readability?

@joel-regus
Copy link
Contributor Author

@lannka thank you for the suggestion, we have converted the string into a JSON object.

Copy link
Contributor

@lannka lannka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks for the work!

@lannka lannka merged commit b8abe21 into ampproject:master Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants