Hi,
I’m setting up Google Tag Manager as the source for Amplitude events. The event is streaming, but without the User ID as a User Property.
I have created three tags:
- All Pages Initialize
- All Pages Set User ID
- Track Event (track) with the needed trigger
If I add the User ID to the Event Properties of the Track Event tag, the correct User ID appears in the Event Properties in Amplitude. However, I need it to be in the User Property to connect this event to all other events of this user.
According to the manual, since my event is an onboarding event and I need to initialize the User ID at a later time, I have to use setUserId. That's exactly what I need, but it didn’t help.