Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7556

Implement purchase dataLayer event for forms without redirect

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • 2.136.0
    • None
    • 3
    • Analytics
    • Sprint #239, Sprint #240, Sprint #241, Sprint #242
    • neptune

      Summary

      I'm doing some testings with GP Greece for the Mixpanel implementation, and we noticed their donation page is not firing the GA4 Enhanced Ecommerce Script, mainly the purchase dataLayer event doesn't fire as its supposed to. We are testing with their DEV page.

      Assumption

      I wonder if that's because the user fills-in the card details on the same page, instead of being redirected to Stripe as we have in the GPI page. On the GPI flow, the event only gets fired once the user goes back to the Planet 4 page. 

      Requirements

      • Fire the dataLayer script on the same page after card confirmation

      Related issues:

      Please check if we can also work on the improvement of the DataLayer purchase event script as described in the issue below: 

      1. https://jira.greenpeace.org/browse/PLANET-7479 

       

            oagbernd Osong Agberndifor
            jmarubay Julia Marubayashi
            Sagar Deshmukh Sagar Deshmukh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: