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 built-in vendor configuration for ShinyStat analytics #11483
Conversation
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.
lgtm with one small comment.
@@ -1594,6 +1594,40 @@ export const ANALYTICS_CONFIG = /** @type {!JsonObject} */ ({ | |||
}, | |||
}, | |||
|
|||
'shinystat': { |
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.
Would you mind moving this up so that the configs are alphabetical? I know the two or three above are not sorted but we'll fix those separately.
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.
I moved it between "segment" and "snowplow". (rebased)
Also, once the changes go live (7-14 days), you can send out a second PR to update the docs in this file: https://github.com/ampproject/docs/blob/master/content/docs/guides/analytics_amp/analytics-vendors.md |
@@ -234,6 +234,16 @@ | |||
"actionParameter": "&ck1=$actionParameter1&ck2=$actionParameter2&ck3=$actionParameter3&ck4=$actionParameter4&ck5=$actionParameter5", | |||
"event": "https://$trackDomain/$trackId/wt?p=432,$contentId,1,_screen_width_x_screen_height_,_screen_color_depth_,1,_timestamp_,_document_referrer_,_viewport_width_x_viewport_height_,0&tz=_timezone_&eid=_client_id_&la=_browser_language_&ct=$actionName&ck1=$actionParameter1&ck2=$actionParameter2&ck3=$actionParameter3&ck4=$actionParameter4&ck5=$actionParameter5&pu=_source_url_" | |||
}, | |||
"shinystat": { |
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.
apologies for not point it earlier. Same goes here as well (alphabetical).
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.
No problems. Fixed.
This is our second attempt to add vendor configuration for ShinyStat analytics. The first one stalled due to the use of the temporary "iframePing" flag which is not required anymore.
This new pull request is a single patch. At the time of writing it applies cleanly to the upstream repository.
For reference, previous discussions are #2556 and #2557.