Server-Side Analytics
Track conversions accurately with server-side analytics
Server-Side Analytics
Send Pay Links includes built-in server-side analytics that bypass ad blockers and browser restrictions, giving you accurate conversion data.
Why Server-Side?
Traditional client-side tracking has limitations:
- Ad blockers - Block tracking pixels
- iOS 14+ - Limits cross-site tracking
- Browser privacy - Restricts third-party cookies
Server-side tracking sends data directly from our servers to analytics platforms, ensuring accurate attribution.
Supported Platforms
| Platform | Events Tracked |
|---|---|
| Facebook CAPI | Purchase, InitiateCheckout, AddPaymentInfo |
| Google Analytics 4 | purchase, begin_checkout, add_payment_info |
| TikTok Events API | CompletePayment, InitiateCheckout |
| Klaviyo | Placed Order, Started Checkout |
| Attentive | Order Completed, Checkout Started |
| CustomerLabs | All events |
Configuration
All analytics providers are configured through the admin portal. Navigate to Settings > Analytics & Marketing to configure your providers.
All credentials are encrypted and stored securely. Sensitive fields like API keys and access tokens are never displayed after saving.
Facebook Conversions API
- In your admin portal, go to Settings > Analytics & Marketing > Facebook CAPI
- Enter your credentials:
- Pixel ID - Your Facebook Pixel ID
- Access Token - Your Conversions API access token
- Test Event Code - Optional, for testing in Events Manager
To get your credentials:
- Go to Facebook Events Manager
- Select your Pixel
- Go to Settings > Conversions API to generate an access token
Google Analytics 4
- In your admin portal, go to Settings > Analytics & Marketing > Google Analytics 4
- Enter your credentials:
- Measurement ID - Your GA4 measurement ID (starts with
G-) - API Secret - Your Measurement Protocol API secret
- Measurement ID - Your GA4 measurement ID (starts with
To get your API secret:
- Go to your GA4 property
- Navigate to Admin > Data Streams
- Select your web stream
- Go to Measurement Protocol API secrets
Klaviyo
- In your admin portal, go to Settings > Analytics & Marketing > Klaviyo
- Enter your credentials:
- Private API Key - Your Klaviyo private key (starts with
pk_) - Public API Key - Your Klaviyo public/site ID
- Private API Key - Your Klaviyo private key (starts with
To get your API keys:
- Go to your Klaviyo account
- Copy your Private and Public API keys
Attentive
- In your admin portal, go to Settings > Analytics & Marketing > Attentive
- Enter your credentials:
- API Key - Your Attentive API key
- Company ID - Your Attentive company identifier
CustomerLabs
- In your admin portal, go to Settings > Analytics & Marketing > CustomerLabs
- Enter your credentials:
- Account ID - Your CustomerLabs account ID
- API Token - Your CustomerLabs API token
Event Mapping
Events from Send Pay Links are automatically mapped to platform-specific events:
| Checkout Event | GA4 | TikTok | |
|---|---|---|---|
| checkout.initialized | InitiateCheckout | begin_checkout | InitiateCheckout |
| payment.succeeded | Purchase | purchase | CompletePayment |
| upsell.accepted | Purchase | purchase | CompletePayment |
User Data Hashing
For privacy compliance, PII (personally identifiable information) is automatically hashed before sending:
- Email addresses → SHA256
- Phone numbers → SHA256 (E.164 format)
- Names → SHA256 (lowercase, trimmed)
This ensures compliance with platform requirements and privacy regulations.
Testing Your Integration
To verify your analytics are working:
- Facebook: Use the Test Event Code field and check Events Manager > Test Events
- Google Analytics: Use GA4 DebugView in real-time reporting
- Klaviyo: Check your Klaviyo activity feed for incoming events
Server-side events may take up to 24 hours to appear in platform dashboards due to processing delays.
Troubleshooting
Events Not Appearing
If events aren't showing up in your analytics platform:
- Verify your credentials are correct in the admin portal
- Check that the provider shows as "Configured" with a green indicator
- Ensure your platform account is active and properly set up
- Wait up to 24 hours for events to process
Duplicate Events
If you're seeing duplicate events, you may have both client-side and server-side tracking enabled. Consider disabling client-side tracking for events that are being sent server-side.