Cross-Domain Plugin
This plugin forces the visitor identifier to be used across domains in order to achieve cross-domain reporting. This allows the visitor to be represented as a single user no matter what domain they visited (assuming the plugin is used on both sites) This plugin adds either a query parameter or hash tag to the URL that is taking the visitor off the current site. The query parameter or hash contains the visitor identifier, and the new site will see the parameter and re-session the cookie in the new site to use the same visitor ID.
Plugin options
The plugin is loaded with the following properties available to be set via the configuration object:
Parameters | Description | Data Type | Default Value |
---|---|---|---|
|
Enable or disable the plugin |
Boolean |
false |
|
It allows you to set its value to either auto, hash, or parameter, with the default value being auto.
This configuration serves as a replacement for the previous three configurations, namely |
enum |
auto |
|
Forces the |
Boolean |
true |
|
This option forces the Oracle CX Tag to wait until the plugin loads before data collection can begin. |
Boolean |
|
|
CSS selector to be used in determining what links to bind to. Standard CSS selectors can be used to target certain domains or links if desired.
Below is the selector to allow list all foo.com and bar.com links
|
String |
'A' |
|
If set to 'localhost' and onsite domains are defined on the tag config, the onsite list is used to form a denyList selector with all the domains listed, and |
String |
localhost |
|
Sets the plugin to not add the onsite-doms to the blacklist selector. Note: By default uses the _onsiteDoms setting from the CX Tag configuration, so you can specify what domains you consider locally. By default it uses the domain the tag is loaded on. |
Boolean |
false |
|
Guard character to be added after the hash in case someone tries to add more data after the hash. Used to determine the end of the Note: This does not need to be changed. |
String |
~ |
|
Flag to add a hash to the link that contains the sessionization data. Note: The current configuration is no longer supported and has been deprecated. Please make use of the |
Boolean |
true |
|
Flag to add a query parameter to the link that contains the sessionization data. Note: The current configuration is no longer supported and has been deprecated. Please make use of the |
Boolean |
false |
|
Flag. If enabled, the tag will automatically decide, if it should use a hash or query parameter. If enabled, then Note: The current configuration is no longer supported and has been deprecated. Please make use of the |
Boolean |
false |
|
CSS selector to be used in determining what links to bind to. Standard CSS selectors can be used to target certain domains or links if desired.
Whitelist sites selector white list all foo.com and bar.com links
Note: The current configuration is no longer supported and has been deprecated. Please make use of the |
String |
'A' |
|
If set to 'localhost' and onsite domains are defined on the tag config, the onsite list is used to form a blackList selector with all the domains listed, and Note: The current configuration is no longer supported and has been deprecated. Please make use of the |
String |
localhost |