Expand my Community achievements bar.

SOLVED

Where can I get visitor ID and other parametres for initialization code

Avatar

Level 1

Hi there!

Going to use Adobe analytics as developer.

Client ask to insert Omntiure at my site. I read instruction:

In VisitorAPI.js, add the following visitor ID initialization code at the beginning
of the file:
var visitor = new Visitor("INSERT-MCORG-ID-HERE");
visitor.trackingServer = "INSERT-TRACKING-SERVER-HERE"; // same
Configure the Visitor ID
service.
as s.trackingServer
visitor.trackingServerSecure =
"INSERT-SECURE-TRACKING-SERVER-HERE"; //same as
s.trackingServerSecure
/*
============== DO NOT ALTER ANYTHING BELOW THIS LINE !
============
• "INSERT-MCORG-ID-HERE" - (Required) This Adobe Marketing Cloud Organization
ID is sent to your administrator when your company is provisioned for the Adobe
Marketing Cloud.
• "INSERT-TRACKING-SERVER-HERE" - (Required) Your Analytics tracking server.
• "INSERT-SECURE-TRACKING-SERVER-HERE" - (Required if ssl is enabled) Your
Analytics secure tracking server.

Update
AppMeasurement.js.
• s.trackingServer="INSERT-TRACKING-SERVER-HERE"
• s.visitorNamespace = "INSERT-NAMESPACE-HERE"
JavaScript Implementation 13
Step Task Description
• s.visitor = Visitor.getInstance("INSERT-NAMESPACE-HERE")
See Correctly populate the trackingServer and trackingServerSecure variable or contact
Client Care if you are unsure about any of these values. If

I have no Idea where can I get these parameters.

As I understand:

"INSERT-MCORG-ID-HERE" - this parameter I can get from client

- What about secure-tracking-server? Where can i take this parameter?

- s.visitorNamespace = "INSERT-NAMESPACE-HERE" - where can I take NameSpace of visitor?

 s.visitor = Visitor.getInstance("INSERT-NAMESPACE-HERE") - is it the same parameter "INSTERT-NAMESPACE-HERE" as previous?

Thank you in future.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

This article should help you understand how to get the trackingServer and trackingServerSecure variables:
https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/determining-data-center.html

Each of the other parameters, such as the org ID, should be obtained from an admin of the company you're implementing the code for.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

This article should help you understand how to get the trackingServer and trackingServerSecure variables:
https://marketing.adobe.com/resources/help/kb/en_US/analytics/kb/determining-data-center.html

Each of the other parameters, such as the org ID, should be obtained from an admin of the company you're implementing the code for.

Avatar

Level 2

Hi,

Please go through the below link , from this you might get help.

Re: Analytics account details.

Regards,

Shiv