BOOMR.plugins. GUID


Tag users with a unique GUID.

The GUID plugin adds a tracking cookie to the user that will be sent to the beacon-server as cookie.

For information on how to include this plugin, see the Building tutorial.

Beacon Parameters

This plugin adds no parameters to the beacon.

(It sets the specified cookie)

Methods


init(config)

Initializes the plugin.

Parameters:

Name Type Description
config object

Configuration

Properties
Name Type Argument Description
GUID.cookieName string

The name of the cookie to be set in the browser session

GUID.expires number <optional>

An expiry time for the cookie in seconds. By default 7 days.

Returns:

BOOMR.plugins.GUID The GUID plugin for chaining


is_complete()

This plugin is always complete (ready to send a beacon)

Returns:

Type: boolean

true