CustomMetaData in Media Analytics with WebSDK
Hi Folks,
I am working on the Adobe Analytics implementation migration to Web SDK. My development team is currently implementing it, and we have some questions regarding the XDM object structure for the customMetadata that we send into the media session.
In our current implementation, all the contextVariables that we send with pageview and action calls are also passed into the media session. The common set of Adobe processing rules maps these contextVariables to the analytics variables for both action & pageview calls as well as media analytics session calls.
We have designed the XDM payload schema and would like to follow the same methodology as before: passing the complete XDM payload as customMetadata into the media analytics session. However, the media analytics custom metadata only supports variables of string type, and does not accept objects.
Do you have any recommendations on how this should be handled so that the common set of processing rules can still work for the shared variables across these two different tracking types?
I am aware that a workaround is possible—by flattening the XDM payload and passing customMetadata "variables name" exactly as nested in the schema—but such workarounds are not preferred for a major migration where we expect things to remain aligned.
Thanks,
Nitesh