How to setup GA4
Google Analytics 4 (GA4) Setup Guide for Trakpilot
Welcome to the Google Analytics 4 (GA4) user guide for Trakpilot. This document will help you understand the features and how to set up GA4 to track your marketing performance with the highest accuracy.
1. GA4 Overview in Trakpilot
Google Analytics 4 is the next generation of Google Analytics, providing event-based tracking solutions across both websites and apps. Trakpilot integrates GA4 to help you:
- Track customer behavior from landing to purchase.
- Accurately report revenue and the effectiveness of your Google Ads campaigns.
- Support both Client-side (browser) and Server-side (server) tracking for data optimization.
2. Setup Methods
To begin, first navigate to GTM & GA4 & Remarketing from the left sidebar menu, then click the Setup All Services button at the top right of the screen.

From here, Trakpilot offers two ways to connect your store with GA4. You can choose the most suitable method in the Measurement tab.
Method 1: Automatic Setup via GA4 API (Recommended)
This is the easiest and most accurate way, as the system automatically synchronizes the data.
Note: Your Google account or property must have Editor permissions or higher.
- Connect Google Account: Click the Connect **button to connect **Google Account to authorize Trakpilot to access your GA4.
- Select GA4 Account: Once connected, select the Google Analytics account that contains your store's Property.
- Select Measurement ID: The system will list available Data Streams. Simply select the corresponding ID (usually in the format
G-XXXXXXXXXX).

Method 2: Manual Measurement ID
If you prefer not to connect your entire Google account or already have a Measurement ID:
- Switch to the Manual Measurement ID tab.
- Enter your Measurement ID directly, which you can find in your Google Analytics Dashboard. Find your measurement ID: https://support.google.com/analytics/answer/12270356?hl=en
- Click save to complete the process.

3. Server-side Tracking Configuration
Server-side Tracking is a premium feature (Available for Pro & Enterprise plans) that sends data directly from Trakpilot's servers to Google Analytics instead of relying solely on the customer's browser.
Benefits:
- Bypass Ad-blockers.
- More accurate data, unaffected by restricted third-party cookies.
- Enhanced customer data security and privacy.
How to set up:
- Toggle on Server-side Tracking.

- If you utilize Automatic Setup, the system will attempt to retrieve this code for you if you have Editor permissions on that GA4 property.
- If you use Manual Setup, enter the API Secret ID (Measurement Protocol API Secret). You need to generate this code in the Data Stream settings within the Google Analytics console. Follow here to generate this code: https://support.google.com/analytics/answer/9814495?sjid=3475942590804519127-NC
4. Status and Important Notes
Operational Status
- ON (Green): GA4 is active and tracking data.
- OFF (Gray): GA4 is disabled; no data is being sent.
Permissions
If you see a "Missing Permissions" notification:
- This means your Google account does not have sufficient permissions (such as Editor access) to perform automatic changes.
- How to fix: Click Reconnect Account to log in again and ensure all requested permissions are checked, or ask your GA4 administrator to grant you Editor access.
Quick Troubleshooting
- Account not found: Ensure you are logged into the correct Google account that manages that specific store.
- Data saving error: Ensure the Measurement ID is in the correct format and that you have enabled API access in your Google Analytics settings.
5. How to Verify GA4 is Working Correctly
How to check if GA4 is tracking
Once setup is complete, you can verify that the system is receiving data using the following methods:
Method 1: Check Real-Time Reports
This is the fastest way to confirm that data is being sent successfully.
- Log in to your Google Analytics account.
- Select the correct GA4 Property for your website.
- Navigate to Reports > Real-time.
- Open your website in a new tab, browse a few pages, or view a product.
- Go back to the Real-time report; you should see your visit (Active Users) and events (Event Count) starting to appear.
Method 2: Use Browser Extensions
You can install the following tools to debug directly in your browser (Client-side):
- Tag Explorer: View events as they are triggered while you interact with your site (e.g.,
view_item,add_to_cart). - Google Analytics Debugger: Turn this tool ON to send detailed debug information to the GA4 DebugView.
Method 3: Verify Server-side Tracking (Crucial)
To ensure that Server-side events are being tracked, you need to check the event source parameter:
- Open GA4 and go to DebugView (Admin > Property > DebugView).
- Perform an action on your website (e.g., Add to Cart).
- In DebugView, click on the event that just appeared.
- Check the Parameters tab and look for:
event_source:- If the value is
trakpilot_server: The event was successfully sent from Trakpilot's server (Server-side). - If the value is
trakpilot_client: The event was sent from the browser (Client-side).
- If the value is
- You can also check this in Real-time reports by clicking on an event and looking for the same parameter.
If you see both event sources, GA4 will automatically handle deduplication to ensure your reports are accurate and not duplicated, while optimizing data collection when browser scripts or cookies are blocked.
Using a combination of Auto Setup and enabling Server-side Tracking will provide the highest data accuracy for your advertising campaigns
.
Updated on: 11/03/2026
Thank you!