visitorService Properties

Defines the properties used by the visitorService variable. This variable is part of the DIL.create method.

visitorService has the following properties:

Name Type Description
namespace String Required. Represents The Experience Cloud Org ID. This is needed for Experience Cloud Core Service functionality. Same parameter used to instantiate the Visitor ID functionality.

Code Sample:

var vDil = DIL.create({
    partner: 'demofirst',
    visitorService: {
        namespace: "INSERT-EXPCLOUD-ORG-ID-HERE"