Need some help getting several missing context fields to be included in the Web SDK's `sendEvent` payload, or at least to understand why these aren't being collected.
Background:
The problem:
The documentation doesn't mention any limitations or caveats for which of these fields will be auto-collected. The only stated requirement is that the appropriate categories are checked off in the extension configuration, which I've confirmed they are:
I'm curious if the `geo` fields only apply to web browsers on mobile devices...? I'm not currently able to test this theory since I'm limited to using Debugger on desktop to inject our code, at least until our lower environments are available and injection is no longer necessary.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @PeterNo7 ,
To get all these fields you need to follow below steps,
Once these configurations are completed all your selected fields should be available in data collection as expected.
Please note that if you inspect the client side network calls you'll still see only placeContext.localTime and placeContext.localTimezoneOffset fields in the XDM payload, rest of the fields are added to XDM on edge and are can be viewed in an assurance session or in the final data collected.
Cheers!
Hi @PeterNo7 ,
To get all these fields you need to follow below steps,
Once these configurations are completed all your selected fields should be available in data collection as expected.
Please note that if you inspect the client side network calls you'll still see only placeContext.localTime and placeContext.localTimezoneOffset fields in the XDM payload, rest of the fields are added to XDM on edge and are can be viewed in an assurance session or in the final data collected.
Cheers!
Exactly what I was looking for -- thank you so much @Harveer_SinghGi1! That was indeed the missing piece; can confirm the issue is resolved.
Appreciate the doc links as well, they were super helpful references so I'll keep em bookmarked for future.
Cheers,
Peter
Views
Like
Replies