ActiveCampaign revenue tracking: which emails lead to paid plans
By Devendra Variya, co-founder of Virling. Published 2026-11-26.
In a B2B SaaS, ActiveCampaign usually runs the nurture and trial automations, and the money arrives weeks later as a Stripe payment or invoice that never passes through the email. ActiveCampaign revenue tracking means crediting that paid invoice to the email click that started it. Turn on Google Analytics for each campaign and automation email so links carry utm_medium=email and a utm_campaign, run the Virling script on your site and app, and carry the visitor ID to the payment.
Step 1: turn on UTM tags in ActiveCampaign
ActiveCampaign adds UTM tags through its Google Analytics option. You do not need Google Analytics itself: the tags are plain URL parameters, and Virling reads them. There are two switches (source: ActiveCampaign, Use Google Analytics with your email campaigns):
- One campaign. Click Email, open the campaign, go to the Campaign Summary page and set the Google Analytics toggle to On. A modal shows the Google Analytics Campaign Name, filled with the name of your campaign. Change it if you like and click Done.
- Every new campaign. An admin can open Settings, then Advanced, set the Google Analytics Tracking toggle to On and click Save Settings. It applies to campaigns made after that, not to ones you already have.
- Automation emails. The same page says the option works on direct and automated campaigns, and another says it is enabled on a per campaign or automation email basis (source: ActiveCampaign, How are UTM parameters used in campaigns?). Turn it on for each email in the automation.
ActiveCampaign then sets these values on every link in the email:
utm_source:ActiveCampaignwith branding on,Newsletterwith branding off.utm_medium:email.utm_campaign: the Google Analytics Campaign Name.utm_content: the subject line.
The tags go on all links in the campaign, and you cannot leave one link out (source: ActiveCampaign, Can you enable Google Analytics for a campaign, but exclude a specific link from receiving parameters?). Because the medium is always email, the click counts as Email whichever source branding sets; the full rule order is in how channels are decided.
Name nurture, onboarding and trial emails
The default campaign value is the name of your campaign, spaces and capitals included, and it becomes the row label in Virling. Type a short lowercase value into the Campaign Name field instead, and keep it the same for as long as the email runs:
- Nurture, for subscribers who have not signed up yet:
nurture-, the sequence and the step, such asnurture-guide-1andnurture-guide-2. - Onboarding, for new users:
onboarding-and the step, such asonboarding-day-2. - Trial, for users close to the end of a trial:
trial-and the moment, such astrial-ends-3d.
Rows are split by exact value, so Onboarding-Day-2 and onboarding-day-2 are two rows.
A trial that converts weeks after the email
By default Virling credits the whole payment to the latest visit in the last 90 days that was not Direct. Which visits count depends on how the trial starts:
- Card up front. The trial starts with a checkout that charges nothing, and the card is charged later with no visit of its own. Virling reads the trial start (on Stripe, a
checkout.session.completedevent with a total of 0) and credits that later charge from the visits before the trial started, never counting the trial itself as revenue. A nurture click on day 1 and a trial on day 3 credit the first charge on day 17 to the nurture email. Clicks on onboarding or trial emails after the trial started do not change it. - No card. The user upgrades through checkout, which carries the visitor ID, and the window counts back from that payment. A tagged click on
trial-ends-3dright before the upgrade is the latest visit that was not Direct, so it gets the credit, even if a search brought the user in.
That second case is where the model matters. Last non-direct and last touch reward the trial email that closed the sale; first touch credits the earliest visit in the window, which is often the search or post that brought the subscriber into nurture. If your nurture runs for months, pair first touch with the 365-day window, or the first visit falls outside it. Change the model in site settings and history is recomputed; see the attribution model and renewals and free trials.
Site tracking in ActiveCampaign vs the Virling visitor ID
ActiveCampaign site tracking puts a first-party cookie on pages that run its tracking code and records the pages a known contact visits. It learns who the visitor is from a click in a campaign or automation email, from an ActiveCampaign form that redirects to a tracked page, or from an email address you pass to its script (source: ActiveCampaign, An overview of Site Tracking). That is built for automations and segments: start the trial sequence when a contact views pricing.
Virling’s virling_vid cookie answers a different question. It is anonymous, it exists before anyone gives an email, and your checkout carries it to the payment, so the visits before the first email click count too. The two scripts run side by side and neither replaces the other. Keep site tracking for your automations and the Virling script for revenue.
The CRM deal stage vs the paid invoice
If sales works trials in ActiveCampaign deals, the deal value is a number someone types in when the deal is created, and the deal is marked Won by dragging it in the pipeline (source: ActiveCampaign, How to create a deal in ActiveCampaign and How to mark a Deal as Won or Lost). The Deal Overview report totals the value of Won deals and is only as accurate as the team’s Won and Lost marks (source: ActiveCampaign, Deal Overview report).
Virling counts what Stripe actually collected, after refunds. A deal marked Won whose invoice is never paid adds nothing, and a plan that changes price on the call is counted at the price paid. An invoice you send from Stripe does not pass through a checkout on your site, so send the buyer’s email once as an identify event when they sign up; a Stripe payment with the same payer email is then credited to that visitor and shows Matched by email. See set up Virling for sales-led B2B SaaS.
Step 2: run the script and carry the visitor ID
Put the Virling script in the <head> of your marketing site and your app; the cookie is shared across your subdomains, so a click to the site and a later login to the app are the same visitor. Then connect Stripe and send the ID with each checkout, or use the email match above for invoices; see link checkout to visits.
A made-up example: three automations
These numbers are invented to show the arithmetic. One plan costs $29 a month, and revenue is the first payment of each paid customer:
| Made-up automation | Clicks | Trials | Paid customers | Revenue |
|---|---|---|---|---|
nurture-guide | 420 | 21 | 6 | $174 |
nurture-webinar | 180 | 14 | 5 | $145 |
onboarding-free-plan | 260 | 13 | 7 | $203 |
| All three | 860 | 48 | 18 | $522 |
Clicks come from the ActiveCampaign report, trials from your own signup records, and paid customers and revenue from Virling. The guide has the most clicks, but under 30% of its trials paid; more than half of the free plan users who started a trial paid.
Check a trial from email to first charge
- Send a list with only your own address a campaign with Google Analytics on and the campaign name
tracking-test. - Click the link in a private window. ActiveCampaign sends the click through one of its link tracking domains, then to your page (source: ActiveCampaign, About link tracking). Expected:
utm_campaign=tracking-testin the address bar, and atracking-testrow under Email. - Connect a Stripe restricted key that starts with
rk_test_, start a trial or pay with a Stripe test card in the same window; see test your setup. - Open the payment on the Payments page. Expected: the channel is Email, and the journey shows your tagged visit marked as credited.
When ActiveCampaign and Virling disagree
- Won deals add up to more than Virling revenue. Some invoices are unpaid or refunded, or the deal value differs from the price paid.
- An invoice is Unattributed. The payer email on Stripe differs from the one sent with
identify, or the identify came after the payment synced. - A nurture email gets no credit. A later search or ad visit came before the payment; switch to first touch to see what introduced the buyer.
- Email revenue shows as Direct. Google Analytics was off for that email, or a redirect dropped the tags; see UTM parameters lost after redirect.
For the wider picture, read SaaS email revenue attribution, trial-to-paid conversion by traffic source, B2B SaaS attribution for small teams and revenue attribution for SaaS.
Frequently asked questions
How do I see which ActiveCampaign email brought a paying customer?
Turn on Google Analytics on the Campaign Summary page so links carry utm_medium=email and a utm_campaign, add the Virling script to your site, and pass the visitor ID into checkout. Each payment is credited to a visit, and the Campaign tab shows revenue per campaign.
Does ActiveCampaign add UTM tags to automation emails?
Yes, when Google Analytics is turned on for that email. ActiveCampaign says the option works on direct and automated campaigns and is enabled per campaign or automation email. Send one test email to check the tags before you rely on them.
How is a trial that converts weeks after an email credited?
If the trial starts with a checkout that charges nothing, Virling credits the later first charge from the visits before the trial started, by default the latest in 90 days that was not Direct. If the user upgrades through checkout, the window counts back from that payment instead.
Does ActiveCampaign site tracking replace the Virling script?
No. Site tracking records pages a known contact visits so automations can react. The Virling script sets an anonymous visitor ID that checkout carries to the payment. Run both.
Should I count Won deals in ActiveCampaign as revenue?
Count them as sales progress, not money. A deal value is typed in by hand and a Won deal may never be paid. Virling counts the Stripe payments that arrived, after refunds, and credits each to a visit.
See which ActiveCampaign email pays
Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.