UPDATE: in CF7 “Aditional Setting”, any code inserted doesn’t work.
I have this code below to tracking as event and then redirect to a thanks page, but nothing happen. In the other site this work fine.
on_sent_ok: "ga('send', 'event', { eventCategory: 'Contact Form', eventAction: 'Spanish Contact Form', eventLabel: 'CF7', eventValue: 1 }) "
on_sent_ok: "location = 'http://somedomain.com';"
I’m dealing with the same error. I tried uninstalling the CF7 and reinstalling it but the same behaviour.
I have another site identically but in other language, and in this the CF7 is working well.