How to set up Custom Page Names/Paths
SessionCam uses the webpage URL as a way of referencing and searching a page within the SessionCam console. You can set your own page and pathnames (URLs) for use within the SessionCam console.
You may want to do this because:
- it may make it easier to read
- you can distinguish between pages that share the same URL
e.g. If page A and page B both use the URL of “www.domain.com/page.aspx”, you could change it to “www.domain.com/page-A.aspx” and “www.domain.com/page-B.aspx”. You can then view reports for page A and page B, rather than reports with the data from the two pages combined.
- SessionCam doesn’t include the query string data when referencing a page within the SessionCam console.
e.g. If your web page URL is “www.domain.com/load.aspx?page=PageA”, by default it would come into SessionCam as “www.domain.com/load.aspx”. Using the SessionCam Custom Page Name you can change this to: “www.domain.com/section/page.aspx”.
How to implement custom page names/paths
if(!window.sessioncamConfiguration) window.sessioncamConfiguration = new Object();
//Modify this line to populate the path (for example "checkout" or "products") sessioncamConfiguration.SessionCamPath = "section";
//Modify this line to populate the paganame (for example "step1" or "complete")
sessioncamConfiguration.SessionCamPageName = "landing-page"; </script>
The “SessionCamPath” and “SessionCamPageName” values then need to be set so they’re relevant to the page that the script is placed on.