I require some assistance with google analytics event tracking. I have already seen some other answers regarding this topic. It was advised to use hooks like beforeConfirmedBooking if you want to track customers after confirm booking. Which I did with this code which I inserted on the page were I have put the amelia shortcode:
The tracking is working fine but amelia won't show the congratulation page with the calendar and finsh button anymore. It get's stucked in a loop after the customer presses the confirm button.
Sure you can make some Appointments. Please use "Testuser Amelia" as name, so we'll know its no real appointment. Could you please let me know when your done with Testing so i can remove the script again?
Can you please tell me which page includes the script so I can take a look, I do not want to change anything to standard WP editor because all the changes and layout of the page can be lost but I will need to see the script. In Elementor editor I can not see that script.
If I can change to standard WP editor let me know if that is ok with you.
and thank you very much that did the Job. Using the afterConfirmBooking works.
I have implemented this code:
The tracking seams to work and the loop is gone. I have one more question. Do you have a documentation for developers about the hooks that you use or wich hooks are available?
We do not have a specific page for the hooks but this is something that we will work on adding to our documentation. In the meantime you can check this file
wp-content/plugins/ameliabooking/public/js/chunks/amelia-booking-booking.js where you can find customization hooks.
There is even a comment inside a file to notate which line of code is customization hook.
Hi there,
I require some assistance with google analytics event tracking. I have already seen some other answers regarding this topic. It was advised to use hooks like beforeConfirmedBooking if you want to track customers after confirm booking. Which I did with this code which I inserted on the page were I have put the amelia shortcode:
<script>
window.beforeConfirmedBooking = function()
{
ga( 'send', 'event', 'eventCategory', 'eventAction', 'eventLable' );
};
</script>
The tracking is working fine but amelia won't show the congratulation page with the calendar and finsh button anymore. It get's stucked in a loop after the customer presses the confirm button.
Could help me out?
Hi osteopathie-rotherbaum,
Thank you for your purchase.
Can you please tell me is it ok to make some test appointments form my side on your site so I can take a look.
Best regards.
Kind Regards,
Miloš Jovanović
[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
Hi Bogdan,
and thanks for replying so quickly.
Sure you can make some Appointments. Please use "Testuser Amelia" as name, so we'll know its no real appointment. Could you please let me know when your done with Testing so i can remove the script again?
Thanks,
Hi osteopathie-rotherbaum,
Ok i tried to make an appointment with the Testuser Amelia and I can see the loop.
Can you please tell me are there any errors in the server log that might give us a clue what can cause an issue like this.
Best regards.
Kind Regards,
Miloš Jovanović
[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
I'm removing the Script too stop the loop. please tell me if you find something.
Hi osteopathie-rotherbaum,
Sorry for late response, we are not working on weekends.
Can you please tell me is it possible for you to make some draft page where your script will be so we can try to test the booking progress.
Best regards.
Kind Regards,
Miloš Jovanović
[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
Hi osteopathie-rotherbaum,
Can you please tell me which page includes the script so I can take a look, I do not want to change anything to standard WP editor because all the changes and layout of the page can be lost but I will need to see the script. In Elementor editor I can not see that script.
If I can change to standard WP editor let me know if that is ok with you.
Best regards.
Kind Regards,
Miloš Jovanović
[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
Hi osteopathie-rotherbaum,
I think the issue might be with the code itself
Can you please try to use the afterConfirmBooking hook for this case.
Best regards.
Kind Regards,
Miloš Jovanović
[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
Hi Bogdan,
and thank you very much that did the Job. Using the afterConfirmBooking works.
I have implemented this code:
The tracking seams to work and the loop is gone. I have one more question. Do you have a documentation for developers about the hooks that you use or wich hooks are available?
Thank you so far.
Hi osteopathie-rotherbaum
Glad to hear that, good job.
We do not have a specific page for the hooks but this is something that we will work on adding to our documentation. In the meantime you can check this file
wp-content/plugins/ameliabooking/public/js/chunks/amelia-booking-booking.js where you can find customization hooks.
There is even a comment inside a file to notate which line of code is customization hook.
Hope this can help you.
Best regards.
Kind Regards,
Miloš Jovanović
[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