Marketing Tracking on Registration Forms
Retreat Guru
How-to guide

See where every registration came from

Capture UTM tags, Google and Facebook click IDs, referrer and landing page on your Retreat Guru registration form, hidden from guests, and send them to your CRM through our API.

Setup timeAbout 15 minutes, plus a small change on your website
Who does itYour Retreat Guru admin and your web developer
ResultTracking values saved on each registration and available in the API

How it works

Retreat Guru forms can fill in any question from the link that opens the form. You add a question for each tracking value, your website puts the values into the Register link, and a small piece of CSS hides those questions from guests. The values are saved with the registration like any other answer.

1
Retreat Guru admin

Add the tracking questions to your registration form

Create a text question for each value below and add it to your registration form. Leave every one of them not required, so a guest who arrives without tracking values never gets an error on a question they can't see.

  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • utm_content
  • gclid
  • fbclid
  • referrer
  • landing_page
The registration form editor with the nine tracking questions listed under Participant Info
The tracking questions added to the bottom of the registration form.
2
Your web developer

Pass the values in your Register links

When a visitor lands on your website, keep their tracking values (for example in a cookie). Then add them to every Register or Book now link that points to Retreat Guru, in this format:

https://your-site.secure.retreat.guru/program/your-program/?form=1
  &registration[utm-source]=google
  &registration[utm-medium]=cpc
  &registration[utm-campaign]=spring-retreat
  &registration[utm-term]=somatic+healing+retreat
  &registration[utm-content]=ad-variant-a
  &registration[gclid]=EAIaIQobChMI...
  &registration[fbclid]=IwAR...
  &registration[referrer]=https%3A%2F%2Fwww.google.com%2F
  &registration[landing-page]=https%3A%2F%2Fyour-website.com%2Fretreats

Use hyphens in the link: utm-source, landing-page and so on. URL-encode values that contain links or spaces.

3
Retreat Guru admin

Hide the questions from guests

Go to Appearance › Customize › Custom Header (CSS/JS) and add this to the end of what's already there:

<!-- Marketing tracking questions: filled from the link, hidden from guests -->
<style>
.rs-question-utm-source-row, .rs-question-utm-medium-row,
.rs-question-utm-campaign-row, .rs-question-utm-term-row,
.rs-question-utm-content-row, .rs-question-gclid-row,
.rs-question-fbclid-row, .rs-question-referrer-row,
.rs-question-landing-page-row { display: none !important; }
</style>
Before the CSS The registration form showing tracking questions filled in from the link
The questions are filled in from the link.
After the CSS The registration form as a guest sees it, with no tracking questions visible
What your guest sees. The values are still sent with the form.

Where the values end up

Each value is saved on the registration. Your team can see it in the registration admin, and your integration can read it from the Retreat Guru REST API.

A registration in the admin showing the saved tracking values
A test registration with every tracking value saved.

Field names in the API

The API returns each value with an underscore in its name:

In the linkIn the APIWhat it holds
registration[utm-source]utm_sourceWhere the visitor came from, e.g. google, facebook, newsletter
registration[utm-medium]utm_mediumThe channel, e.g. cpc, social, email
registration[utm-campaign]utm_campaignThe campaign name
registration[utm-term]utm_termThe paid search keyword
registration[utm-content]utm_contentWhich ad or link variation
registration[gclid]gclidGoogle Ads click ID
registration[fbclid]fbclidFacebook / Meta click ID
registration[referrer]referrerThe site that sent the visitor to you
registration[landing-page]landing_pageThe first page they visited on your site

Webhooks don't include form answers. A Retreat Guru webhook tells your system that a registration was created or changed, and includes a link to it in the API. Your integration then fetches the registration from the API to get these values.

Good to know

Keep them optionalA hidden required question would block guests who arrive without tracking values.
Staff can still see themThe values show on the registration in the admin, which makes it easy to check things are working.
Test with one bookingOpen your form with a sample link, register a test guest, then check the registration and your CRM.
Marketplace visitorsGuests who book through the Retreat Guru Marketplace rather than your own website may see these questions, empty. They didn't come from your ads, so there's nothing to capture.