Send Google Analytics channel data into Recurly for revenue reporting
Google Analytics can tell you which channels send visitors, but it does not show which visitors become customers, what they pay, or how long they stay. Adding channel and landing-page information to Recurly at signup lets you break subscription reports down by the campaign and content that produced each customer.
How the attribution data travels
A small website snippet classifies each visit into a channel such as paid social, paid search or organic search, then stores that classification in a browser cookie. When a visitor signs up, the stored channel information travels with the lead details into Recurly. That makes it possible to compare, for example, customers from Google ads, average monthly recurring revenue from Twitter ads versus LinkedIn ads, and churn for customers arriving from organic Bing searches.
Step 1: Add hidden fields to your forms
Add these hidden fields to signup forms:
- Channel
- Channel Drilldown 1
- Channel Drildown 2
- Channel Drilldown 3
- Landing Page
- Landing Page Group
If people can sign up through Google or Facebook without filling a form, use JavaScript to pull the data from the cookie and send it to Recurly at signup instead.
Step 2: Fields are filled automatically at signup
When a form is completed, the hidden fields are populated from the stored attribution data. For a visitor arriving from a brand campaign in paid search, the values could be:
- Channel = Paid Search
- Channel Drilldown 1 = Google
- Channel Drildown 2 = Brand Campaign
- Channel Drilldown 3 = Hubspot
The first landing page and its group are captured alongside the channel detail — for example, a specific blog post URL and the /blog group. Exact drilldown values depend on the UTM parameters used behind the ads.
Step 3: Attribution data connects with Recurly
On form submission, the attribution data stored in the cookie is sent into Recurly together with the details the visitor entered, such as first and last name, email address and contact number. The billing record is therefore linked to the channel and landing page that produced the lead.
Step 4: Report on leads, customers and revenue by channel
With attribution data in Recurly, build reports broken down by channel or campaign for:
- New trials added each month
- Trial-to-customer conversion rate
- New customers added each month
- New MRR and new ARR added each month
- ARPU
- Lifetime value
- Customer churn rate and MRR churn rate
Use Recurly's native reporting, or pass the data to an analytics or business intelligence tool that integrates with Recurly for broader reporting.
What data gets passed into Recurly
Channel detail goes beyond the top-level channel: for paid search it can include campaign, ad group and keyword. Landing-page data includes the first page seen and its category, so you can compare a whole section such as a blog with individual posts inside it. That distinction matters when a section generates many signups but few customers — the data supports deciding whether to keep investing there or move resources elsewhere.
What you can do with this data
Use channel reports to answer questions such as how many signups came from Google ads, the signup-to-customer conversion rate for Twitter ads, how many customers LinkedIn ads generated, how much MRR or ARR Facebook ads produced, lifetime value by channel, and overall return on ad spend.
Use content reports to answer how many signups came from the blog, which posts delivered the most signups, which posts convert people into customers, and what return blogging efforts produce.
| Field | What it records | Example use |
|---|---|---|
| Channel | How the visitor reached the site | Compare paid search with organic search |
| Channel Drilldown 1-3 | Extra detail within the channel | Identify Google, brand campaign and advertiser |
| Landing Page | First page the visitor saw | See which post or page produced signups |
| Landing Page Group | Category of that first page | Compare blog performance as a whole |
Example values depend on UTM parameters used behind ads.
Frequently asked questions
Why move Google Analytics data into Recurly?
Google Analytics shows which channels bring visitors, but not which of those visitors become paying customers, what they pay, how often they churn, or their lifetime value. Passing channel and landing-page data into the billing system lets revenue reports be broken down by channel and campaign.
What fields need to be added to signup forms?
Add hidden fields for Channel, Channel Drilldown 1, Channel Drildown 2, Channel Drilldown 3, Landing Page and Landing Page Group to signup forms. Alternatively, use JavaScript to read the attribution cookie and send it with signup, which helps when signup happens through Google or Facebook without completing a form.
What two elements matter most for attribution?
Channel answers how a visitor reached the site — for example organic search, paid search, paid social or referral — with extra detail such as campaign, ad group and keyword for paid search. Landing page answers which part of the site they first saw, such as a features page, blog or ebook, plus the page group.