How to set up Custom Hostnames

SessionCam records and reports on sessions based on the hostname(s) of your website. For example, if your hostname is "http://www.example.com", then we will assign that hostname to your account.

Only users of your account can see session data for that hostname, and only relevant users can configure recording rules for that hostname.

In certain situations you may want to create a "custom hostname" for us to use rather than using your actual hostname(s) for recording/reporting purposes.

You may want to do this if:

  • you have a really long hostname:

e.g. if your website hostname is "http://subdomain.this-is-a-really-long-example.com", it may be neater for us to report on this as "http://www.example.com

  • your website has many hostnames:

e.g. if you want to record “http://www.example.com”, “http://subdomain1.example.com”, and “http://subdomain2.example.com”, then you could set the custom hostname to "http://www.all-example.com", and report/record under one hostname rather than multiple ones.

How to implement a Custom Hostname

Place the following JavaScript as high up in the page HTML as possible.

<script type="text/javascript">

if(!window.sessioncamConfiguration)
window.sessioncamConfiguration = new Object();
window.sessioncamConfiguration.SessionCamHostname= 'http://www.example.com'
</script>

Set the “SessionCamHostname” value to the custom hostname you want to use. In the above example your custom hostname would be “http://www.example.com”.

Once you have done this, please contact SessionCam support and we will configure your account to use your custom hostname accordingly.

 

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.