isClientSideMarketingCloudVisitorID isclientsidemarketingcloudvisitorid
Call this Visitor ID Service function to determine if the Visitor ID Service generated a client-side, ECID (MID). Available in VisitorAPI.js version 1.7.0 or higher.
Syntax
var *variableName* = visitor.isClientSideMarketingCloudVisitorID()
The following table lists and describes the responses returned by this function.
Response
Description
true
The Visitor ID Service could not or did not receive a MID from the CX Enterprise server. It created a MID locally, in the browser (client-side).
false
The Visitor ID Service received a MID from the CX Enterprise server.
null
The Visitor ID Service did not make a call to the CX Enterprise server.
recommendation-more-help
id-service-help