2
Get Your Tracking Code
Each website gets a unique tracking snippet that you'll paste into your site's HTML.
- On your website card, click the "Get Code" button
- A popup will display your personalised tracking snippet
- Click "Copy" to copy it to your clipboard
The snippet looks like this:
<!-- Data Sentry Analytics -->
<script>
(function() {
var s = document.createElement('script');
s.src = 'https://yourdomain.com/tracker.js';
s.async = true;
s.setAttribute('data-website-id', 'web_XXXXXXXXX');
document.head.appendChild(s);
})();
</script>
3
Install the Tracking Code
Choose your platform below and follow the instructions to add the snippet to your site.
4
Verify Installation
Confirm that DataSentry is receiving data from your website.
- Open your website in a new browser tab and visit a few pages
- Come back to your DataSentry dashboard
- Check that the Page Views counter on your website card has increased
- Click "View Analytics" to see detailed visitor data
Note: Data may take a few seconds to appear. If nothing shows up after a minute, check your browser's developer console for errors and verify the snippet is placed correctly in your page's <head> section.
5
Need Further Assistance?
If you run into any issues or have questions about setting up your tracking code, our support team is here to help.
- Go to the My Websites page and click the "? Support" button in the bottom-left corner
- Select "Submit a Ticket" to open the support form
- Describe your issue and choose the appropriate category
- Our team will review your ticket and reply as soon as possible
Tip: You can track the status of your tickets and view admin replies directly from the support widget on the dashboard.