Issue with Tracking Gravity Forms Submissions + Stripe in "Payment Page" Mode (GTM)

Hello everyone,

I’m experiencing an issue with tracking form submissions when using Stripe in “payment page” mode, and I would really appreciate your help.


My Configuration:

I use Google Tag Manager (GTM) to track events.
I use the official Stripe add-on for Gravity Forms.
I use the official Google Analytics add-on for Gravity Forms.
I followed the official Gravity Forms documentation on GA4 tracking:
:link: Tracking Form Submissions with Google Analytics 4

My main trigger in GTM is GFTrackEvent (see “Capture 1”), which is supposed to fire on every form submission.
The event sent to Google Analytics 4 is gforms_submission, which I have marked as a conversion in GTM.


:warning: The Problem:

:small_blue_diamond: In “embedded form” mode with Stripe, everything works perfectly:
GFTrackEvent fires correctly.
gforms_submission is sent to GTM, and the conversion is recorded.
(See “Capture 2” and “Capture 3”)

:small_blue_diamond: In “payment page” mode with Stripe, it does not work:
GFTrackEvent does not fire.
gforms_submission is not sent to GTM.
Result: The conversion is not recorded.
(See “Capture 4”)


:mag: Key Additional Insight:

If I apply a 100% discount code (price = €0) before submitting the form, everything works fine (since the payment page does not open):
GFTrackEvent fires correctly.
gforms_submission is successfully sent to GTM.

I believe the issue is caused by Stripe redirecting the user to its external payment page, and when returning to the site, the script that should trigger the event does not execute properly.



:wrench: Troubleshooting Attempts So Far:

:white_check_mark: Checked for plugin conflicts .
:white_check_mark: Remove Caching on the form page (issue persists).

:bulb: Any help or suggestions would be greatly appreciated!

Thanks in advance for your support! :pray::blush:




Hello everyone,

Currently, I have modified my triggers in Google Tag Manager to ensure conversion tracking.
I created a new trigger called: with_script and added it as a second trigger to my gforms_submission tag, as well as to my Google Ads conversion tracking tag.

Additionally, I implemented a script on my order confirmation page that:

  • Activates a trigger
  • Sends specific form data (which the Google Analytics plugin should handle if the trigger worked properly)
  • Pushes these data into the data layer for enhanced conversion tracking

Here is the script I’m using:

<script> 
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    'event': 'with_script',
    'montant_total_conversion': '{Total:63:price}',
    'mail_address': '{E-mail:32}', 
    'nom': '{Identité (Nom):29.6}', 
    'prenom': '{Identité (Prénom):29.3}', 
    'phone_number': '{Téléphone:31}', 
    'city': '{Adresse (Ville):33.3}', 
    'zip_code': '{Adresse (ZIP / Code postal):33.5}', 
    'Country': 'France'
  });
</script>

This workaround functions as a temporary solution, but I really want to understand why my GFTrackEvent trigger does not fire when Stripe is set to “Payment Page” mode.

Has anyone encountered this issue before, or does anyone have an idea why the trigger configured on Google Analytics extion does not fire in this specific case?

Thanks in advance for your help! :pray::blush:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.