• Resolved Masoko Vita

    (@consulmk)


    Good, you have some post or you know of one where you explain what trigger has to be created to send an event when you press send in a form of contact form 7. I read a lot but in the end I can not get it to work and trigger the trigger. The default Tag Manager of Send Form by putting Form ID does not work, does not fire. Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    You can use this GTM event to catch form submissions: gtm4wp.contactForm7Submitted

    You may also create a new data layer variable to read this: gtm4wp.cf7formid
    Using this, you will also know which form was submitted

    Thread Starter Masoko Vita

    (@consulmk)

    Good,

    I had already tried this but I do not know why it does not work, I have to do some type of special shot or page label

    ID Form wpcf7-f15793-p15785-o1
    Variable https://prntscr.com/iet3qh
    Trigger https://prntscr.com/iet458
    Label https://prntscr.com/iet4nm

    Thank you very much

    • This reply was modified 7 years, 1 month ago by Masoko Vita.
    Plugin Author Thomas Geiger

    (@duracelltomi)

    I guess I need to change the plugin code as some event names changes in CF7
    If you are able to edit files on your site, you can open gtm4wp-contact-form-7-tracker.js under the js folder of my plugin.

    Here you will find a line with the text wpcf7:mailsent
    This has to be changed to wpcf7mailsent
    I will include this change in the next version of this plugin.

    You will also need to adjust your trigger. Although I do not speak your language, I guess
    you are still using a Form Submission trigger. With the CF integration of my plugin you will need to use a Custom Event trigger and enter gtm4wp.contactForm7Submitted in the event name field.

    Thread Starter Masoko Vita

    (@consulmk)

    Thank you very much, I have already achieved it. Thank you very much for your work

    Thread Starter Masoko Vita

    (@consulmk)

    Thank you very much

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Configuration Events Contact Form 7’ is closed to new replies.