dataLayer
The dataLayer is a JavaScript array on the page (window.dataLayer) that a website uses to hand structured information to a tag manager. Your site pushes objects into it — an event name plus its parameters, such as a purchase with its order value and item list — and Google Tag Manager reads those objects to fire tags and populate variables.
dataLayer, in full →