Follow these steps to add the core SessionCam tag — which allows us to set up data collection — into Google Tag Manager and get SessionCam working for you.
These instructions assume that you have Google Tag Manager setup and you have access to create new Tags on your account.
- Click "New Tag".
- Enter a Tag Name of "SessionCam" (or any name of your choosing) and select the Tag Type of "Custom HTML Tag"
- Copy the following code snippet into the HTML box presented on the Google Tag Manager screen.
<!-- SessionCam Client Integration v6.0 -->
<!-- End SessionCam -->
- Click on the Triggering section below and select your trigger. If you have not yet set up a trigger, you can do this by clicking the plus icon on the right-hand side of the page. This trigger tells GTM when to fire the SessionCam tag.
- Click "Save".
- You will now need to publish your modified container, you can always use the "Preview and Debug" option in Google Tag Manager for testing the implementation
Once the tag is installed, we will start recording immediately if the Recording status is set to On.