How can we help?

How to Set Up Conversion Tracking with Google Analytics for Heartbeat Payments

  • Updated

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:

Step 2: Add Your Tracking ID to Heartbeat

  1. Log into your Heartbeat community as an administrator
  2. Navigate to Settings > Revenue > Tracking
  3. Paste your GA4 Measurement ID (e.g., G-ABC1234567) into the Google Analytics ID field
  4. 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.

CleanShot 2026-07-22 at 18.45.02@2x.png

Tracked Events

The following events are sent when conversion tracking is enabled:

  1. Page Visit: When someone visits a page through a paid invitation link, a page visit event is sent.
  2. Lead: After someone enters their email address, a lead event is sent to track the initiation of potential leads.
  3. Initiate Checkout: When someone chooses a plan, an initiate checkout event is sent to track their progress in the purchasing process.
  4. Purchase: Upon the completion of a purchase, a purchase event is sent with attributes including the "value" and "currency" of the purchase.
  5. Complete Registration: When a user finishes onboarding within the community, a complete registration event is sent.

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
  • Payment info not required: The Purchase event fires when they complete payment after the trial ends

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?

  1. Open your Google Analytics real-time report in one browser tab
  2. In another tab, go through your sign-up flow as a test user
  3. Check your Google interface for real-time events appearing as you progress through the checkout

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request