-
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
Add remote config loading support to amp-analytics. #1174
Add remote config loading support to amp-analytics. #1174
Conversation
@@ -75,6 +75,8 @@ | |||
</script> | |||
</amp-analytics> | |||
|
|||
<amp-analytics id="analytics3" config="analytics.config.json"></amp-analytics> |
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.
Make the URL ./analytics.config.json
to make it more obvious what is happening here.
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.
Done.
LGTM |
db991e8
to
65656c9
Compare
Feedback addressed and commits squashed. |
f6a2653
to
3d9d6b0
Compare
3d9d6b0
to
91a9b05
Compare
Update to resolve conflicts with base branch. |
Add remote config loading support to amp-analytics.
Merged. Thanks! |
Adds support for loading remote config from a URL specified in an
amp-analytics
tag'sconfig
attribute.