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 configobject Configuration
Properties
Name Type Argument Description GUID.cookieNamestring The name of the cookie to be set in the browser session
GUID.expiresnumber <optional>
An expiry time for the cookie in seconds. By default 7 days.
Returns:
BOOMR.plugins.GUIDThe GUID plugin for chaining -
is_complete()
-
This plugin is always complete (ready to send a beacon)
Returns:
Type: boolean
true