Documentation of mapping from XDM fields to Analytics variables: https://experienceleague.adobe.com/en/docs/analytics/implementation/aep-edge/variable-mapping
Hello,
I think that you can use the "trackingCode" part in the "marketing" Object
Best regards
Documentation of mapping from XDM fields to Analytics variables: https://experienceleague.adobe.com/en/docs/analytics/implementation/aep-edge/variable-mapping