Skip to main content

Analytics

PayPro Global offers you a wide range of Analytic Tools. Whether you are a tech-savvy person or a product owner with no coding experience, we can help you collect the data you need.

Google Analytics 4

Google Analytics 4 (GA4) is a robust analytics platform that offers comprehensive insights into user behavior across websites and applications. It empowers businesses to make data-driven decisions by leveraging an event-based tracking model, advanced customization, and AI-powered insights.

With GA4, organizations can better understand user journeys, optimize marketing strategies, enhance user experiences, and ultimately drive sustainable business growth.

Getting Started with Google Analytics 4 (GA4)

There are two main ways to begin using GA4 with your PayPro Global integration:

Option 1: Set Up GA4 Data Collection (First-Time Setup)

If you're new to Google Analytics, start by creating a GA4 property and setting up your Data Stream (for your website and/or app). Once your stream is configured, you'll receive a Measurement ID. With that in hand, proceed to Option 2 to integrate GA4 with your product configuration.

Option 2: Add Your GA4 Measurement ID to PayPro Global

If you already have a GA4 property and Measurement ID, you can easily enable tracking through the PayPro Global Control Panel:

  1. Go to Store Settings → Product Setup
  2. Click Edit on the relevant product
  3. Enter your Google Analytics 4 Measurement ID in the corresponding field

This will activate tracking on your checkout pages and send order-related data via the purchase event when a transaction occurs.

Custom Events

If you require tracking for specific actions beyond the default setup, you can request a custom event integration. Simply provide our team with:

  • The event name
  • A list of the data points you'd like to collect

We’ll configure the custom events on your behalf using any static GA4 Measurement ID you specify.

Alternatively, you can define your Google Tag Manager (GTM) container within your Google Analytics account and provide us with the completed tag you wish to implement. Our Integration Team will ensure the tag is correctly placed on your checkout pages and that the associated events are triggered as intended.

If you prefer to implement it yourself, you can do so via the Advanced Editing section in the Page Template settings:

  1. Go to Store Settings → Page Template.
  2. Click the Edit button.
  3. In the second step of the checkout template editor, paste your GTM container snippet.

Once added, all tags and triggers configured within your GTM account will operate according to your setup.

Add the following code so that it is as close to the opening <head> tag as possible on every page of your website. Replace GTM-XXXXXX with your container ID:

<!-- Google Tag Manager -->

<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXX');
</script>

<!-- End Google Tag Manager -->

Next, add this code immediately after the <body> element on every page of your website. Replace GTM-XXXXXX with your container ID:

<!-- Google Tag Manager (noscript) -->

<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-XXXXXX"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<!-- End Google Tag Manager (noscript) -->

Measurement protocol

Google Analytics 4 supports multiple ways of sending data, including the Measurement Protocol, which allows event data to be sent directly from our server. Our platform uses this method to report purchase events server-side for improved reliability and accuracy.

If you’d like to enable Measurement Protocol for tracking for your purchases, please contact our team to activate this feature.

Cross-domain tracking

Cross-domain tracking allows you to track a user's journey across different domains — from your website to the checkout page — as a single session. Without it, Google Analytics may treat each domain visit as a separate user, breaking attribution. Enabling cross-domain tracking ensures that your marketing source (e.g. Google Ads, email, or social) is correctly attributed when a purchase happens on the checkout page. This gives you accurate insights into what’s actually driving conversions.

To enable cross-domain tracking, you need to collect and pass two values from your site when redirecting to the checkout page:

ga-client-id – The user’s GA4 Client ID

ga-session-id – The current Session ID

Append them as URL parameters like this:

User ID

In GA4, the user ID is used to track individual users across sessions and devices, providing a more complete view of user behavior. It helps unify data under a single user profile, even if the user switches devices or browsers.

Our platform fully supports the user ID feature with no additional setup required.

The user ID should be a unique, persistent identifier that you assign to each logged-in user on your website or app. It should remain consistent across sessions and devices, allowing Google Analytics to associate multiple interactions with the same person. Typically, this can be the internal user ID from your database or authentication system. For more details, refer to the official GA4 User-ID documentation and the User-ID policy guidelines.

To use it, simply pass the user ID in the URL using the ga-user-id parameter when redirecting to the checkout page:

Meta Pixel

Meta Pixel is an analytics tool that allows you to measure the effectiveness of advertising on Facebook and study the actions of your site visitors. Meta Pixel data can be used to:

  • Ensure Facebook shows your ad to the right people.
  • Create audiences for advertising.
  • Set up retargeting on Facebook.

You can learn more about the Pixel code in the Meta Business Help Center.

You will need to set up and install Meta Pixel first. The instructions on how to do it can be found here.

Once you've created your Meta Pixel, you're ready to put the Pixel code on the checkout page.

Go to Events Manager and follow these steps:

  1. Click the Data sources icon on the left side of the page.
  2. Select the Pixel you want to set up.
  3. Click Continue Pixel Setup.
  4. Select Meta Pixel and click Connect.
  5. Select Install code manually.
  6. Copy the Pixel base code.
  7. Navigate to your PayPro Global account, Page templates section -> click Edit on the template -> go to 5. Advanced Editing tab.
  8. Find the header of the checkout page.
  9. Paste the base code at the bottom of the header section, just above the closing head tag, and click Save.

Our system supports the previously mentioned tracking and analytic options but is not limited to them. If you prefer to use other tracking tools, simply contact your account manager using the following email address: [email protected].

We value your time and understand that the integration process can be complex. Therefore, know that you can rely on any support you might need from our side in adequately setting up tracking tools.