- Page code (meaning directly from your the site source code)
- Shared code
Testing transaction tracking
To For instructions on how to test that transactions are correctly tracked with the data layer:
Select Advanced > Events.
Go to a page where transactions are tracked. If transaction events are successfully triggered with the data layer, Frosmo Preview shows the following messages for each event:
conversion(contains the transaction data parsed from the transaction object)
product.purchase(contains the ID and price for a single purchased product item)
dataLayer(contains the object passed to the data layer)
trigger.event(contains information about the triggered event, including the object passed to the data layer)
Transaction events log a dedicated
To verify that the correct transaction data was sent, check the
If you want more details on a data layer call, select the Advanced > Requests view in Frosmo Preview, and check the
transaction request to the Optimizer API.
on a site, see Testing data tracking.