AMP tracking
Last updated
Last updated
For the following integration to work, you must add the amp-analytics module on the page environment.
Here is an example of the AMP tag:
Arguments
name
type
description
site_token
string
site_token is the token of the website (required).
event_name
string
event_name is the name of the event (optional, default to '$page_view').
any custom property
string
All custom properties should be added to the extraUrlParams object (prop1, prop2 in the example).