Installation Guide
Follow this guide to integrate SessionScope with your website and start leveraging powerful, privacy-focused analytics.
Step 1: Sign Up and Get Your Tracking Code
1. Sign Up for SessionScope:
- Visit the SessionScope website and create an account. Choose the plan that best fits your needs.
2. Access Your Dashboard:
- After signing up, log in to your SessionScope account. You will be directed to your dashboard.
3. Get Your Tracking Code:
- In the dashboard, navigate to the “Tracking Code” section. You will find a JavaScript snippet that you need to add to your website.
Step 2: Add Tracking Code to Your Website
1. Copy the Tracking Code:
- Copy the JavaScript snippet provided in the “Tracking Code” section of your SessionScope dashboard. 2. Insert the Tracking Code:
- Open the HTML file of your website or your website’s template file (e.g., header.php if you are using a CMS like WordPress).
- Paste the tracking code just before the closing
</head>
tag. This will ensure that the tracking code is loaded on every page of your website.
Example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Website Title</title>
<!-- Other head elements -->
<!-- SessionScope -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://app.sessionscope.io/";
_paq.push(['setTrackerUrl', u+'js/tracker.php']);
_paq.push(['setSiteId', '{YOUR SITE ID}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'js/tracker.php'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End SessionScope Code -->
</head>
<body>
<!-- Your website content -->
</body>
</html>
Step 3: Verify the Installation
1. Check Your Website:
- Visit your website in a web browser and inspect the page source (right-click on the page and select "View Page Source") to ensure the tracking code is correctly added.
2. Verify Data in SessionScope Dashboard:
- Go back to your SessionScope dashboard. It might take a few minutes for the data to start appearing. You should see your visits being tracked in real-time.
Step 4: Customize Your Tracking (Optional)
1. Track Events and Goals:
- To track specific events (like button clicks) or goals (like form submissions), you can add additional JavaScript to your site. Refer to the documentation in your SessionScope dashboard for detailed instructions.
2. Set Up Custom Reports:
- Use the reporting tools in your SessionScope dashboard to create and customize reports according to your needs.
Step 5: Ensure GDPR Compliance
1. Review Privacy Settings:
- SessionScope is designed to be privacy-friendly and GDPR-compliant. However, ensure that your website’s privacy policy is updated to reflect the use of SessionScope.
2. Enable Cookieless Tracking:
- If you prefer not to use cookies, enable cookieless tracking from the SessionScope dashboard settings. This ensures compliance with GDPR without requiring consent banners.
Support
If you encounter any issues during the installation process or need further assistance, please visit our Help Center or contact our support team through your SessionScope dashboard.
Congratulations! You have successfully installed SessionScope on your website. Enjoy the benefits of privacy-focused, accurate analytics to drive your business decisions.