Home » Php » php – Push Tag Manager event from server

php – Push Tag Manager event from server

Posted by: admin February 25, 2020 Leave a comment

Questions:

Is there a way to send an event to GTM from server side while maintaining the reference to the user who initiated the action?

Please consider the following case:

  1. The user performs a purchase
  2. The user is redirected to the payment site
  3. The user returns to the ‘thank you’ page (I don’t want to track this because the user could and often will close the page and never return)
  4. The IPN service notifies the payment (I want to track this event)

I can relate the notification to the user who initiated the payment, for example by user ID or personal ID number. I could store some other data (session ID, cookies, etc.) to identify his session as well.

How to&Answers: