snowplow-incubator / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
1 stars 0 forks source link

Add further data to standard contexts #2

Open colmsnowplow opened 4 years ago

colmsnowplow commented 4 years ago

Feedback from @jethron re: the web_page context:

Any scope for more properties here? Particularly VIEWER, and one or both of SOURCE_URL and CANONICAL_URL would be useful, especially for publishers who would be keen to aggregate metrics by article/URL which will now be different given it reflects ampdocUrl. Or is this just left open for people to send through in a custom context?

For v2 we opted to leave that to the user as a a standard context. Consider adding further standard contexts/further data to standard context, and making them configurable.