Tracking & Analytics Setup

Smashleads integrates directly with your tracking stack so you can attribute leads back to specific ad campaigns, creative variants, and audience segments. This guide covers setup for the three native tracking integrations: Google Tag Manager, Meta Pixel, and Hyros.

Why Tracking Integration Matters

Most form builders give you “a lead came in” and nothing else. Smashleads lets you map funnel variables (the actual data your leads provide — budget, industry, timeline, service interest) directly to tracking events. This means your ad platforms can optimize based on lead quality, not just lead volume.

Google Tag Manager (GTM)

GTM is the most flexible integration — it acts as a middleman between Smashleads and your entire marketing stack.

Setup

  1. Go to Funnel Settings → Integrations
  2. Paste your GTM Container ID (format: GTM-XXXXXXX)
  3. Save — the GTM container script loads automatically on your published funnel

Events Pushed to dataLayer

Smashleads automatically pushes events to the GTM dataLayer at key moments:

EventWhenData Included
smashleads_pageviewEach funnel page loadsPage index, page title
smashleads_step_completeUser completes a stepStep index, variables collected
smashleads_lead_submitFinal form submissionAll captured variables
smashleads_variable_setAny variable is assignedVariable name and value

Variable-to-Event Mapping

The real power is in the smashleads_variable_set event. Every time a user makes a selection or fills in a form field, the variable name and value are pushed to the dataLayer:

dataLayer.push({
  event: 'smashleads_variable_set',
  variable_name: 'monthly_budget',
  variable_value: '10000-25000',
});

In GTM, you can create triggers and tags that fire based on specific variable values — for example, sending a high-value conversion event to Google Ads only when monthly_budget exceeds a threshold.

Meta Pixel (Facebook)

Meta Pixel integration enables conversion tracking and audience building for Facebook and Instagram ad campaigns.

Setup

  1. Go to Funnel Settings → Integrations
  2. Paste your Meta Pixel ID (numeric, e.g., 1234567890123456)
  3. Save — the Pixel base code loads automatically

Standard Events

Smashleads fires standard Meta Pixel events automatically:

Meta EventWhen
PageViewEach funnel page loads
LeadFinal form submission
CompleteRegistrationIf funnel type is registration-focused

Custom Conversions

For granular tracking, Smashleads pushes custom events with variable data:

fbq('trackCustom', 'SmashleadsVariable', {
  variable_name: 'service_interest',
  variable_value: 'solar-installation',
  funnel_id: 'abc123',
});

You can create Custom Conversions in Meta Events Manager that match on these custom events — for example, counting only leads where service_interest equals a specific value.

Hyros

Hyros is the premium attribution platform that Smashleads integrates with natively. This integration is the deepest and most powerful — it’s what turns Smashleads from a funnel builder into a lead-quality optimization engine.

Setup

  1. Go to Funnel Settings → Integrations
  2. Paste your Hyros Tracking Script URL
  3. Save — the Hyros script loads on your published funnel

Variable-to-Event Mapping

Hyros integration maps funnel variables directly to Hyros attribution events. When a lead provides a budget of “$25K+”, Hyros records that value against the click attribution chain — meaning you can see exactly which ad, audience, and creative generated the high-value lead.

Why This Matters for Agencies

Without variable mapping, your Hyros data shows: “Ad X generated 50 leads.”

With Smashleads variable mapping, your Hyros data shows: “Ad X generated 50 leads, 12 of which have budgets over $25K, 8 are in solar industry, and 15 want to start within 30 days.”

This lets media buyers allocate budget to ads that generate quality leads, not just more leads.

Webhook Integrations

Beyond native tracking, Smashleads supports webhook triggers for automation platforms:

Zapier & Make.com

Configure webhook URLs in Funnel Settings → Integrations → Webhooks. Smashleads sends a POST request with the complete lead payload (all variables, metadata, timestamps) on each submission.

This enables workflows like:

  • Push leads to your CRM (HubSpot, Salesforce, Pipedrive)
  • Send lead data to Google Sheets for reporting
  • Trigger SMS notifications to the agency client
  • Create tasks in project management tools

Setup Checklist