isCrossDomainLinkingEnabled
The isCrossDomainLinkingEnabled() method checks whether domain linking and cross-domain visitor recognition are enabled or disabled.
Syntax
isCrossDomainLinkingEnabled()
isCrossDomainLinkingEnabled(): Promise<boolean>
isCrossDomainLinkingEnabled(): Promise<boolean>
isCrossDomainLinkingEnabled(): Promise<boolean>
isCrossDomainLinkingEnabled(): Promise<boolean>
isCrossDomainLinkingEnabled(): Promise<boolean>
isCrossDomainLinkingEnabled(): Promise<boolean>
Returns
Whether domain linking and cross-domain visitor recognition are enabled or disabled.
Format: True: enabled. False: disabled.
Type: Boolean
Examples
To check whether domain linking and cross-domain visitor recognition are enabled or disabled:
_paq.push([function () {
console.log(this.isCrossDomainLinkingEnabled());
}]);
const crossDomainTrackingEnabled = await CrossDomainTracking.isCrossDomainLinkingEnabled();
const crossDomainTrackingEnabled = await CrossDomainTracking.isCrossDomainLinkingEnabled();
const crossDomainTrackingEnabled = await CrossDomainTracking.isCrossDomainLinkingEnabled();
const crossDomainTrackingEnabled = await CrossDomainTracking.isCrossDomainLinkingEnabled();
const crossDomainTrackingEnabled = await CrossDomainTracking.isCrossDomainLinkingEnabled();
const crossDomainTrackingEnabled = await CrossDomainTracking.isCrossDomainLinkingEnabled();
A sample of the return value:
true
Related methods
Updated 6 days ago