Skip to main content

Redirect Customers to a Custom Thank You Page for Event Tracking

Erin avatar
Written by Erin
Updated yesterday

Event tracking is used to understand how successful a paid ad campaigns is performing, or how your customers are interacting with your site.

Since bookings completed through Momence plugins are hidden behind something called an iframe, this prevents event tracking.

A solution to this barrier is to have each successful booking redirect to a URL of your choosing, like a thank you page on your site. If you are running paid ad campaigns and need to track purchase events, you can use this landing page URL to build your event tracking or analytics flow.

Where can point Momence to this URL?

From Settings > General Setup > scroll to 'checkout purchase tracking' > add your custom URL > Save changes.

Need guidance on setting up event tracking?

Need help setting up a thank you page on your website?

These video tutorials will give you guidance for the most common website builders.

Does this redirection occur for all Momence purchases?

Not all. A redirection will not occur with purchases of products or on-demand content, like video rentals or course purchases.

A redirection will occur with purchases of classes, appointments, subscriptions, and packages, regardless of whether they are purchased using a plugin or a Momence checkout page.

Where can I test this redirection?

From Studio Setup > Plugins > locate the plugin preview in the bottom right and click through the prompts to purchase. Or, click your studio logo in the top left > click 'Your page.' and run through a test checkout.

Pro tip: set up a secret discount code of 100% off that allows you to avoid having to pay as a test customer. And, if its not already obvious, do not share this code with your customers.

Discount codes can be created from Studio Setup > Discount Codes.

Info for tech savvy businesses

The way the redirect works does not allow us to push large amounts of data -- The extra data is added to the url as a parameter of a query-string.

Depending on the purchase event, the type of data we append to the URL currently includes:

  • type=session&sessionId=123456 (classID)

  • type=membership&membershipId=123456

  • type=appointment (Just the type. Currently IDs are not sent for appointments)

So, for example, if your URL is https://myweb.com/thankyou then we'll add our data and the resulting URL becomes something like https://myweb.com/thankyou?type=session&sessionId=123456.

This data can then be extracted from the URL (most web-developers should be able to handle this task). If you want to build a more complex thank you site with more data - then you can make a call to our API.

Did this answer your question?