Quick Start: Basic Tracking

Prev Next

This guide helps you set up Smart Pixel tracking in just a few lines of code – ideal for testing and development.

Use this minimal setup to verify that tracking is working. For full configuration options, see Tracking Initialization.

1 Basic Integration

Make sure that the Smart Pixel file is correctly referenced and that your loaderConfig_ contains the correct domain, path, and filename.

Then, include the following snippet in your HTML:

<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>

2 Key Parameters

To enable basic tracking, you need to define the following two parameters in your Smart Pixel configuration:

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.

Note: Data may take up to 60 minutes to appear in Mapp Intelligence due to the update interval.

Use Live Elements in Reports to check tracking in real time.