Skip to main content

Hello Amplitude Community,

We're encountering a challenge with tracking web push notification clicks using Amplitude, particularly when dealing with anonymous users who haven't yet interacted with our website. Here's an overview of our issue:

  • We utilize OneSignal for web push notifications.
  • When a new user clicks on a web push notification, they are directed to our website. However, since they are anonymous initially (because they are new, we don’t get an event for the click. As a result, we can't track these clicks of WebPush notifications in Amplitude.
  • Amplitude assigns an external ID to users only after they interact with our website, complicating the tracking of initial web push interactions.

 

Do you know about an efficient solution for this issue - tracking WebPush click for anonymous users?

Best regards,
Dor

Hi Dor,

This is Yuanyuan from the Amplitude Support team - happy to assist!

Is the issue that WebPush notifications event is not fired or is it fired but without Device ID? Should it be fired with the SDK or is it a server side event?

Looking forward to hearing back from you!


P.S. Checkout upcoming events and user meetups on our events page.

Reply