Skip to main content

Google Analytics (GA4)

Connect Google Analytics to RecurrinGO

Andrey Gadashevich avatar
Written by Andrey Gadashevich
Updated over a week ago

Send recurring order transactions and subscription-related events from RecurrinGO to your Google Analytics 4 property.

Prerequisites:

  • A Google Analytics 4 property (UA is not supported).

  • Access to Admin in GA4 to view Data streams and create a Measurement Protocol API secret.

  • Your Shopify store has the standard GA4 snippet installed (via Shopify or your theme/app).

Access Google Analytics integration by navigating to:

RecurrinGO → Settings → App integrations → Google Analytics

What you can do here:

  • Enable/disable the GA4 integration.

  • Connect your GA4 web data stream using:

    • Measurement ID (format: G-XXXXXXXXXX)

    • API secret key (for Measurement Protocol)

  • Use GA4 reports (Realtime, Events, Conversions, Explorations) to analyze subscription activity.

What gets tracked?

  • Recurring order transactions and subscription-related events from RecurrinGO are sent to your GA4 property via the Measurement Protocol.

  • Once connected, you’ll see these events under Reports → Engagement → Events and in Realtime.

Tip: After events appear, you can mark important ones as Conversions in Admin → Conversions.

Step-by-step: Connect GA4

  1. Open the integration page
    Go to RecurrinGO → Settings → App integrations → Google Analytics.

  2. Enable the toggle
    Check Enable Google Analytics integration.

  3. Grab your GA4 Measurement ID

    • In a new tab, open Google Analytics → select your GA4 property.

    • Go to Admin → Data streams → Web → [your stream].

    • Copy the Measurement ID (looks like G-XXXXXXXXXX).

  4. Create an API secret key (Measurement Protocol)

    • In the same Web data stream, scroll to Measurement Protocol.

    • Click Create → name it (e.g., “RecurrinGO”) → Create.

    • Copy the API secret.

  5. Paste & save in RecurrinGO

    • Measurement ID: paste your G-… value.

    • API secret key: paste the newly created secret.

    • Save/confirm.

  6. Verify events

    • In GA4, open Reports → Realtime or Admin → DebugView.

    • Perform a subscription action (e.g., start a subscription, renew, or complete a recurring order) and confirm you see incoming events.

Best practices

  • Use one GA4 property per storefront to avoid mixed data.

  • Time zone & currency in GA4 should match your Shopify settings for consistent totals.

  • If you use Consent Mode or region-based privacy controls, make sure your GA configuration allows server-side Measurement Protocol hits.

Troubleshooting

👉 “Invalid API secret” or no events arriving
Recreate the Measurement Protocol secret in the same web data stream you used for the Measurement ID and paste it again.

👉 Events not visible

  • Check Realtime first; standard reports can delay 5–15 minutes.

  • Make a fresh subscription action after enabling (data isn’t backfilled).

  • Ensure your storefront runs GA4 (no blockers in theme/apps) and that ad-blockers aren’t blocking your own test.

Need Help?

If you have any questions or need help, please contact our support team.

📩 Contact Support: Reach out to us via live chat or send an email to [email protected]

Did this answer your question?