How do I integrate the tracking script into my site?

To enable Trackboxx to recognise the visitors of your website, the first step is to integrate the "Tracking Script" on your website.

Basically, the script must be integrated into the header of your page so that all individual pages contain the tracking script and can therefore be monitored.

This means the code must be inserted between the opening and the closing .

In general, the possibilities of integration are very different depending on the type of website or the use of an appropriate CMS system, such as WordPress.


To get your tracking code, add a new website in the first step. After you have entered the name and URL, a popup will appear showing you the corresponding tracking code. This code looks like the following:

  (function(d, s, id, w, f){
      w[f] = w[f] || function() {
          (w[f].q = w[f].q || []).push(arguments)
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)){ return; }
      js = d.createElement(s); = id;
      js.onload = function(){
          // remote script has loaded
      js.async = true;
      js.src = "";
      fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'trackboxx-script', window, 'trackboxx'));
  trackboxx('set', 'siteId', 'TB-66377283');

Important! This is a sample code. You will get your personal code in your dashboard when you click Add Page.

After the code has been integrated into your website, the visitors to your site will be recorded.

Important! The last 7 days are selected as default setting in your dashboard. This means that after integration you have to select "Today" as the period of time to view the corresponding statistics.


You have questions, need support or just want to get something off your chest, then we look forward to your request.