Install

Requirements

How It Works

This solution uses the amp-analytics element to implement user activity tracking with Tealium Collect. This JSON configuration object sets up basic page view tracking and a simple example of click tracking. You may adjust these as necessary.

The “triggers” section defines the types of events to track. The “defaultPageview” section will trigger on page views and the “links” section will trigger on clicks of page elements coded with the “tealium” class. Adjust this as necessary for your AMP site.

Data parameters with a name prefix of dom. passed in the query string of the collection endpoint will not be accessible as event attributes in EventStream.