Collecting SessionCam ID in AT Internet

Creation of the SessionCam site indicator

The first step is to create a site indicator in the AT Internet interface. This site indicator will receive the SessionCam ID of the recorded sessions. 

You must therefore connect to your Analytics Suite 2 interface to go to the settings (accessible at the top right of your interface).

mceclip0.png

You can then access the page for creating site indicators by choosing "Custom site variables".

mceclip1.png

In this interface you must create a "session ID (sessioncam)" type Text site indicator. Here is how this site indicator will be interpreted in the AT Internet tracking code:

tag.customVars.set({

    site: {

      5: window.sessionCamRecorder.sessionId()             

    }

  });

 

Deployment of the AT Internet tracking code on the site

Once the site indicator is configured, you need to deploy the AT Internet tracking code on your site. You can place this code just after the SessionCam tracking code and just before closing the </body> tag. The code should be deployed on each page to be analysed and recorded. 

Below is the tracking code to be deployed. For information this code is encapsulated in a SessionCam function that delays the sending of the hit by a few milliseconds in order to retrieve the SessionCam ID. 

You must integrate your AT Internet tracking code into this script (by inserting the SessionCam site indicator seen in the previous section).

<script type="text/javascript">
    setTimeout('setSessionID()',500);
        function setSessionID() {
            if(typeof window.sessionCamRecorder != 'undefined') {
                if(window.sessionCamRecorder.sessionId().length > 2) {
                     var tag = new ATInternet.Tracker.Tag();
  tag.page.set({
    name:'Contact',
    level2:'2'
  });
  tag.customVars.set({
    site: {
      5: window.sessionCamRecorder.sessionId()           
    }
  });
   tag.dispatch();
                }
                else
                {
                    setTimeout('setSessionID()', 100);
                }
           }
            else
            {
                setTimeout('setSessionID()', 100);
            }
        }
</script>

Once this code is deployed, the data will start to flow back into the Analytics Suite 2 interfaces (Explorer, Data Query, etc.).

Display of the SessionCam ID

You can now display SessionCam IDs in Analytics Suite 2. To view this information in Explorer you must go to the "Content > Custom variables" section and choose the "session ID (sessioncam)" site indicator. 

Here is the format of the SessionCam ID (example):

8b9e9896-7063-4566-b67a-f78865839d2b,637000887410000000 

Explorer screen shot:

mceclip0.png

You can also find this information in your Data Query Interface:

mceclip1.png

You can now use session IDs to view recordings in SessionCam.

Have more questions? Submit a request