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 choosing) 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 -->
    //<![CDATA[
    var scRec=document.createElement('SCRIPT');
    scRec.type='text/javascript';
    scRec.src="//d2oh4tlt9mrke9.cloudfront.net/Record/js/sessioncam.recorder.js"
    document.getElementsByTagName('head')[0].appendChild(scRec);
    //]]>
    <!-- End SessionCam -->
    </script>
  4. 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. 
  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.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.