Skip to content

How to track YouTube Ads in ActiveCampaign

YouTube Ads can send traffic to your site, but ActiveCampaign only becomes useful for ad measurement when each new contact carries the campaign information that brought them in. This guide shows how to pass YouTube Ads attribution into ActiveCampaign through UTM parameters and hidden form fields, then how to read the resulting reports.

Why send YouTube Ads data into ActiveCampaign

Website analytics can count visits from your ads, but it is not built to count leads and customers unless you run an eCommerce store. The missing link is the CRM record. If each new lead arrives in ActiveCampaign with its source channel, campaign and ad already attached, you can report on lead volume, customer conversion and revenue by ad without stitching tools together later.

Four setup steps

The setup has four parts: tag the ad destination URL, install the attribution script and add hidden fields, let the script populate those fields, then confirm the values reach ActiveCampaign. Each part has a distinct failure mode, so check them in order.

1. Add UTM parameters to your YouTube ad URLs

UTM parameters are extra text appended to the destination URL. For a YouTube ad pointing at an ActiveCampaign integrations page, a tagged URL could look like this: https://roipaths.com/integrations/activecampaign?utm_medium=paidsocial&utm_source=youtube&utm_campaign=brand-campaign. The exact values are your choice, but a consistent scheme is what makes reporting reliable. A common starting convention for YouTube Ads is:

  • UTM Medium = paidsocial
  • UTM Source = youtube
  • UTM Campaign = the campaign name
  • UTM Term = the ad name

UTM builders can generate these strings for you. Keep spelling and casing consistent across campaigns; the attribution script can reconcile some inconsistencies, but clean inputs reduce surprises.

2. Install the attribution script and add hidden fields

Once you have an account, you receive a small code snippet to place on your site. Installation differs by website builder such as WordPress, Wix or Webflow, and platform-specific instructions are available for each one. If you are evaluating the setup before committing, treat the snippet as a site-wide tag and confirm where your builder expects it to be inserted before publishing changes to a live page. Next, add hidden fields to every form that should capture attribution. The field set is: - Channel - Channel Drilldown 1 - Channel Drilldown 2 - Channel Drilldown 3 - Channel Drilldown 4 Most form builders, including ActiveCampaign forms, Gravity Forms and Webflow, support hidden fields. Step-by-step instructions exist for each builder, and it is worth checking that each field name matches exactly before you connect the form to ActiveCampaign.

3. How the script fills the hidden fields

Once installed, the script reads the technical signals that describe how a visitor reached your site and sorts each visit into a channel category, such as Paid Social, Paid Search or Organic Search. That classification is kept in a cookie in the visitor's browser, so it persists while they move between pages and even if they leave and return later. On form submission, the script writes the stored values into the hidden fields.

For a visitor from a YouTube ad, the populated values might be:

  • Channel = Paid Social
  • Channel Drilldown 1 = YouTube
  • Channel Drilldown 2 = Brand Campaign
  • Channel Drilldown 3 = Red Ad

The exact values depend on the UTM parameters you used.

4. Confirm the data reaches ActiveCampaign

On submission, the form tool captures the attribution values alongside the lead's name and email. If you use ActiveCampaign forms, the values appear on the contact record automatically. If you use a separate form tool such as Gravity Forms or Typeform, pass the attribution fields to ActiveCampaign the same way you pass name and email, typically through a native integration or a connector such as Zapier.

Field and control map

Use this map to check that each hidden field has a reporting purpose before you publish a form.

Worked example: from ad click to report row

Suppose a viewer clicks a YouTube ad tagged with utm_medium=paidsocial, utm_source=youtube, utm_campaign=brand-campaign and utm_term=red-ad. The script classifies the visit as Paid Social and writes Channel = Paid Social, Channel Drilldown 1 = YouTube, Channel Drilldown 2 = Brand Campaign and Channel Drilldown 3 = Red Ad into the hidden fields. The form submission carries those values into ActiveCampaign. Later, when the contact becomes a customer, the same values let a report group revenue under the Red Ad row. If any hidden field is missing from the form, that dimension disappears from reporting even though the click was tracked.

Checklist: where tracking usually breaks

  • The ad URL has no UTM parameters, so the visit cannot be classified.
  • The script is installed on some pages but not the landing page.
  • A form is missing one or more hidden fields, so a report dimension is blank.
  • A separate form tool does not forward the attribution fields to ActiveCampaign.
  • UTM values are inconsistent enough that the script cannot reconcile them.

Work through the list in order; the first three failures are the most common.

Three reports to run once data is flowing

With attribution values on each contact, three reports give a practical view of ad performance.

Leads by channel

Because the script captures the source of every lead, not only YouTube Ads, a channel report shows the full mix. If most leads come from Organic Search while most budget goes to Google and YouTube Ads, the report makes that mismatch visible and supports a budget conversation.

Customers by campaign

A campaign report shows how many customers each campaign generated per month. It separates campaigns that convert from those that do not, so budget can move toward the higher-performing ones and lower cost per customer.

Revenue by ad

A revenue-by-ad report compares cost with revenue for each ad, giving a truer ROI view than click or lead counts alone. Use it to decide which ads deserve more budget.

Getting started

Tracking YouTube Ads in ActiveCampaign comes down to tagging ad URLs, installing the script, adding the five hidden fields and confirming the values reach the CRM. Once that chain works, lead, customer and revenue reports can be segmented by channel, campaign and ad. Before you begin, check the current signup terms and setup guidance on the provider's site, since trial length, free-start conditions and setup time are set by the provider and may change. Use the signup page to review those details and confirm what applies to your account.

Hidden field to reporting role
Hidden fieldExample valueReporting role
ChannelPaid SocialTop-level channel grouping
Channel Drilldown 1YouTubePlatform or source within the channel
Channel Drilldown 2Brand CampaignCampaign grouping
Channel Drilldown 3Red AdAd-level grouping
Channel Drilldown 4—Additional drilldown level when used

Example values reflect the captured UTM scheme; your own values may differ.

Frequently asked questions

Do I need UTM parameters if I already see YouTube traffic in analytics?

Yes. Analytics can show visits, but ActiveCampaign needs the campaign information attached to the contact record. UTM parameters are what let the attribution script classify the visit and populate the hidden fields.

What happens if a visitor browses before submitting a form?

The attribution script stores the data in a browser cookie, so the original UTM values are still passed through when the form is submitted later.

Does the attribution script only track YouTube Ads?

No. It captures the source of all leads, including Paid Search, Organic Search and other channels, so reports can compare YouTube Ads against the rest of your acquisition mix.

What if my UTM values are inconsistent, such as youtube versus YouTube?

The script reconciles common inconsistencies and still classifies the lead into the correct channel, such as Paid Social. Consistent values are still recommended to keep reports clean.

How do attribution fields reach ActiveCampaign from a separate form tool?

Pass the hidden-field values to ActiveCampaign the same way you pass name and email, typically through a native integration or a connector such as Zapier.