How to add SessionCam using Google Tag Manager

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.

  1. Click "New Tag".
  2. Enter a Tag Name of "SessionCam" (or any name of your chosing) and select the Tag Type of "Custom HTML Tag"
  3. Copy the following code snippet into the HTML box presented on the Google Tag Manager screen.
    <script type="text/javascript"> 
    <!-- SessionCam Client Integration v6.0 -->
    var scRec=document.createElement('SCRIPT');
    <!-- End SessionCam -->
  4. Click +Add Rule To Fire Tag, click the tick box next to "All pages" and click "Save".
  5. Click "Save".
  6. 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.