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 sends events to Google Analytics when visitors open your Pages and Sign Up Links, enter their email, check out and finish joining.
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
Tracking starts once you save. Events are sent from each visitor's browser as they happen, so visits from before you saved the ID never reach Google Analytics.
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): Sent when someone opens one of your Pages, any Sign Up Link (free or paid), or your custom domain's homepage or login screen.
- 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): Sent when someone reaches the payment step of checkout. It isn't sent when there's nothing to pay.
- 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.
Tracking a Page
Every Page on your custom domain sends page_view when someone opens it. On a free or paid Page, clicking its sign up or checkout button takes the visitor to the Page's connected Sign Up Link, which sends generate_lead when they enter their email, begin_checkout and purchase if they pay, and sign_up when they finish joining. Pages have no analytics view inside Heartbeat, so Google Analytics is where you see their visits and sign ups.
To compare campaigns, add UTM tags to the Page link you share in each one, for example yourdomain.com/p/your-page?utm_source=linkedin&utm_campaign=spring.
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?
No. Conversion tracking covers your Pages, Sign Up Links and their checkout. It doesn't track member activity inside your community (posts, Events, Course progress), and purchases made anywhere else, such as Resource sales, Event tickets and upgrades bought inside the community, don't send events. For engagement stats, open Analytics from the menu next to your community name at the top of the left sidebar.
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