This happens before the "trophy" page loads, and you do need that redirect URL in the script for this to work.
We haven't used Contact Form , so I cannot say if it will work or not. That's also a reason why I cannot provide any advice on what needs to be added to their scripts.
Hi,
Great plugin but I am having a very hard time implementing Google Analytics Tracking for confirmed Bookings.
I have read every public ticket
https://tmsplugins.ticksy.com//ticket/2032836/
https://tmsplugins.ticksy.com//ticket/2029101/
https://tmsplugins.ticksy.com/ticket/2058057/
https://tmsplugins.ticksy.com//ticket/1922278/
and tried implementing the code:
<script>
window.beforeConfirmedBooking = function()
{
ga( 'send', 'event', 'eventCategory', 'eventAction', 'eventLable' );
};
</script>
But it doesn't work. Made the event in GA etc etc...
My client uses Google Tag Manager as well. I was wondering if he could do something similar in there as we did for Contact Form 7
For CF7 we used this:
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
dataLayer.push({'event': 'cf7.contact-page.mailsent', 'cf7.formID': event.detail.contactFormId});
}, false );
</script>
And set an Analytics trigger for Event name
cf7.contact-page.mailsent
Could something similar be done for Amelia and if so could you please fill in the above script with the correct info so I can add to Tag Manager.
I'm sure this ticket would help a lot of other Amelia customers
Hello Anders.
Thank you for your purchase.
We haven't received any complaints that this hook doesn't work.
However, in your script I don't see any URLs, like there is in our example:
This happens before the "trophy" page loads, and you do need that redirect URL in the script for this to work.
We haven't used Contact Form , so I cannot say if it will work or not. That's also a reason why I cannot provide any advice on what needs to be added to their scripts.
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