arrow-leftarrow-rightbook-openbooks-duotonechalkboardhead-side-brainlife-ring-regularmenusearchstopwatchvideo
Getting Started
Elements
Styling & Customization
Flows
Checkout Settings
Automation
Subscriptions
Order Management
Reporting & Analytics
Customer Portal
Affiliates
Integrations
TikTok
Zapier
Circle
Google
Rewardful
LeadDyno
FirstPromoter
Taxes
Custom Webhooks
ConvertKit
GoHighLevel
SEGMetrics
Drip
Make
MemberPress
Kajabi
Thinkific
MailChimp
ActiveCampaign
HubSpot
Keap
Infusionsoft
FAQ

Google Analytics Events

When you integrate Google Analytics (GA) with Spiffy we’ll handle passing checkout events and purchase data events.

Events Tracked

We currently track the following events:

  • page_view: Triggered when a user views a page on the Spiffy (upsell, checkout, etc.).
  • begin_checkout: Triggered when a user loads the checkout process.
  • purchase: Triggered when a user completes a purchase on Spiffy. This is sent at the END of the checkout flow to ensure things like upsells get included.

Event Data

These events can be accessed via debug mode or within your analytics account.

Purchase Event Example

The purchase event is triggered when a user completes a purchase through one of your checkouts. Here is an example of the data that’s sent:

{
    'transaction_id': 'SPIFFY-12345',
    'affiliation': 'Spiffy Checkout Demo',
    'value': 50.00,
    'tax': 9.99,
    'shipping': 0,
    'coupon': 'SPF25',
    'currency': 'USD',

    "items": [
        {
            'name': 'Product A',
            'id': 'PROD-123',
            'price': 49.99,
            'currency': 'USD',
        },
        {
            'name': 'Product B',
            'id': 'PROD-456',
            'price': 0.01,
            'currency': 'USD',
        },
    ],
}

Begin Checkout Event Example

The begin_checkout event is triggered when a user initiates the checkout process. Here is an example of the data that’s sent:

{
    'affiliation': 'Spiffy Checkout Demo',
    'value': 50.00, 
    'tax': 9.99,
    'currency': 'USD',

    "items": [
        {
            'name': 'Product A', 
            'id': 'PROD-123',
            'price': 49.99,
            'currency': 'USD',
        },
        {
            'name': 'Product B',
            'id': 'PROD-456',
            'price': 0.01,
            'currency': 'USD',
        },
    ],
}