May I know whether there are action hooks that are fired after an appointment is booked/canceled/scheduled and when a package is purchased, considering notifications are sent based on these actions?
<script>
window.ameliaActions = {
ViewContent: function (success = null, error = null, data) {
//triggered when the form loads
console.log('ViewContent HOOK')
console.log(data)
console.log('------------')
},
SelectService: function (success = null, error = null, data) {
//triggered when the service is selected/changed in the form
console.log('SelectService HOOK')
console.log(data)
console.log('------------')
},
SelectEmployee: function (success = null, error = null, data) {
//triggered when the employee is selected/changed in the form
console.log('SelectEmployee HOOK')
console.log(data)
console.log('------------')
},
SelectLocation: function (success = null, error = null, data) {
//triggered when the location is selected/changed in the form
console.log('SelectLocation HOOK')
console.log(data)
console.log('------------')
},
SelectCategory: function (success = null, error = null, data) {
//triggered when the category is selected/changed in the form
console.log('SelectCategory HOOK')
console.log(data)
console.log('------------')
},
SelectPackage: function (success = null, error = null, data) {
//triggered when the package is selected/changed in the form
console.log('SelectPackage HOOK')
console.log(data)
console.log('------------')
},
InitiateCheckout: function (success = null, error = null, data) {
//triggered once the customer lands on the "info" page where they fill in their details
console.log('InitiateCheckout HOOK')
console.log(data)
console.log('------------')
},
Schedule: function (success = null, error = null, data) {
//triggered once the 'on-site' booking is completed
console.log('Schedule HOOK')
console.log(data)
console.log('------------')
},
Purchased: function (success = null, error = null, data) {
//triggered once an online booking is completed
console.log('Purchased HOOK')
console.log(data)
console.log('------------')
},
beforeBooking: function (success = null, error = null, data) {
//triggered when the "Confirm" button is clicked but before the booking is completed.
//This hook currently doesn't work for Mollie and WooCommerce payments
console.log('Before booking is created HOOK')
console.log(data)
console.log('------------')
},
}
</script>
These are the same hooks used in Google Analytics and Facebook Pixel integrations, but if you need some other hooks added, please let us know which ones and explain what they would contain and when they should be triggered.
There are currently no such hooks, but I can forward this to our developers. Please let me know for what you would use the hooks and when you want then to be fired.
Sorry for the delayed response, Uroš; I would like to use the event tracking to get better usage stats for the frontend customer panel in Google Analytics.
It would be great if there were hooks for Logged In, Logged Out, Rescheduling is confirmed, and Cancellation is confirmed.
Hi there,
May I know whether there are action hooks that are fired after an appointment is booked/canceled/scheduled and when a package is purchased, considering notifications are sent based on these actions?
Thanks!
Regards,
Patrick
Hello Patrick,
Thank you for reaching out to us.
Amelia currently has the following hooks:
These are the same hooks used in Google Analytics and Facebook Pixel integrations, but if you need some other hooks added, please let us know which ones and explain what they would contain and when they should be triggered.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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 sharing the hooks for the booking form!
May I know whether there is a similar set of hooks for the customer panel?
Regards,
Patrick
Hello Patrick,
There are currently no such hooks, but I can forward this to our developers. Please let me know for what you would use the hooks and when you want then to be fired.
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Sorry for the delayed response, Uroš; I would like to use the event tracking to get better usage stats for the frontend customer panel in Google Analytics.
It would be great if there were hooks for Logged In, Logged Out, Rescheduling is confirmed, and Cancellation is confirmed.
Hello Patrick,
Thank you for clearing that up.
I have forwarded this to our developers and will provide you with an update on this as soon as possible.
Thank you for your patience.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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
Hello Patrick,
We will have these added in one of the future updates, thank you for the suggestion.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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 so much for the update! Looking forward to the update.
Regards,
Patrick
Hello Patrick,
Thank you for your patience.
In the meantime, please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
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