-
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 Analytics Iframe Transport Configuration for Moat #16710
✨ AMP Analytics Iframe Transport Configuration for Moat #16710
Conversation
@@ -2094,6 +2095,139 @@ export const ANALYTICS_CONFIG = /** @type {!JsonObject} */ ({ | |||
}, | |||
}, | |||
|
|||
'moat': { | |||
'requests': { | |||
'load': '{' + |
There was a problem hiding this comment.
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 Report
@@ 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
Continue to review full report at Codecov.
|
you probably missed my previous comment could you do JSON.stringify() in vendors.js to have better readability? |
@lannka thank you for the suggestion, we have converted the string into a JSON object. |
There was a problem hiding this 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!
This change adds the required configuration settings to allow Moat to measure AMPHTML ads.