2 Replies Latest reply on Jan 10, 2019 2:00 AM by shivg7775750

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

    dan_jud 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.

      • 0. Re: Where can I get visitor ID and other parametres for initialization code
        Gigazelle Adobe Employee

        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.h tml

        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.

        • 2. Re: Where can I get visitor ID and other parametres for initialization code
          shivg7775750 Level 1

          Hi,

           

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

           

           

           

          Re: Analytics account details.

           

          Regards,

          Shiv