Step 2: Default Behavior for Click Tracking

By default, click tracking is turned on. To turn click tracking off by default:

  • If you are utilizing the Search HH Theme, there are two options:

    1) Set analyticsEventsEnabled to false in the global_config.json

    2) Pass the analyticsEventsEnabled boolean to the runtime config:

    const RuntimeConfig = {
        "linkTarget": "_blank",
        "jwt": "81839181201siwnfoskqoi1i39",
        "analyticsEventsEnabled": "false"
    }
  • If you are building with the Search UI SDK: set analyticsEventsEnabled to false when you initialize Search in JavaScript:

    ANSWERS.init({
    experienceKey: 'europeanAnswers',
    experienceVersion: 'PRODUCTION',
    locale: 'es',
    analyticsEventsEnabled: false
    });
Feedback