Skip to main content

Measure conversions in your widget via Google Tag Manager, Google Analytics or Meta

Written by Luna van Dijk
Updated today

Would you like to know how many orders are coming in via your widget? With a thank-you page, you can measure conversions in Google Analytics, Google Tag Manager or Meta (Facebook) Analytics.

In this article, we explain how to set this up.

Create a thank-you page on your website

  • Create a page on your own website where customers are directed after placing an order.

For example:

  • On this page, you can display a thank-you message, but the most important thing is to place a tracking code here.

Set up the thank you page in your widget

  • Go to Website widgets in the left-hand menu in Catermonkey

  • Open the widget you want to configure

  • Go to Website settings

  • Save the widget

After placing an order, the customer will be automatically redirected to this page.

Set up your tracking

Google Analytics 4

You can register the thank you page as a conversion in GA4:

  1. Go to Google Analytics > Admin > Events

  2. Click on Create event

  3. Create a new event with the following settings:

    • Event name: 'order_completed'

    • Matching conditions: 'page_location' contains '/thank-you'

  4. Go to Admin > Conversions and mark 'order_completed' as a conversion

Google Tag Manager

Google Tag Manager offers greater flexibility:

  1. Go to Google Tag Manager

  2. Create a new Trigger"

    • Type: Page view

    • Fires on: 'Page URL' contains '/thank-you'

  3. Create a new Tag (e.g. GA4 Event, Meta Pixel, or another tracking tag)

  4. Link the trigger to the tag

  5. Publish your container

Meta (Facebook) Pixel

To measure conversions in Meta:

  1. Go to Meta Events Manager

  2. Make sure your Meta Pixel is on your website (including the thank you page)

  3. Set up a Custom Conversion

    • URL: contains '/thank-you'

    • Category: Purchase

  4. Or use Google Tag Manager to trigger the 'fbq('track', 'Purchase')' event on the thank you page

Tips

  • Test your setup by placing a test order and checking that you are redirected to the thank you page

  • Use UTM parameters in your widget links to see which campaigns generate orders

  • Combine multiple tools: you can run Google Analytics, Tag Manager and Meta tracking on the same thank-you page

  • The thank-you page URL works with both embedded widgets and standalone widgets




Did this answer your question?