Skip to content

How to capture Google Analytics data in YouCanBookMe

Google Analytics will tell you how many people arrived from paid search, organic search or social. It will not tell you which of those visitors booked a meeting through your YouCanBookMe form, or which bookings turned into customers. The gap is at the booking, not the session. This guide closes it with a small script that reads how each visitor arrived, writes that value into hidden fields on your booking form, and lets the booking carry its own source into your CRM or spreadsheet.

Why traffic reports stop short of the booking

A traffic report answers a session question: how many visits came from each channel. A booking is a different event, often on a different page, sometimes days later. Google Analytics can count visits from Paid Search, Organic Search or Social Media, but it does not join that visit to the specific YouCanBookMe submission, and it does not show how many of those bookings became paying customers.

Bridging that gap means capturing the source at the moment of booking and storing it on the booking record itself. Once the source travels with the booking, every downstream report — in your CRM, a spreadsheet or a BI tool — can group meetings and revenue by channel.

What the attribution snippet actually does

The mechanism is a lightweight piece of JavaScript added to your site. It runs on each visit and performs four concrete jobs:

  • Reads the signals that describe arrival: UTM parameters, the referring source and similar cues.
  • Categorises the visitor into a marketing channel — Paid Search, Organic Search, Paid Social, Referral and others — using the same channel vocabulary you would expect in Google Analytics.
  • Stores that categorised result in the visitor's browser, so it survives the journey from landing page to booking page.
  • When the visitor submits a YouCanBookMe form, writes the stored values into the form's hidden fields so the booking is created with its source attached.

The output is not a dashboard inside the snippet. It is a set of values placed on the booking, which you then forward to whichever system holds your lead and revenue data.

Setup, step by step

Step 1 — Get the snippet onto the site. Sign up for the tool, then take the small block of code it issues and install it on your website. Most site builders expose a dashboard or settings area where header or footer scripts can be pasted; Google Tag Manager works as well. Builder-specific installation instructions are published separately, so follow the one that matches your platform rather than guessing at placement.

Step 2 — Let the snippet populate hidden fields. When a visitor completes your YouCanBookMe form, the snippet fills the hidden fields with how that person originally found the site. The worked example below shows the shape of those values.

Step 3 — Confirm the values land on the booking. On submission, the attribution values are stored on the YouCanBookMe booking alongside the ordinary booking details — name, email, phone number, meeting time and so on. From there, YouCanBookMe's built-in integrations, or a connector such as Zapier, can forward the record to your CRM, a Google Sheet or another lead-management platform. Every booking can then be traced back to its original source.

Step 4 — Report where the bookings come from. With the data in your CRM or spreadsheet, use that tool's own reporting to build dashboards. Typical questions: how many bookings came from Google Ads, how many from Facebook Ad campaigns, how many meetings are attributable to SEO performance. Those answers are what let you move budget toward channels that actually deliver.

Before you start, check three things: which UTM parameters your campaigns actually use, which hidden fields exist on the YouCanBookMe form, and where bookings are forwarded after submission. A mismatch at any of those three points is the usual reason a source value never appears in a report.

Worked example: a Google Ads booking at a manufacturer

A procurement manager clicks a Google Ads result, lands on a product page, and books a consultation through the embedded YouCanBookMe form. Depending on which UTM parameters the campaign uses, the hidden fields would be populated roughly like this:

  • Channel: Paid Search
  • Channel Drilldown 1: Google
  • Channel Drilldown 2: Industrial Machinery Campaign
  • Channel Drilldown 3: Apex Manufacturing (or whichever keyword was searched)

The snippet also records the first landing page the visitor reached — for example www.apexmanufacturing.com.au/products/cnc-machines — together with the broader page category, such as products. Together the channel values and the landing-page values give a complete picture of how the lead found the site and which content attracted them.

Field map: what each captured value answers

Two dimensions are captured, and each answers a different question.

Channel. This is how the visitor arrived. Common values are Paid Search, Paid Social, Organic Search, Organic Social and Direct Traffic. Channel data is captured automatically for every booking. It identifies the channel and adds drilldown detail: for a Paid Search lead, the specific campaign, ad group and keyword can be captured too. That is the layer that tells you what is driving bookings, leads and customers.

Landing page. This is the first page the visitor landed on, plus the broader category that page belongs to. It answers a content question rather than a channel question: which specific pages, and which types of content, generate the most meeting bookings. That is the input for deciding where to concentrate content and SEO effort.

A useful way to hold the distinction: channel tells you where to spend, landing page tells you what to publish.

Three reports and the decision each supports

Once attribution data reaches your CRM or spreadsheet, three report shapes cover most of the questions a marketing team asks.

Leads by Channel. Show how many leads or bookings arrive each month, split by the marketing channel that brought them in. The decision it supports: which channels are performing and which need rethinking.

Customers by Facebook Ads Network. If you advertise on Facebook, campaigns can appear across Facebook, Instagram, Messenger and WhatsApp. Show how many customers you acquire from each platform every month. The decision it supports: which network deserves more budget, where to test new creative, and how to optimise campaigns for more bookings.

Revenue from Organic Search by search engine. Show how much revenue came from customers who booked through YouCanBookMe after arriving via Organic Search, broken down by search engine — Google, Bing, Yahoo and DuckDuckGo. The decision it supports: the real return on your SEO work, which engines contribute most value, and how that shifts over time.

Each report is only as good as the field it groups on. If Channel is blank on a booking, that booking disappears from the first two reports; if landing page is blank, you lose the content view entirely.

When the data does not appear: three different failures

A missing source value is not one problem. Separate these before changing anything:

  • No value on the booking. The hidden fields were never populated. Check that the snippet is actually loading on the pages visitors use, and that the form's hidden field names match what the snippet writes.
  • Value on the booking but not in the CRM. Attribution is present in YouCanBookMe but the forwarding step drops it. Check the integration or connector mapping, not the snippet.
  • Traffic missing in Google Analytics. This is a measurement problem on the analytics side and is unrelated to booking attribution; the booking can still carry a correct channel value even when the analytics property shows nothing.

Diagnosing in that order avoids reinstalling a snippet that was working all along.

Wrap-up

Booking-level attribution turns a traffic report into a revenue question. Install the snippet, confirm the channel and landing-page values reach the booking, forward them to the system that holds your customer data, and report on meetings and revenue by source. The commercial details of getting started — trial length, cost, setup time and terms — are set by the tool owner and should be confirmed before you publish or promise them.

Captured values and the question each answers
Captured valueExampleQuestion it answersWhere it lands
ChannelPaid SearchWhich channel produced this booking?Hidden field on the YouCanBookMe booking
Channel Drilldown 1GoogleWhich platform within the channel?Hidden field on the booking
Channel Drilldown 2Industrial Machinery CampaignWhich campaign?Hidden field on the booking
Channel Drilldown 3Apex Manufacturing (keyword)Which keyword or term?Hidden field on the booking
Landing pagewww.apexmanufacturing.com.au/products/cnc-machinesWhich page first attracted the visitor?Hidden field on the booking
Landing page categoryproductsWhich type of content attracts bookings?Hidden field on the booking
Booking detailsName, email, phone, meeting timeWho booked and when?Standard YouCanBookMe booking record

Field names and example values are taken from the source's illustrative walkthrough; the exact drilldown values depend on which UTM parameters a campaign uses.

Report, grouping field and decision supported
ReportGrouped byDecision it supports
Leads by ChannelMarketing channel, monthlyWhich channels perform and which need rethinking
Customers by Facebook Ads NetworkFacebook, Instagram, Messenger or WhatsApp, monthlyWhere to put ad budget and test creative
Revenue from Organic Search by search engineGoogle, Bing, Yahoo, DuckDuckGoReturn on SEO and which engines contribute most value

Report shapes assume attribution data has been forwarded from YouCanBookMe into a CRM or spreadsheet with reporting features; the source does not supply live report outputs.

Frequently asked questions

Does Google Analytics already show which bookings came from which channel?

No. Google Analytics counts visits by channel, but it does not join a visit to a specific YouCanBookMe submission or show which bookings became customers. The source value has to be written onto the booking itself for that link to exist.

Where is the attribution data stored before someone books?

In the visitor's browser. The snippet categorises the visit when it happens and keeps that result available until the visitor submits the booking form, at which point it is written into the form's hidden fields.

What is the difference between Channel and Channel Drilldown?

Channel is the broad category — Paid Search, Organic Search, Paid Social, Referral and so on. The drilldown fields add specificity within that channel, such as the platform, campaign and keyword for a paid search lead.

How does the data get from YouCanBookMe into my CRM?

Through YouCanBookMe's built-in integrations or a connector such as Zapier. The attribution values sit on the booking alongside name, email, phone and meeting time, and the forwarding step sends the whole record onward.

Why is the channel field blank on some bookings?

Either the snippet was not loaded on the page the visitor used, or the hidden field names on the form do not match what the snippet writes. Check those two before assuming the forwarding step is at fault.

Can I report on landing pages as well as channels?

Yes. The first landing page and its broader category are captured alongside the channel, so you can group bookings by page or content type to see what attracts meetings.