Hello @alextester ,
I have checked and our developers recommended using this code for tracking submits in GA:
<script>
jQuery('form#forminator-module-21').on('forminator:form:submit:success', function (e) {
ga('send', 'event', 'Form Title', 'submit');
});
</script>
You will need to change form#forminator-module-21 to ID of your form.
kind regards,
Kasia
Hi Kasia,
Unfortunately, this code hasn’t worked – I did double-check the ID was correct. I added the code to the footer.
Alex
Hello @alextester ,
Hope you’re doing well!
Please try adding the code into the header. Google Tag Manager code needs to be located between the <hear> ..</head> section.
Let us know how it went!
Kind regards,
Nastia
Hi Nastia,
Thanks for you’re continuing help. I’ve moved the script to the <head> but submitting the form still won’t trigger an event unfortunately!
view-source:https://wollastonconstruction.co.uk/
Any more ideas?
Best,
Alex
Hello @alextester ,
Let me consult this with developers and they will see what could be the problem.
We will keep you updated.
kind regards,
Kasia
Hello @alextester
Could you please send me an email to [email protected] using this template:
Subject: “Attn: Dimitris”
Message: link back to this thread for reference
Keep in mind the subject line as ensures that it gets assigned to me.
Thank you,
Dimitris
Hi Dimitris, I have done so. Thank you for looking into this.
Alex
Hello @alextester ,
I trust you’re doing well!
We’ve not heard from you in a while. I’ve marked this ticket as resolved for now, but if you need anything else at all, we’re here for you, please just reopen the ticket or create a new one.
Have a good day and take care!
Kind regards,
Nastia