Create your own Thank You page - Facebook tracking workaround

We offer here a complete integration of your own Thank You page where you can place your Facebook conversion pixel.

Prerequisites

In order to set up a redirection to a Thank You page, you will need:

The Thank You page allows you to track successful booking using the Look and Feel of your site.
Most importantly, it allows you to add any kind of conversion pixel (like the Facebook Pixel for example) without adding anything inside connect.shore.com, 

Important:
The redirection script to the thank you page is available in our GTM tracking template.

Please visit this page for a full explanation on how to import and configure the Shore tracking template

All the elements to manage the redirection to the Thank You page and the Facebook purchase events are pre-installed. You only need to customize your Thank You page url and your Facebook pixel ID. Please read carefully the description below.

Steps in Google Tag Manager

1. Customize your Facebook pixel and Thank you page

After you install the Shore Tracking template, you need to customize the following elements:

 


Variable: Facebook-pixel-id

EN-variable-FB-id

 

Variable: url-thank-you-page

Please avoid query parameters in the url.
Only use a raw url without query parameters like &, "=", "?"

EN-variable-thanks

 

Trigger: Thank You page

Use a unique part of your thank you page url.
ex. if the file name is "/thank-you" use a trigger: Page URL contains "/thank-you"

EN-trigger-thanks

2. Activate the Redirect tag


The tag "Facebook Thank-You page redirect" that allows to redirect to your own thank you page is paused by default.
You need to activate it so the redirection is effective.



EN-unpause

3. Push your changes live !


undefined-Mar-07-2022-05-34-04-25-PM