addThis Plugin

Push Lytics audiences into AddThis

addThis plugin

The AddThis plugin is for pushing Lytics audiences into AddThis.

AddThis
namespace addThis
audience push
disabled by default

Configuration

addThis: {
  audiencePush: {
    disabled: true,
    cookie: '__attag',
    global: 'addthis',
  }
}

addThis.audiencePush.disabled

  • Type boolean
  • Optional
  • Defaults to true

Set addThis.audiencePush.disabled to false to enable this plugin.

Advanced options

Advanced options generally do not need to be configured.

addThis.audiencePush.cookie

  • Type string
  • Optional
  • Defaults to __attag

The name of the AddThis cookie.

addThis.audiencePush.global

  • Type string
  • Optional
  • Defaults to addthis

The global variable of the AddThis SDK.

Learn more about configuration

Mechanism

This plugin works by integrating with the AddThis SDK. It loads audiences from Lytics and transmits them to AddThis.

Events

EventFires whenPayload
addThis.audiencePush.detectedThe global AddThis SDK is detected.none
addThis.audiencePush.cookieDetectedThe AddThis cookie is detected.the cookie name
addThis.audiencePush.cookieUpdatedThe AddThis cookie is updated.none
addThis.audiencePush.cookieNotDetectedThe AddThis cookies is not detectedthe cookie name
addThis.audiencePush.pushedThe audiences have been pushed to the AddThis SDKnone

Learn more about events