Okay
  Public Ticket #2075679
Adding custom fields such as GCLID
Closed

Comments

  • Erno Horvath started the conversation

    Hi, 

    Our client is an IV Clinic having a WP site but the bookings handled via Booker.com. The problem is we can't send GCLID along with the booking. (We want to upload the data offline from their booking system to Google Ads about what keywords made the best clients to book).
    So we are thinking of a WP plugin instead booker.com. 

    So, with Amelia can we add custom fields along the with booking such as GCLID & UTM parameters? Which also can be retrieved anytime we'd like to? 

    Thanks in advance!


  • [deleted] replied

    Hi Erno,

    Thank you for your interest in our plugin.

    Can you please explain to me what do you mean by "with Amelia can we add custom fields along the with booking such as GCLID & UTM parameters"? This cannot be created as a custom field but there is another way.

    What you can do is to set Redirect URL in General settings of plugin, so when customers come to that Congratulations page it will be shown 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)

    <script>
    window.beforeConfirmedBooking = function()
    {
    window.location.href = "https://www.google.com";
    };
    </script>

    Please insert this script on page where you insert Amelia shortcode.

    Best regards.