Pro subscription required. Analytics tracking is available on the Flashquotes Pro plan. Learn more about upgrading.
Why use Google Tag Manager
GTM is ideal when you need to:- Track multiple platforms - Send conversion data to Facebook Pixel, LinkedIn Insight Tag, TikTok Pixel, etc.
- Use advanced triggers - Fire tags based on specific form events or custom conditions
- Manage tracking centrally - Update all your tracking from one GTM container
- A/B test tracking - Experiment with different tracking configurations
Events pushed to dataLayer
Flashquotes pushes these events to the GTM dataLayer 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 |
generate_lead event also includes:
- lead_id - The Flashquotes lead ID
- quote_id - The associated quote ID (if created)
Set up GTM tracking
Get your GTM Container ID
Your Container ID looks like
GTM-XXXXXXX. Find it in Google Tag Manager:- Go to Google Tag Manager
- Select your container (or create one)
- Your Container ID appears at the top of the workspace
Add to Flashquotes
- Go to Settings > Integrations
- Find the Google Tag Manager card
- Click Connect and paste your Container ID
- Click Save
Create triggers in GTM
In your GTM container, create triggers for each Flashquotes event:
- Go to Triggers > New
- Choose Custom Event as the trigger type
- Set Event name to match (e.g.,
generate_lead) - Save the trigger
- Repeat for
form_viewandform_start
Example: Facebook Pixel setup
Here’s how to track Flashquotes leads as Facebook conversions:1. Create variables for form data
In GTM, go to Variables > User-Defined Variables > New:| Variable Name | Variable Type | Data Layer Variable Name |
|---|---|---|
| FQ - Form ID | Data Layer Variable | form_id |
| FQ - Form Name | Data Layer Variable | form_name |
| FQ - Lead ID | Data Layer Variable | lead_id |
2. Create the trigger
- Go to Triggers > New
- Choose Custom Event
- Set Event name to
generate_lead - Name it “FQ - Lead Generated”
3. Create the Facebook Pixel tag
- Go to Tags > New
- Choose Facebook Pixel (or Custom HTML if not available)
- Configure the Lead event with your Pixel ID
- Add the “FQ - Lead Generated” trigger
- Save and publish
4. Test in Preview mode
- Click Preview in GTM
- Open your Flashquotes form
- Submit a test lead
- Verify the tag fires in GTM’s debug panel
Best practices
- Use GTM Preview mode - Always test new tags before publishing
- Name things clearly - Use prefixes like “FQ -” for Flashquotes-related items
- Document your setup - Note which tags use which triggers
- Test conversions end-to-end - Verify data appears in your ad platforms
- Don’t double-track - If using GTM, don’t also add GA4 directly in Flashquotes
Troubleshooting
Events not appearing in GTM Preview
- Check Container ID format - Must be
GTM-followed by 6-10 alphanumeric characters - Refresh the page - GTM loads on page load
- Check for conflicts - Ensure GTM isn’t also loaded by your website
Tags not firing
- Verify trigger setup - Event names are case-sensitive (
generate_leadnotGenerate_Lead) - Check trigger conditions - Make sure there are no extra conditions blocking the trigger
- Test in Preview mode - GTM Preview shows exactly why tags fire or don’t fire
Data not appearing in ad platform
- Allow time for sync - Some platforms take hours to show conversion data
- Check pixel/tag setup - Verify your ad platform tag is configured correctly
- Test with platform tools - Use Facebook Pixel Helper, LinkedIn Insight Tag debugger, etc.
Using both GA4 and GTM
If you add both GA4 and GTM IDs in Flashquotes:- Both will receive events
- Make sure you’re not sending duplicate data to GA4 (once directly, once via GTM)
- Choose one method: either direct GA4 or GA4 via GTM
Next steps
- Set up direct GA4 tracking if you only need Google Analytics
- Learn about form embedding to add forms to your website
- View your leads to see captured form submissions

