Jan Mi?acky
Forum Replies Created
-
Hi Laura,
You are amazing! You were right – I was missing the Google credentials for this website. It didn’t cross my mind because last year, I used the same form and it worked well.
Thanks a lot!
Best,
Jan- This reply was modified 1 year, 2 months ago by Jan Mi?acky. Reason: marking as resolved
Hi John,
Thank you for your response. I use the latest version of Forminator (1.25.2) and WP 6.3.1.
Here’s the form export:
Thanks a lot!
JanHi Adam,
I think you have just solved it. The form has been set not to use Ajax. Once I changed it, it worked on the staging website as well as on the live site.I had no idea the problem will be caused and solved by a simple setting like this.
Thank you very much for helping me! I really appreciate it.
Best,
Jan- This reply was modified 3 years, 4 months ago by Jan Mi?acky.
Hi Patrick,
the new code has been placed. I tried submitting a form but nothing showed up in the console.I really appreciate you helping me!
Best,
JanHi Patrick,
I created a staging site and here’s the new test page:
https://www.zirhamia.cz/staging-zirhamia/?page_id=2143Here’s the MU plugin:
https://pastebin.com/pWXiLfE4I changed $tracking_code to true as my GA plugin has been disabled. I tried placing the alert code in it but I’m not sure if I did it correctly. Could you please check it?
All plugins have been disabled except for Forminator. But I still don’t see the events being tracked in Google Analytics.
Hi Predrag,
I have tried removing reCAPTCHA from CF7 and the event didn’t show in Google Analytics. Now I have disabled the CF7 plugin completely and the event still didn’t show. I’m keeping it disabled to give you time to have a look at it. Thank you for your help!Best,
JanHi Predrag,
Thank you for the reply. Can I just disable reCAPTCHA on CF7? I can’t disable CF7 as some forms are still using it.Best,
JanHi Patrick,
Thank you very much. I disabled the Autoptimize plugin and flushed its cache. It didn’t work. I even tried disabling WP Rocket on the page with the form but it also didn’t change anything.Do you have any other thoughts on what may be the problem, please?
Best regards,
Jan- This reply was modified 3 years, 5 months ago by Jan Mi?acky.
Hi Adam,
thank you for your reply. I tried the PHP echo function but it didn’t work. It returned (not set) in Google Analytics.I understand that it’s already beyond the scope of regular support. Please, consider adding this as a feature to your upcoming versions.
Best regards,
JanHi,
I would like to re-open this topic. My question is whether it’s possible to use custom fields data that would get sent to Google Analytics/Facebook Pixel.For example this is the original code:
if( form_id == 12345 ){ gtag( 'event', 'Sign-up', { 'event_category': 'Tour', 'event_label': 'Prague','value': '100' } ); }
Can I do something like this?
if( form_id == 12345 ){ gtag( 'event', 'Sign-up', { 'event_category': 'Tour', 'event_label': 'acf_tour_name','value': 'acf_tour_value' } ); }
I’d love to be able to transmit ACF data into analytics using a single form.
Thank you for your help.
Best regards,
JanHi Prathamesh,
the second reply is what I was looking for and it works perfectly! Thank you very much. I appreciate your help! You have just made my life so much easier (and automated).Hi Patrick,
I tried that and it worked. Now it’s showing well in both Safari and Chrome. Thank you very much for your help! Appreciate it ??Hi Prathamesh,
thanks a lot for your fast reply. I added this custom CSS and it solved the problem with Safari but not with Chrome (unless that square is normal in Chrome which I doubt).Any tips how to fix it on Chrome, please?
Hello Nastia,
that’s fair enough. Thank you for your help, you and your team did a great job!Best regards,
JanHi Nastia,
thank you very much for this. I tried it and it tracks my custom labels to the given forms.However, it seems to submit the events twice – once with my custom labels and second just generic ones like before (‘label’, ‘category’, etc.).
It seems that we need to add a rule that if the form id matches in the first place, it should not send the second generic event.
Could you please look into it?
Best regards,
Jan