Step 3: Add your Experience Cloud Organization ID to Visitor.getInstance

In the Visitor.getInstance function, replace INSERT-MARKETING-CLOUD-ORGANIZATION ID-HERE with your Experience Cloud organization ID. If you do not know your organization ID, you can find it on the Experience Cloud administration page. See also, Administration - Core Services. Your edited function could look similar to the example below.

var visitor = Visitor.getInstance("1234567ABC@AdobeOrg");

IMPORTANT
Do not change the case of the characters in your organization ID. The ID is case-sensitive and must be used exactly as provided.

Step 4: Add Visitor API code to the page

Deploy the VisitorAPI.js file to your site in the <head> tags before the reference to the mbox.js file. The Experience Cloud ID service must execute before the first Target network call is generated. Move this code into production after testing and verification.

Step 5: Test and deploy ID Service code

You can test and deploy as follows.

Test and verify

To test your ID service implementation:

  • Check for the AMCV cookie in the domain where your page is hosted.
  • Verify mboxMCGVID appears in your Target request and that it contains the Experience Cloud ID (MID).

See Cookies and the Experience Cloud Identity Service for information about the AMCV cookie and the MID.

Deploy

Deploy your code after it passes testing.

Experience Cloud Services


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more