Forum Replies Created
-
AuthorPosts
-
Hi,
I have now watched the video and assigned an ID to the form as described. The tag/trigger still did not fire.
I have now taken a screenshot of everything for you. See Private Content.
This isn’t the first time I’ve used GTM. On another website where I use Enfold, it was enough to just edit the functions.php.
I hope the screenshots help.
Best regards,
ChrisHi,
I have created a testpage. see in private content.
b.r.
Chris
Any other solutions? Or do you need any more informations?
If I modify functions.php and test gtm, should it be applied immediately and work, or does it always take some time?
Still no change.
Actually the eventname is “lead_form_submission”, isn’t it?
add_filter(‘avf_contact_form_submit_button_attr’, ‘avia_add_submit_attributes_to_cf’, 10, 3);
Maybe try this?
function avia_add_submit_attributes_to_cf($att, $formID, $form_params) {
$att = ‘onsubmit=”dataLayer.push({\’event\’: \’lead_form_submission\’});”‘;
return $att;
}OK I’ll change this and will try again.
Link to form: thinkiq.ch
b.r.
ChrisHi,
here the Screenshots.
Hope this helps.https://img.savvyify.com/image/Bildschirmfoto-2025-07-28-um-07.33.52.y92mX
https://img.savvyify.com/image/Bildschirmfoto-2025-07-28-um-07.33.48.y9AtM
https://img.savvyify.com/image/Bildschirmfoto-2025-07-28-um-07.33.06.y9jMA
https://img.savvyify.com/image/Bildschirmfoto-2025-07-28-um-07.32.57.y9qI3b.r.
ChrisStill have the problem.
b.r.
ChrisHello,
I looked at the documentation and the video again. I implemented everything exactly as described.
Other tags are fired. It’s really only about the GA4 event form submission with the Enfold contact form. That is not fired.
Best regards,
ChrisHi,
yes. I have created a Form-Submission GA4 Event in GTM.
B.r.
Chrirs -
AuthorPosts