I would like to add my purchase pixel facebook at the last step of booking process. So i want it on the confirmation step, (where user can add the event on his calendar, picture attached)
Here is the script, facebook need it on the <header> but confirmation step is not a page so i don't know how setup it :/
What you can do is to set Redirect URL in General settings of plugin, so when customers come to that Congratulations page it will show the Finish button, so when they click on it, it will be redirected on your custom URL which you define (so you can use it on tracks).
Also, you can use hooks like beforeConfirmedBooking that will be triggered when your customers confirm booking. You can set that redirect URL that you need like on this script (we use https://www.google.com as example, but you will replace this with your own URL)
Thanks for your quick answer, so if i understand i have to create a new success page in the 2 cases:
-> Option 1 is clear but i don't want that the user must clic one more time What you can do is to set Redirect URL in General settings of plugin, so when customers come to that Congratulations page it will show the Finish button, so when they click on it, it will be redirected on your custom URL which you define (so you can use it on tracks).
-> Option 2, if i understand the user will be redirect automatically to the url i will set when he arrive at the congrats page Also, you can use hooks like beforeConfirmedBooking that will be triggered when your customers confirm booking. You can set that redirect URL that you need like on this script (we use https://www.google.com as example, but you will replace this with your own URL) :)
Hey Amelia team :)
I would like to add my purchase pixel facebook at the last step of booking process. So i want it on the confirmation step, (where user can add the event on his calendar, picture attached)
Here is the script, facebook need it on the <header> but confirmation step is not a page so i don't know how setup it :/
<script>
fbq('track', 'Purchase', {
value: 8,
currency: '€',
});
</script>
Thanks and hope you have a solution,
Hello morgan.
Thank you for your purchase.
What you can do is to set Redirect URL in General settings of plugin, so when customers come to that Congratulations page it will show the Finish button, so when they click on it, it will be redirected on your custom URL which you define (so you can use it on tracks).
Also, you can use hooks like beforeConfirmedBooking that will be triggered when your customers confirm booking. You can set that redirect URL that you need like on this script (we use https://www.google.com as example, but you will replace this with your own URL)
Please insert this script on page where you insert Amelia shortcode.
I hope this helps.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks for your quick answer, so if i understand i have to create a new success page in the 2 cases:
-> Option 1 is clear but i don't want that the user must clic one more time
What you can do is to set Redirect URL in General settings of plugin, so when customers come to that Congratulations page it will show the Finish button, so when they click on it, it will be redirected on your custom URL which you define (so you can use it on tracks).
-> Option 2, if i understand the user will be redirect automatically to the url i will set when he arrive at the congrats page
Also, you can use hooks like beforeConfirmedBooking that will be triggered when your customers confirm booking. You can set that redirect URL that you need like on this script (we use https://www.google.com as example, but you will replace this with your own URL)
:)
Solution 2 works perfectly :)
Thanks a lot
You're welcome morgan.
Glad I could help.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables