Question
Forward to GA4 Target activity click data in Web SDK
- I use the functionality in Web SDK extension “On before event send callback” and put there in order to catch when specific Target experience was clicked. I want to forward this data to Google Analytics 4:
if (content.xdm && content.xdm.eventType === 'decisioning.propositionInteract') {
const proposition = content.xdm._experience.decisioning.propositions;
console.log('propozycja', proposition)
}
- Something like that is logged after specific experiences is clicked on the website to the console:

- Unfortunately there is only “Activity ID” available. Not the “Activity Name”, even though I turned on specific response tokens.
Any ideas?