Plugins
Plugins
The functionality of JSTag is split up across many plugins. Each plugin can be controlled using the monolithic configuration
Plugins can be grouped into these functional categories:
Framework
audit- Log everything the tag does or filter by topiccarp- Safe, optional error handlingmustEnable- Allow plugins to be explicitly enabled
backingInstance- Access the current instance directlycall- Call a method on the tag instanceconfig- Configure the jstag instanceconfig- Framework for interacting with the monolithic configurationmoarConfig- An advanced feature for supplying additional account-level config
emitter- Send messages to and receive messages from other pluginslifecycle- Attach custom behavior on setup and teardown
Utilities
cookies- Read, write and delete cookiesiframeTransport- Send data using an iframe-based protocoljsonpTransport- Send data using JSONPpixel- Send data using animgtagpoll- Poll until a condition becomes true
Lytics
collect- Collect data using the Lytics APIlio- Integrate with the Lytics APIgetid- Access the user's identifierentity- Access the user's Lytics entitysegments- Access the list of segments for a usersend- Send data to LyticspageAnalysis- Collect information about the current pagelegacyLiosetupCallback- Support callbacks added via a legacy callback registry for backwards compatibilitycustomGlobalVariables- Scrape the values of custom JavaScript variables