Skip to main content

Track your bookings with Google analytics

Setup a custom success page to track your booking conversions.

F
Written by Fabio Fois
Updated over a month ago

Set up conversion tracking for the widget configurator using Google analytics. Track completed bookings by monitoring visits to the confirmation page, only users who finish a booking reach this page. All tracking is managed on your website, giving you full control.

⚠️ Warning: Your custom success page won't work if you are using an Iframe, either embed your widget with the standard code or use an external widget URL.

Setup your custom success page by watching the video below or follow the steps provided:

Track your booking conversions

⚠️ Important: Ensure your website has Google analytics tracking embedded on all pages. You can check the tags yourself or ask your web developer to confirm that you have Google analytics tracking across your website.

Below you can find guidance on all the steps to create your booking conversions.

Create your landing page

Create your custom success page that people will land on once the booking is complete. The page can be called or contain any information you want like www.restaurant.com/booking-successful. The only requirement is to have your Google analytics tracking code embedded on it. If your website is managed by a web developer, please ask them to create this landing page and make sure it has Google analytics code embedded on it.


Add your landing page in ResDiary

Follow the steps below to add your custom landing page to your widget:

  1. Click Promote, then Widget Configurator.

  2. Edit your widget.

  3. Enable custom success page.

  4. Paste your custom success page URL.

  5. Click Continue to Save.

Set your conversion goal

Follow the steps below to create your conversion goal on Google analytics:

  1. Go to your Google analytics account.

  2. Select the account and view your tracking.

  3. Click Admin panel.

  4. Click Goal Menu Item.

  5. Click New Goal.

  6. Select Custom, then click Continue.

  7. Give it a name and select the destination as type.

  8. From goal details, set destination to regular expression.

  9. Paste your success page's path URL in the text field.

    ⚠️ Important: Path URL means that you don’t need to specify the hostname. For example, if your custom success URL is www.restaurant.com/booking-successful/, you'll need to paste only booking-successful.

  10. Click Verify this Goal if your website was visited the past days.

  11. Click Save.


Check your results

Follow the steps below to check the results of your conversion goal:

  1. Go to your Google analytics property.

  2. Click Acquisition, then All Traffic.

  3. Click Channels.

  4. Select your booking goal from the conversion menu.

📌 Note: It might take a couple of days to start tracking your data correctly.

See an example of how it should look like once your conversion starts working correctly on Google analytics:


Advanced features for Google analytics

Below you can find a list of advanced features you can set on Google analytics:

  1. Set track conversion on Facebook pixel and Google ads.

  2. Track your conversion without a custom success page.

Did this answer your question?