Payment and Integrations

icon picker
Google Analytics

Objective

Integrate Google Analytics 4 (GA4) with Agency Handy to allow users to track key events, such as page views, sign-ups, purchases, and conversions, and enable cross-domain tracking to capture user sessions seamlessly across multiple domains.

1. GA4 Integration

Purpose: To enable Agency Handy users to track page views, sign-ups, and purchase events using GA4 for enhanced insights on user activities.
Setup:
Location: The GA4 integration setup will be located within Agency Handy’s Admin Settings under “Integrations.”
User Inputs: Users need to enter their GA4 Measurement ID.
Instructions: Users can find their Measurement ID by navigating to GA4 Admin → Data collection and Modification → Data Streams → Web in their GA account.
Data Collected:
Page Views: All page views are sent to GA4 automatically.
Purchase Events: When clients complete a purchase and reach the receipt page, Agency Handy sends a purchase event to GA4 (automatically), including:
Event Name: purchase
Parameters: Purchase total and currency.
User Events: sign_up and login events are automatically sent to GA4, helping track critical user actions.

Cross-Domain Tracking for GA4

Objective: To ensure seamless tracking of user sessions when clients navigate from the main domain (e.g., agencyhandy.com) to the client domain (e.g., clients.agencyhandy.com).
Setup:
Enable cross-domain tracking in the GA4 dashboard by whitelisting both the primary domain and the client domain. ()
Expected Outcome: Cross-domain tracking maintains user sessions across domains, ensuring accurate tracking of user journeys from initial site visits to completed transactions.

Acceptance Criteria

GA4 Tracking: Page views, purchases, sign-ups, and logins must successfully send data to Google Analytics.
Cross-Domain Tracking: User sessions should remain consistent across the main and client domains.

Notifications & Support

Documentation: Provide a detailed setup guide within Agency Handy’s Help Center.
Error Logging: Track integration errors in real-time and alert users via notifications if data fails to send.

QA & Testing

Scenarios:
Verify accurate data transmission for GA4 events, including page views, purchases, sign-ups, and logins.
Test cross-domain session continuity to ensure that user sessions remain consistent across domains.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.