You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, nice work on react-gtm-module, I'm trying to setup this library on my ecommerce, but I couldn't push my datalayer to tag manager, is there a guide or something else?
Environments:
Node: 12.19.0
React: 17.0.2
React GTM Module: 2.0.11
The text was updated successfully, but these errors were encountered:
Trigger the dataLayer while performing a specific action (we assume TagManager has already been initialized):
import TagManager from 'react-gtm-module';
const tagManagerArgs = {
dataLayer: {
event: 'eventName', // event to be picked up by GTM
customValue1: '', // anything you want here
}
}
TagManager.dataLayer(tagManagerArgs);
Hi, nice work on react-gtm-module, I'm trying to setup this library on my ecommerce, but I couldn't push my datalayer to tag manager, is there a guide or something else?
Environments:
Node: 12.19.0
React: 17.0.2
React GTM Module: 2.0.11
The text was updated successfully, but these errors were encountered: