1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

How to capture Divi submitted contact form data

Discussion in 'Free Divi Community Forum' started by Oliver Mott, Jul 24, 2021.

  1. Oliver Mott

    Oliver Mott New Member

    Hi,

    I need to send the Divi Contact Form submitted data to a 3rd party system.

    I can't find any documentation regarding the contact form object and how to process it. What is the hook to capture the data, and the object to pull the submitted data from?

    I've built similar functions for cf7 via funcitions.php using a method like below (simplified)...

    upload_2021-7-24_12-55-17.png

    Is there a similar way I can do this with the Divi contact form?
    Thanks in advance.

    Oliver
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    I don't think there's any hook for that. You may confirm it with official Divi support at: https://elegantthemes.com/members-area/help

    Anyway, why not just stick with contact form 7 plugin, since it can achieve what you want.
     
  3. Oliver Mott

    Oliver Mott New Member

    OK thanks for the heads up. It's a customer site, so would rather not have to ask them to change it but might be the only option.
    Thanks again.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Industrial' Divi layout for all Pro members:View Demo
  4. kuba.wtf

    kuba.wtf New Member

    There's a et_pb_contact_form_submit hook now that lets you do this: https://www.elegantthemes.com/documentation/developers/divi-module-hooks/

    If you'd rather get the form information on the front-end you can use a plugin I created (pending publishing in the WordPress directory): https://github.com/zizzfizzix/tracking-for-divi
    It will give you all the details in the dataLayer event:
    Code:
    Log In or Sign Up to view this code.