JavaScript Tag Config

Configuration options for the core JavaScript SDK.

The following configuration options are available within the account settings JavaScript Tag section.

Client Side Integrations

A set of client-side integrations is facilitated by the core Lytics SDK. Each one has its own checkbox under the "Client Side Integrations" section, and runs only when its box is checked.

Checking the box enables the integration and will result in either audience membership or attributes being passed to a partner if that particular integration's associated tags and configurations are also in place on the page.
📘

Client-side integrations are opt-in

Since October 2026, every client-side integration in the version 2 and version 3 tags is off unless its box is checked. Integrations that were already running on an account were switched on for it, so they kept running. New accounts start with all of them off. The checkboxes replace the Integrations Blocklist, which is no longer shown in account settings.

Client-side integrations you can turn on in account settings:

  • AddThis: Allow Lytics to push audience membership to AddThis.
  • AdRoll: Allow Lytics to push audience membership to AdRoll.
  • Amazon DSP: Allow Lytics to pass the current visitor's _uid to Amazon DSP for improved identity resolution.
  • Amazon DSP Confirmation Events: If false, confirmation events will not be sent to the amazon_dsp stream upon successful sync completion.
  • Contentstack Personalize: Allow Lytics to pass the current visitor's attributes to the Contentstack Personalize Edge API.
  • Criteo: Allow Lytics to pass the current visitor's _uid to Criteo and receive a Criteo GUM ID for improved identity resolution.
  • Facebook Ads: Allow Lytics to push audience membership to Facebook Ads through the Meta pixel.
  • Google Ads Partner API: Allow Lytics to use the Google Partner API to make Google Ads calls.
  • Google Analytics custom dimensions: Allow Lytics to push audience membership into a Google Analytics custom dimension.
  • Google Analytics 4 (GA4): Allow Lytics to pass the current visitor's _uid and audience membership to GA4.
  • Google DFP (Google Ad Manager): Allow Lytics to push audience membership to Google Ad Manager as the LyticsSegments targeting parameter.
  • Google DV360: Allow Lytics to pass the current visitor's _uid to Google DV360 and receive a unique DV360 ID for improved identity resolution.
  • Google Tag Manager: Allow Lytics to collect the dataLayer object when the tag loads, and to pass audience membership to Google Tag Manager.
  • Krux: Allow Lytics to pass the current visitor's _uid to Krux for improved identity resolution.
  • Lotame: Allow Lytics to pass the current visitor's _uid to Lotame for improved identity resolution.
  • Qubit: Allow Lytics to collect the universal_variable object when the tag loads.
  • Taboola: Allow Lytics to pass the current visitor's _uid to Taboola and receive a unique Taboola ID for improved identity resolution.
  • Tealium: Allow Lytics to collect the utag_data object when the tag loads.
  • The Trade Desk: Allow Lytics to pass the current visitor's _uid to The Trade Desk and receive a unique Trade Desk ID for improved identity resolution.
  • Yahoo Ads: Allow Lytics to pass the current visitor's _uid to Yahoo and receive a unique Yahoo ID for improved identity resolution.

The Pathfora personalization SDK has its own setting; see Allow Pathfora.

Legacy version 1 tag

The version 1 tag doesn't read these checkboxes. It still uses the account's integration blocklist, which is no longer shown in account settings. Contact Lytics Support to change it.

JavaScript Tag TTL (3.0)

The amount of time to cache the core JavaScript SDK in seconds. This should be used only during testing to ensure settings configured are reflected more often, but it may result in degraded performance for high-traffic production use.

Enable pageview event on first send (3.0)

Enables the automatic pageview event (_e: pv) in the first send event of every page load in JStag v3.

Allow Pathfora

Check this box to allow the Lytics JavaScript tag to automatically add the Pathfora personalization library to your site (default). Uncheck to disable any Pathfora-powered web-based personalization.

Allow Event Block

Choose when the tag turns on event block:

0: Turns event block off.
1: Turns event block on if there are one or more active Lytics Experiences.
2: Turns event block on permanently at all times.

Global Stylesheet URL (CSS)

This custom stylesheet will be loaded in support of Lytics-managed Experiences.

Personalization (Pathfora SDK) Generalized Config

The hashed JSON configuration is to be loaded globally for all Lytics-managed experiences.

Custom Cookie Keys

A list of cookie names that should be automatically collected by the core Lytics SDK.

Custom Data Layer

A list of JavaScript variables that should be automatically collected by the core Lytics SDK.

Disable Automatic Initial Pageview (2.0 - Deprecated)

Disable the automatic pageview event in the JStag v2 if pageview events are being sent manually.

Jstag2 Segment Cookie Duration (2.0 - Deprecated)

The number of minutes the ly_segs cookie that contains an individual's current audience memberships should persist. Defaults to 30 days if left blank.

Did this page help you?