Pro subscription required. Analytics tracking is available on the Flashquotes Pro plan. Learn more about upgrading.
What gets tracked
Flashquotes automatically sends these events to your GA4 property when visitors interact with your lead intake forms:| Event | When it fires | What it tells you |
|---|---|---|
form_view | Form page loads | How many people see your form |
form_start | First field interaction | How many people start filling out your form |
generate_lead | Successful submission | How many leads you captured |
- form_id - The unique identifier for your form
- form_name - The name you gave your form in Flashquotes
- UTM parameters - utm_source, utm_medium, utm_campaign, utm_term, utm_content (when present in URL)
generate_lead event also includes:
- lead_id - The Flashquotes lead ID
- quote_id - The associated quote ID (if created)
Set up GA4 tracking
Get your GA4 Measurement ID
Your Measurement ID looks like
G-XXXXXXXXXX. Find it in your Google Analytics account:- Go to Google Analytics
- Click Admin (gear icon)
- Under Property, click Data streams
- Select your web stream
- Copy the Measurement ID (starts with
G-)
Add to Flashquotes
- Go to Settings > Integrations
- Find the Google Analytics card
- Click Connect and paste your Measurement ID
- Click Save
Add an API Secret (optional, recommended for Shopify)
An API Secret enables server-side tracking for the
generate_lead event. This is required if your form is embedded on a Shopify site.- In GA4, go to Admin > Data Streams
- Select your web stream
- Under Measurement Protocol API secrets, click Create
- Give it a nickname (e.g. “Flashquotes”) and copy the secret value
- Back in Flashquotes, paste it into the API Secret field and click Save
Server-side tracking (Shopify)
Shopify sandboxes third-party scripts inside iframes. This blocks client-side GA4 tracking — yourgenerate_lead events won’t reach GA4 when your form is embedded on a Shopify page.
Adding a GA4 API Secret fixes this. Flashquotes sends generate_lead events directly from its server to GA4 using the Measurement Protocol, bypassing the iframe entirely.
What fires client-side vs. server-side:
| Event | How it’s sent |
|---|---|
form_view | Client-side |
form_start | Client-side |
generate_lead | Server-side (when API Secret is set) |
- In GA4, go to Admin > Data Streams
- Select your web stream
- Scroll to Measurement Protocol API secrets and click Create
- Name it (e.g. “Flashquotes”) and copy the secret value
- In Flashquotes, go to Settings > Integrations > Google Analytics
- Paste the value into the API Secret field and click Save
Using UTM parameters
Flashquotes automatically captures UTM parameters from your form URLs and includes them in all events. This lets you track which marketing campaigns drive the most leads. Example URL with UTM parameters:- Which sources drive the most form views
- Which campaigns have the best form completion rates
- Which channels generate the most leads
Build reports in GA4
Create a conversion funnel
- In GA4, go to Explore
- Create a new Funnel exploration
- Add steps: form_view → form_start → generate_lead
- See your form conversion rates
Track lead sources
- Go to Reports > Acquisition > Traffic acquisition
- Add a secondary dimension of “Event name”
- Filter to show only
generate_leadevents - See which sources drive the most leads
Best practices
- Test before launching campaigns - Submit a test lead and verify events appear in GA4 Realtime before spending on ads
- Use consistent UTM parameters - Create a UTM naming convention for your team
- Set up GA4 conversions - Mark
generate_leadas a conversion event in GA4 for easier reporting - Connect Google Ads - Link GA4 to Google Ads to import conversions for better ad optimization
Troubleshooting
Events not appearing in GA4
- Check Measurement ID format - Must start with
G-followed by 6-12 alphanumeric characters - Wait a few minutes - GA4 can have a slight delay; use Realtime reports for faster verification
- Check for ad blockers - Browser extensions may block GA4 tracking
- Verify Pro subscription - Analytics tracking requires Flashquotes Pro
Events not tracking on Shopify
Shopify sandboxes GA4 in iframes, which blocks client-side event tracking. Add your GA4 API Secret to switchgenerate_lead to server-side delivery. See Server-side tracking (Shopify) for setup steps.
Duplicate events
- Each page load should trigger one
form_view - If you see duplicates, check that you haven’t also added GA4 tracking manually to the page
UTM parameters not tracking
- UTM parameters must be in the URL when the form loads
- Check that your marketing links include the UTM parameters
- Parameters are case-sensitive
Next steps
- Set up Google Tag Manager for advanced tracking needs
- Learn about form embedding to add forms to your website
- View your leads to see captured form submissions

