Integrate CommandersAct's tag container with your React applications seamlessly using the `react-tag-commander` wrapper.
npm install react-tag-commanderIntegrate CommandersAct's tag container with your React applications seamlessly using the react-tag-commander wrapper.
- Note: Familiarize yourself with CommandersAct's tag container's primary documentation before proceeding.
- Automatic page tracking
- Event triggering
- Supports multiple containers
1. Using NPM:
``sh`
npm i react-tag-commander
2. Direct Include: Fetch dist/index.es5.min.js or index.es6.min.js and include it in your project.`
html`
1. For ES6:
`javascript`
import TC_Wrapper from 'react-tag-commander';
2. For ES5:
`javascript`
const TC_Wrapper = require('react-tag-commander');
3. Direct Include:
`javascript`
const TC_Wrapper = window.TC_Wrapper;
1. Initialize your Data Layer: Set up your data layer early in your web application, preferably in a