Diagnosing the browser SDK

When enabled, captured activity will be logged in the browsers console. A cookie will persist the setting.

Basic

There are two diagnostic modes that can be enabled.

If Seeka is running on a localhost domain, Seeka tracking will be disabled by default to prevent tracking of internal development environments. One of the below methods can be used to enable tracking on localhost.

Diagnosis - without tracking

With Seeka installed, navigate to the URL you wish to test and append ?test=diag to the URL.

This will:

  • Enable diagnosis mode for your browser session
  • Show event streamer in the browser
  • Block event tracking requests to browser destinations
  • Block identity and event tracking sending to Seeka server side

Diagnosis - with tracking

With Seeka installed, navigate to the URL you wish to test and append ?test=full to the URL.

This will:

  • Enable diagnosis mode for your browser session
  • Show event streamer in the browser
  • Enable event tracking requests to browser destinations
  • Enable identity and event tracking sending to Seeka server side

Advanced

Seeka SDK

One of the below methods can be used to enable debug mode for the Seeka SDK and all of the enabled plugins.

  • By setting config.debug.isEnabled to true or false when initialising the SDK
  • By running the below code in the browser's debug console.
    Converge.debug.setEnabled(true);
  • By running the below code in the browser's debug console. This will toggle logging to verbose and setting debug mode. The return value indicates whether dev mode has been enabled or not.
    Converge.debug.toggleDevMode();

Debugging data sent to platforms

After enabling Seeka SDK debug mode as above, some platforms support viewing events live as they are sent by Seeka.

Google Analytics 4

This article explains how to use Google's "DebugView".

See "Monitor the events in DebugView" heading.

Meta/Facebook

This article explains how to test events.

Append the test_event_code query string parameter to the URL of the page you require testing and open the URL in your browser.

The value of this parameter should be the test event code sourced from the above link.

Example URL: https://www.example.com?test_event_code=TEST123

Controlling verbosity

  • By setting config.debug.minimumLevel when initialising the SDK. See values below.
  • By running the below code in the browser's debug console.
    Converge.debug.setMinimumLevel("verbose");

Verbosity can be set to:

  • verbose
  • information
  • warning
  • error

Checking installed version

Run the below code in the browser's debug console to see the version of the Seeka browser SDK installed on the site.

Converge.config.runtime;