Initialize Tracking
    • 1 Minute to read
    • Dark
      Light

    Initialize Tracking

    • Dark
      Light

    Article summary

    Initial tracking data can already be generated with a minimal configuration. This allows basic information to be quickly evaluated in Mapp Intelligence during the test phase.

    Integrate the following code into your page source code.

    <script type="text/javascript" async src="js/loader.min.js"></script>
    <script type="text/javascript">
        window.wtSmart = window.wtSmart || [];
        window.wtSmart.push(function(wtSmart) {
            // set initial tracking config
            wtSmart.init.set({
                trackId: '###MappIntelligence TrackID###',
                trackDomain: '###MappIntelligence TrackDomain###'
            });
            
            // send tracking data
            wtSmart.track();
        });
    </script>

    Ensure the correct domain, path and filename to the "Smart Pixel" file is configured in the "loaderConfig_" object (this is located in the loader.min.js file).

    Parameter

    Description

    trackId

    Track IDs are used to assign requests to an account. You find the track ID under Mapp Q3 > Configuration > System Configuration > Data Collection.

    If the same information is to be recorded for multiple accounts, you can enter the corresponding Track IDs of the accounts comma-separated.

    trackDomain

    Specify your Mapp Intelligence track domain. This information is provided by your account manager.

    Keep in mind that it takes some time until you will see data in Mapp Intelligence. Usually, the account update is every 60 minutes. By using Live Elements in Reports you can see the data within a few seconds.

    Code Generator

    Use the code generator to create individual code that you can then integrate directly into the website.


    Was this article helpful?