Back to home
D-Bug Visitors

Set up tracking

Generate your snippet, then watch the visits

Add your site domain to get a copy-paste tracking snippet. Drop it into your site and page views flow into the dashboard below. Your domain and site key are saved in this browser, so a reload keeps your setup.

Tracking snippet

Enter your site domain, then paste the snippet into your site before the closing head tag. It loads once and starts logging page views.

Site key
Snippet
<!-- D-Bug Visitors tracking snippet -->
<script>
  (function (w, d) {
    w.dbugVisitors = w.dbugVisitors || function () {
      (w.dbugVisitors.q = w.dbugVisitors.q || []).push(arguments);
    };
    var s = d.createElement("script");
    s.async = true;
    s.src = "https://track.saasytoad.com/p/dbug.js";
    s.setAttribute("data-site", "");
    s.setAttribute("data-domain", "your-site.com");
    d.head.appendChild(s);
  })(window, document);
</script>

Add your domain above and the snippet updates as you type.

Waiting for your first visitor

The dashboard below shows sample data so you can see the layout. Real visits appear once the snippet is live on your site and the tracking endpoint is connected. The collection endpoint (https://track.saasytoad.com/p) needs to be wired up before live data flows in.

Dashboard

Sample data
n/a
Visitors today
live once connected
n/a
Page views today
live once connected
n/a
Top page
live once connected

Recent visitors

PageSourceCountryViewsSeen
/pricingGoogleUS42m ago
/DirectGB211m ago
/blog/getting-startedTwitterCA126m ago
/featuresNewsletterDE341m ago
/pricingGoogleAU51h ago
Sample rows. Live visits replace these once the snippet reports in.

Top pages

  • /pricing128
  • /96
  • /features61
  • /blog/getting-started44
  • /contact19

Sample distribution. Real page rankings build up as visits arrive.