Title: CF7 wpcf7mailsent function
Last modified: May 7, 2021

---

# CF7 wpcf7mailsent function

 *  Resolved [dartnf](https://wordpress.org/support/users/dartnf/)
 * (@dartnf)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/cf7-wpcf7mailsent-function/)
 * Hi again and thanks for the plugin!
 * I wanna ask if there’s a way for calling the function that fire a “Signal” event
   in custom way (js), like in the title eg., with “addEventListener( ‘wpcf7mailsent,
   function”.
 * I ask this because with CF7 and the method “event_action = Form, form_class =
   someClass” the event is sent even if the form has not been really sendend (eg.
   if has error or fake send).
 * In that case the conversion will be pushed to FB but will be a false positive.
 * Anyway, beyond CF7, could we could be interested in some custom event/function
   for custom project.
 * Thank you very much!

Viewing 1 replies (of 1 total)

 *  Thread Starter [dartnf](https://wordpress.org/support/users/dartnf/)
 * (@dartnf)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cf7-wpcf7mailsent-function/#post-14620414)
 * No reply?

Viewing 1 replies (of 1 total)

The topic ‘CF7 wpcf7mailsent function’ is closed to new replies.

 * ![](https://ps.w.org/pixelyoursite/assets/icon-256x256.jpg?rev=3178123)
 * [PixelYourSite - Your smart PIXEL (TAG) & API Manager](https://wordpress.org/plugins/pixelyoursite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixelyoursite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixelyoursite/)
 * [Active Topics](https://wordpress.org/support/plugin/pixelyoursite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixelyoursite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixelyoursite/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [dartnf](https://wordpress.org/support/users/dartnf/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/cf7-wpcf7mailsent-function/#post-14620414)
 * Status: resolved