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-subscriptions: Add logging to analytics events #19173

Merged
merged 2 commits into from Nov 8, 2018

Conversation

jpettitt
Copy link
Contributor

@jpettitt jpettitt commented Nov 7, 2018

Adds a user().info() log message to all amp-subscriptions analytics events. The resulting console messages are visible when the #log=3 flag is appended to the amp url.

Example:

[Subscriptions] subscriptions-action-delegated {action: "subscribe", serviceId: "subscribe.google.com"}

@jpettitt jpettitt merged commit 4bef1f1 into ampproject:master Nov 8, 2018
@jpettitt jpettitt deleted the 2018-11-06-swg-logging branch November 8, 2018 16:56
Enriqe pushed a commit to Enriqe/amphtml that referenced this pull request Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants