Heartbeat's conversion tracking feature allows you to connect Google Analytics (GA4) to your community to measure the effectiveness of your advertising campaigns. When enabled, Heartbeat automatically sends conversion events to Google Analytics when users interact with your paid Sign Up Links and complete purchases.
This feature is available on the following plans: Grow, Scale, Growth (legacy), Business (legacy)
Requires a custom domain. Conversion pixels only fire when your community is on a custom domain. They will not track on the default *.heartbeat.chat address. Until a custom domain is connected, the Meta Pixel ID and Google Analytics ID fields stay disabled. See How to Set Up a Custom Domain for Your Community before you begin.
Getting Started
Step 1: Obtain Your Tracking ID
Before setting up conversion tracking in Heartbeat, you'll need your tracking ID from Google:
- How to find your Google Analytics tracking ID (typically starts with "G-" for GA4)
Step 2: Add Your Tracking ID to Heartbeat
- Log into your Heartbeat community as an administrator
- Navigate to Settings > Revenue > Tracking
- Paste your GA4 Measurement ID (e.g., G-ABC1234567) into the Google Analytics ID field
- Click Save
Your conversion tracking is now active. Heartbeat will automatically send events to Google as users progress through your sign-up and checkout flows.
Tracked Events
The following events are sent when conversion tracking is enabled. Google Analytics receives them under its own event names, shown in brackets, which is how they appear in your reports:
- Page Visit (page_view): When someone visits a page through a paid invitation link, a page visit event is sent.
- Lead (generate_lead): After someone enters their email address, a lead event is sent to track the initiation of potential leads.
- Initiate Checkout (begin_checkout): When someone chooses a plan, an initiate checkout event is sent to track their progress in the purchasing process.
- Purchase (purchase): Upon the completion of a purchase, a purchase event is sent with attributes including the "value" and "currency" of the purchase.
- Complete Registration (sign_up): When a user finishes onboarding within the community, a complete registration event is sent.
Before October 20, 2026, Google Analytics received these as Lead, InitiateCheckout, Purchase and CompleteRegistration, so reports that include earlier dates can list both names.
Frequently Asked Questions
Who should use conversion tracking?
Conversion tracking is valuable for community admins who run paid advertising campaigns (Google Ads, social media ads, etc.) and want to measure return on ad spend (ROAS) and optimize their campaigns based on actual purchases.
Does conversion tracking work with free trials?
Yes, but the timing of the purchase event depends on your free trial settings:
- Payment info required upfront: The purchase event fires when they start the trial, with a value of 0
- Payment info not required: The purchase event also fires when they start the trial, with a value of 0
Nothing is sent to Google Analytics when the first payment is taken at the end of the trial, because Stripe charges it in the background. To count trial sign ups as conversions, use purchase.
Can I use a thank-you page as a conversion goal?
There isn't one. The whole sign up happens on the /invitation page, and each step only changes the end of the URL (for example #email or #checkout), so use events instead of a URL goal. In Google Analytics, mark purchase as a key event if it isn't one already, and build your funnel as page_view > generate_lead > purchase. Anyone who reaches generate_lead but not purchase started joining but didn't finish.
Do my UTM parameters need to reach the Sign Up Link?
No. Google Analytics credits generate_lead and purchase to the visit they happened in, so UTMs on the link to your landing page are enough.
Why are my Google Analytics numbers lower than my member list?
Visitors who don't consent to statistics cookies aren't counted, and tracking only runs on your custom domain.
Will this track all my community activity?
Conversion tracking specifically monitors your paid sign-up and checkout flows. It does not track member activity within your community (posts, events, course progress, etc.). For community engagement analytics, use Heartbeat's built-in analytics found in Settings > Analytics.
How do I verify my tracking is working?
- Open your Google Analytics real-time report in one browser tab
- In another tab, go through your sign-up flow as a test user
- Check your Google interface for real-time events appearing as you progress through the checkout