Skip to content

Clarify behavior of substitutions with amp-analytics #1302

Closed
@rudygalfi

Description

It appears that several substitutions are default-defined to be used in the amp-analytics variable syntax.

For instance, this ping to send a page view ID can be constructed in two ways: ?pvid=PAGE_VIEW_ID or ?pvid=${pageViewId} since the variable pageViewId inherits the value of PAGE_VIEW_ID by default.

The documentation should clarify how variables can be introduced and used in amp-analytics and talk about any default values inherited from the more general substitution scheme.

cc @avimehta

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions