GTM Datalayer

Created by NIKET AGARWAL, Modified on Fri, 17 Feb, 2023 at 4:26 PM by NIKET AGARWAL

The data layer is an object used by the Google Tag Manager and gtag.js to pass information to tags. Events or variables can be passed via the data layer, and triggers can be set up based on the values of variables.

For Tag Manager web installations, we must create a data layer. Tag manager processes messages on a first-in, first-out basis. Each message is processed one at a time, in the order it was received.

The Google Tag and Tag Manager use a special data layer variable called event that is used by JavaScript event listeners to fire tags when a user interacts with website elements.

1) Navigate to Extensions > Analytics > GTM Datalayer and click on the edit icon.





2) After clicking on the edit icon, enter the relevant details for the GTM Datalayer configuration:

The default store is selected for which the data layer configuration has to be done.

Status: Keep it enabled

Below the status are the Pixel events mentioned. Click on the save icon to save the changes.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article