Website Tracker

Having issues? Check out the troubleshooting guide:

Troubleshooting

If you've used any web analytics service before, you know the hassle of putting their code into your site. Fortunately, HockeyStack only requires one short snippet to track all your visitors' actions

You can copy the snippet from multiple places in the dashboard. If you haven’t integrated yet, you should be able to see it in the integration steps. If you already integrated but need to update the script, you can copy it from Settings > Domain Details > Integration Snippet.

Paste the snippet into the <head></head> tag of your site. Make sure this snippet is present on every page that you want to track.

If you don’t want to deal with any code or ask a developer to insert the snippet, you can directly add the snippet through GTM. Follow this guide on how to do it:

Google Tag Manager
Testing the Tracking Script

  1. Navigate to the domain where the script was added. Turn off your adblocker, and make sure to accept cookies.

  2. Right click on the page > Inspect Element.

  3. Navigate to the elements tab, click anywhere on the code, and on your keyboard click Cmd+F (or Ctrl+F for Windows) to search for “hockeystack.min.js”. Validate that you can find the below snippet.

  4. As a secondary check, navigate to the Network tab. Refresh the page while you are on the tab. On the input box where it says “Filter”, enter in “hockeystack”. Make sure you can see a line where Name is “send” and Status is 200.

If both checks are passing — Congrats! Your HockeyStack script is working!

Platform-specific Guides

WordPressReact

We can automatically collect all data from all platforms that allow custom script insertion.

Tracking with Cookies

HockeyStack is by default cookie-less. However, you can convert your script to use cookies any time you want following this guide:

Reverting to Cookie-Based Tracking

Last updated