what is mcid is used for A4t in data insertion Api? | Adobe Higher Education
Skip to main content
Level 2
September 4, 2022
해결됨

what is mcid is used for A4t in data insertion Api?

  • September 4, 2022
  • 2 답변들
  • 1830 조회

we want to use adobe analytics for reports and we see that there is an API called data insertion API is used for processing the request and counting unique visitors we pass and mcid is required for that API 
and I don't know it is required and from where I should get this mcid ?
// our approach of the implementation ::

- first we call delivery API to fetch the content with experience cloud object that has 

 "analytics": {
          "logging""client_side"
        }

- second we want to call the data insertion API 
https://{{datacollectionhost}}.sc.omtrdc.net/b/ss/11/0/MOBILE-1.0?pe=tnt&tnta=567993:0:0|0,567993:0:0|2,567993:0:0|1&mcid=2304820394812039
"I don't know how can I get the value of (datacollectionhost) ? can any one help ?"
the problem is data insertion API it only gets you 200 as  a status and I don't know how to validate the success or failure what should I expect from the request
Thanks for your help

이 주제는 답변이 닫혔습니다.
최고의 답변: yuhuisg

MCID

This is the visitor ID that Adobe Experience Cloud ID (ECID) Service generates automatically. In regular implementations, the ECID is implemented together with Analytics and Target, so that there is one common ID that is used to identify visitors across all Adobe products.

In your case, assuming that you already have ECID implemented in your website, then you can get the MCID value from the AMCV cookie. See https://experienceleague.adobe.com/docs/id-service/using/intro/cookies.html?lang=en#section-c55af54828dc4cce89f6118655d694c8. If you are using AEP Tags (aka Adobe Launch) as your tag management system, then you can also get this MCID value by running _satellite.getVisitorId().getMarketingCloudVisitorID().

 

datacollectionhost

Assuming that you have implemented Analytics in your website already, then you can get this "datacollectionhost" value quickly by searching your Network requests for other hits that go out to the same "/b/ss" path.

2 답변

yuhuisg
Community Advisor
yuhuisgCommunity Advisor답변
Community Advisor
September 5, 2022

MCID

This is the visitor ID that Adobe Experience Cloud ID (ECID) Service generates automatically. In regular implementations, the ECID is implemented together with Analytics and Target, so that there is one common ID that is used to identify visitors across all Adobe products.

In your case, assuming that you already have ECID implemented in your website, then you can get the MCID value from the AMCV cookie. See https://experienceleague.adobe.com/docs/id-service/using/intro/cookies.html?lang=en#section-c55af54828dc4cce89f6118655d694c8. If you are using AEP Tags (aka Adobe Launch) as your tag management system, then you can also get this MCID value by running _satellite.getVisitorId().getMarketingCloudVisitorID().

 

datacollectionhost

Assuming that you have implemented Analytics in your website already, then you can get this "datacollectionhost" value quickly by searching your Network requests for other hits that go out to the same "/b/ss" path.

atef00작성자
Level 2
September 6, 2022

Thank you for your responding .
do you mean that datacollectionhost is some thing i create from adobe analytics adminstration or that is some thing in the activity itself I read something about that tracking server is the datacollectionhost

is tracking server same as datacollection host ?

 

 

 

yuhuisg
Community Advisor
Community Advisor
September 6, 2022

Tracking server would be the complete "{{datacollectionhost}}.sc.omtrdc.net". So you'd just need that first part for your datacollectionhost.

Pradeep_Kumar_Srivastav
Community Advisor
Community Advisor
September 5, 2022

The Marketing Cloud ID (MCID) Service enables most Adobe Experience Cloud solutions to uniquely identify a visitor. It is the basis of the people identification. It is a must-have component in every modern implementation of Adobe Analytics. Please refer https://experienceleaguecommunities.adobe.com/t5/adobe-experience-cloud-audiences/what-is-the-marketing-cloud-id-service-mcid/m-p/272128 for more details.

 

If AA is already implemented on your website you can use (as mentioned) b/ss to search in network call to see/verify hostname