I have an Adobe Analytics Web SDK implementation using the data object and we are working on migrating to CJA. This implementation is accurately sending data to AA but in CJA, my event counts show as 0. My mapped eVars and props work fine but I'm probably just missing something simple with the events. I have tried for example, data.__adobe.analytics.events.event1 mapped to a custom schema field web.webInteraction._test.clicks where that field is set to integer. I have also tried changing web.webInteraction._test.clicks to a "measure" and instead mapping to web.webInteraction._test.clicks.value to mimic the AA ExperienceEvent template but both scenarios result in counts of 0 in CJA. What am I missing?
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Views
Replies
Total Likes
Thank you, for your input Kumar. I have tried changing my schema so that web.webInteraction._test.clicks is set as a "measure" which auto creates web.webInteraction._test.clicks.id as a string and web.webInteraction._test.clicks.value as a double within that measure object but when I map my datastream from data.__adobe.analytics.events.event1 to web.webInteraction._test.clicks.value I get errors in my dataset such as "Error transforming data for required destination path web.webInteraction._bcbsma.clicks.value. Details: Source data does not contain field events" -- I don't know what I'm missing.
In my payload in Developer Tools, I can see that data.__adobe.analytics.events is equal to "event1" and this sends data to Adobe Analytics accurately. Obviously "event1" is a string but web.webInteraction._test.clicks.value is expecting a number. Is this my issue? I shouldn't have to change my Web SDK implementation of AA. There must be a way to correctly map the Adobe Analytics event numbers to a count based XCDM schema field. I feel like I'm missing something simple.
Views
Replies
Total Likes
No event sent to CJA so far or just the mapping to custom schema field not working?
If no event was sent, would suggest to start simple on just a page view to make sure the end to end flow is working. Check below to make sure the required fields are populated in the Datastream/Data Prep. Apart from XDM id and timestamp, may also need the ECID as the person ID in CJA.
https://experienceleague.adobe.com/en/docs/experience-platform/xdm/classes/experienceevent
Thanks,
John
Views
Replies
Total Likes
Pageviews work fine. I can use a CJA Workspace template to see the standard Pages Report for example, and the "Page Views" metric (adobe_reserved_label.web_pageviews) shows up with data as expected. It's mainly just AA custom events that are my issue. Perhaps I am forced to use the XDM Schema format _experience.analytics.event1to100.event1.value if I am already sending data.__adobe.analytics.events equals "event1" etc.?? I would definitely prefer to use a custom schema but I must be missing a step in either case.
Views
Replies
Total Likes
Would you mind showing your Data Stream mapping of the concerned field?
Thanks,
John
Views
Replies
Total Likes
The parts I blurred out are because it's a custom object of a company abbreviation. event4 is an example where the .clicks is a measure with an id (string) and value (double) within. event7 and event1 are mapped to fields set as integer.
Thank you!
Views
Replies
Total Likes
Is the claim.claimDetailViews an integer/double field itself? As in the other field you followed the convention to add a ".value" for storing numbers.
I have not tried adding new fields to a standard field group, maybe you want to add one mapping line at a time until you hit the error.
Thanks,
John
Views
Replies
Total Likes
My current theory/assumption is that since I'm using a custom schema I may have to do mapping within Adobe Data Collection tags instead and that mapping within the datastream won't work because I'm not using the _experience.analytics.event1to100.event... schema format. But idk.
Views
Replies
Total Likes
Mapping the Adobe Data Object to XDM in Data Stream is a standard way and should work. But you can also try to populate the XDM object together with the Data Object in Adobe Launch/Tags to see if helps.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies