Skip to content

Get Marketing Channel Attribution Data into Chargify

Chargify holds the subscription record; it usually does not know which ad, campaign or first page brought the subscriber in.

This guide covers the wiring that closes that gap: hidden fields on your lead forms, values filled in at submission time, and attribution data arriving alongside the customer in Chargify so revenue can be grouped by marketing source.

What this integration does

The purpose is straightforward: identify the marketing source behind each subscriber, customer and dollar of revenue, then carry that source information into Chargify rather than leaving it stranded in a form tool or spreadsheet.

Attribution data is captured on your site and passed through the form submission into Chargify. Once it is there, channel, campaign and landing-page values sit on the customer record and can be used as the basis for revenue reporting.

Setup checklist

Work through these four steps in order; each one depends on the previous.

  1. Decide which attribution fields you want on the customer record — at minimum a channel field, and ideally campaign and landing-page fields as well.
  2. Add matching hidden fields to your lead forms so the values have somewhere to land.
  3. Confirm the attribution tool is active on the pages where those forms appear, so it can observe the visitor's source and fill the hidden fields.
  4. Submit a test entry and check that the values reach Chargify on the resulting customer record before you build reports on top of them.

How the values get filled in

Hidden fields are placeholders. They are invisible to the visitor and carry no value until something writes into them.

The attribution layer watches which marketing channel a lead arrived from and populates those hidden fields at the moment of submission. Because the visitor never types anything, the data reflects the observed source rather than a self-reported answer — which is why the field names on the form and the field names in Chargify need to line up before launch.

A worked example

Suppose a visitor arrives on a blog article from a paid search ad, reads for a while, then submits a demo form.

On submission, the hidden fields carry the channel (paid search) plus the finer detail for that channel — campaign, ad group and keyword — and the landing-page pair: the first page seen (the blog article URL) and its page category (blog). All of it travels with the form entry into Chargify, where the new customer record now shows both the acquisition path and the page that started it.

Reporting on leads, customers and revenue

Attribution data is only useful once it is grouped. With channel, campaign and ad values on the customer record, you can build reports that show which sources produced leads, which produced paying customers, and which produced revenue — the three measures that rarely rank the same way.

A practical sequence: start with revenue by channel to see the broad picture, drill into campaign within the channels that matter, then use ad-level detail to decide where to shift spend. Landing-page category is a useful cross-check, because it shows whether a channel performs better when it sends traffic to a blog post or a product page.

What data you get

Two families of data arrive with each submission, and the field map below lists them side by side.

Channel data answers "how did this lead find us?" — it names the source type and then adds the sub-levels that belong to that type, so a paid search lead brings its campaign, ad group and keyword along with it. Landing page data answers "where did the visit begin?" — it stores the URL of the first page the lead opened on your site and tags that page with a category such as blog. Together they let you separate the route from the destination.

Checking a submission before you trust the numbers

Three different failures look similar in a report, so test them separately.

If the fields never appear in Chargify, the hidden fields are missing from the form or were not mapped through. If the fields appear but are empty, the fields exist yet nothing wrote to them — usually the capture script was not present on the page where the form was submitted. If the values arrive correctly but reports look flat, the data is fine and the problem is downstream, in how the reporting layer groups or filters it.

A single test submission with a known source, checked end to end, distinguishes all three.

Getting started

You can begin on a free basis, with paid plans available once you need more. Trial length, plan prices and any promotional allowances are set by the operator and should be confirmed on the current pricing page before you commit.

Attribution field map
Data familyWhat it recordsExample values
ChannelSource type of the leadPaid Search, Paid Social, Organic Search
Channel detailFiner breakdown within the channelCampaign, Ad Group, Keyword
Landing pageFirst page the lead saw on your siteolmo.com/blog/how-to-licence-music
Page categoryType of that first pageBlog

Field names and groupings describe the data categories the integration captures; the exact labels on your Chargify records depend on how you map the hidden fields.

Diagnosing an empty attribution field
SymptomLikely causeCheck
Field absent from the customer recordHidden field missing from the form or not mapped throughForm field list and the Chargify field mapping
Field present but blankNothing wrote a value at submissionWhether the capture script ran on the page hosting the form
Values correct, reports flatGrouping or filtering downstreamHow the reporting layer aggregates channel and campaign

These are the three failure modes the setup steps are designed to separate; a single end-to-end test submission with a known source is the quickest way to tell them apart.

Frequently asked questions

Does the visitor have to enter attribution details themselves?

No. The hidden fields are filled automatically from the observed marketing source at the moment the form is submitted, so nothing extra is asked of the visitor.

What level of channel detail is available?

Beyond the channel itself, the data includes the detail belonging to that channel — for paid search, that means campaign, ad group and keyword.

Which page counts as the landing page?

The first page the lead saw on your site, recorded as a URL and paired with the category that page belongs to, such as blog.

Can I report on revenue rather than just lead counts?

Yes — the point of carrying the data into Chargify is that channel, campaign and ad values sit alongside the customer, so reports can cover leads, customers and revenue together.