Capture data from the data layer via Snapshots

You can capture any additional pieces of data within your data layer object by calling for the piece of data within the JavaScript snippet.

As an example, let’s say your data layer object (called data) is set up so that {id:"123", name:"foo"}. You would capture the objects within this data layer per the examples below.

Capture ID

Capture Name