Debug mode

Prev Next

You can activate a debug mode in the Mapp Intelligence GTM template to inspect how tracking data is processed and submitted.

How it works

Once activated, the template logs all relevant calls to the Smart Pixel directly to the JavaScript console of your browser. This helps you verify:

  • Which settings are being applied

  • What data is included in each request

  • When and how a request is sent

This is particularly useful during implementation and testing phases.

Important

Only use debug mode in development environments. Console logging can negatively impact performance and should never be enabled in production.


How to activate

In the GTM tag configuration, enable the option “Activate logging”.

When enabled, detailed messages will appear in the console each time the tag is triggered.


Example output

When debug logging is active, you will see a call to wtSmart.advanced.add() in your browser console, including all applied options and configurations:

{
  execCDB: true,
  optOutName: "mi_opt_out",
  forceOldEverId: true,
  secureCookie: true,
  requestQueue: {
    activated: true,
    resendInterval: 5000,
    ttl: 300000,
    size: "100"
  },
  useHashForDefaultPageName: true,
  useParamsForDefaultPageName: ["category", "brand"]
}

The actual output will vary depending on your tag configuration.