Google Analytics 4 (GA4) integration
How Spara integrates with Google Analytics 4.
Spara's integration with Google Analytics allows you to choose which property will receive the conversion events and which of these three events to send:
Lead engaged = Tracks when a lead sends their first message to Spara (i.e engages with Spara
Email capture = Tracks when a lead's email is captured in Spara
Demo scheduled = Tracks when a lead schedules a call / books a demo
Step 1: Authentication
Navigate to the Integrations page by clicking on the Settings link in the left hand navigation bar.
Click the "Authorize" button. This will lead you through a flow to link your Google Analytics account

Click "Connect" and log into your Google account.
After connecting your account, a warning page will appear, as shown below. You have two options:
Wait for up to a few days for Google to verify the app, or
Bypass the warning by selecting Advanced > Go to Spara, then continue setting up the integration.

Step 2: Configure Google Analytics
Select the property to receive Spara conversion events and choose the event tracking settings.

Step 3: Tracking Spara Events in Google Analytics
Step 3a: Get Your Measurement ID
Log in to analytics.google.com.
Click Admin (Settings gear icon) in the bottom left corner.
Navigate to Data collection and modification > Data Streams.
Click on your specific website data stream.
In the window that opens, copy the Measurement ID (it starts with G-).
Step 3b: Configure the Tag in GTM
Log in to tagmanager.google.com and open your Workspace.
Click Tags on the left menu, then click the New button.
Name your tag (e.g., "GA4 - SPARA Event").
Click the Tag Configuration box.
Select Google Analytics: GA4 Event.
Configuration:
Measurement ID: Paste the ID you copied from Google Analytics.
Event Name: Enter a name describing the event (e.g., spara_conversion). Note: This is the name that will appear in your GA4 reports.
Step 3c: Configure the Trigger
Scroll down to the Triggering box and click it.
In the top right corner of the menu that appears, click the Plus (+) button to create a new trigger.
Name the trigger (e.g., "Trigger - SPARA Demo Booked").
Click the Trigger Configuration box and scroll down to select Custom Event.
Event Name: Enter the exact code provided below that corresponds to the action you want to track. It must match the data layer exactly:
spara_demo_booked
spara_email_provided
spara_engaged
spara_loaded
Note: If you want to track multiple actions, you must create a separate Trigger (and corresponding Tag) for each event name.
Click Save to save the Trigger.
Step 3d: Finalize and Publish
Click Save on the Tag configuration screen.
Verify your workspace changes look correct (1 Tag and 1 Trigger added).
Click the blue Submit button in the top right corner.
Add a version name (e.g., "Added SPARA Tracking") and click Publish.
Step 3e: Verify with Preview Mode
Before assuming everything is working, you should test the setup using Google Tag Manager's "Preview" mode.
Enter Preview Mode:
In your Google Tag Manager workspace, click the Preview button in the top right corner (next to Submit).
Enter your website URL in the window that pops up and click Connect.
A new window will open with your website, and a "Tag Assistant Connected" badge should appear in the bottom right corner.
Trigger the Event:
On your website (in the new window), interact with the SPARA software to force the event to happen.
Example: If you set up the spara_email_provided trigger, actually type a test email into the SPARA widget.
Check the Debug Window:
Go back to the Tag Assistant tab (the window where you clicked "Connect").
On the left-hand specific Summary column, look for the event name you entered (e.g., spara_email_provided). It should appear in the list as you perform the action.
Click on that event name in the list.
Confirm the Tag Fired:
After clicking the event name, look at the main window under the Tags Fired section.
You should see your "GA4 - SPARA Event" tag listed there.
If the tag is listed under "Tags Not Fired," click it to see which trigger condition failed.
Last updated