- 1 Minute to read
- Print
- DarkLight
Initialize Tracking
- 1 Minute to read
- Print
- DarkLight
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 |
| |
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.