Data Layer

The base parameters that ride along on every event — store and vehicle details, the page context, and the measurement IDs that decide where events are sent.

The asc_datalayer mirrors the functionality of the gtag datalyer (window.datalyer) but with additional asc parameters and values. Only web providers will need to generate an asc_datalyer.

It will render on page load and will be updated on every website event interaction. The vendor can use this information to gather the user’s recent events and path.

If necessary, multiple values will be separated by a pipe character ( | ), and empty values will populate an empty string.

This is not the delineator of the array, but rather multiple values sent as a single value object.

This asc_datalayer will be Vendor's main source of website generated data. The vendor will no longer need to scrape the page to obtain vehicle or item details.

Most importantly, the vendor will find an array of Measurement IDs which will be used to determine where to send GA4 events.

To be ASC Certified, Vendors must deliver events to all measurement ID's listed in this array.

Vendors: Access existing asc_datalayers via a Browser -> Inspect Page -> Console -> Type "window.asc_datalayer" -> Press Enter -> Expand if needed

ParameterTypeAllowed values