Datalayer Helper class
- NodeJS (version >= 10).
yarn add next-io-datalayer
import { DispatchDataLayer } from "next-io-datalayer";
new DispatchDataLayer(
"generic-event-trigger",
"default action",
"default category",
"default label"
);
import { dispatchDataLayer } from "next-io-datalayer";
dispatchDataLayer(
"generic-event-trigger",
"default action",
"default category",
"default label"
);
Copylefted (c) 2020 Henrique Carvalho da Cruz Licensed under the MIT license.