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
- 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
Solved! Go to Solution.
Views
Replies
Total Likes
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-c55af548.... 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.
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-c55af548.... 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.
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 ?
Tracking server would be the complete "{{datacollectionhost}}.sc.omtrdc.net". So you'd just need that first part for your datacollectionhost.
is that mean if my tracking server is :
Oh, you're using a first-party CNAME for your tracking server. See this page for more information about it: https://experienceleague.adobe.com/docs/core-services/interface/administration/ec-cookies/cookies-fi...
In that case, you would use the full "metrics.companyname.co.us" in your Data Insertion API call, i.e. https://metrics.companyname.co.us/b/ss/...
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-market... 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
Views
Likes
Replies