skip to Main Content

I would need to find a way to bring the email that the sender leaves me on the CF7 contact form to my wordpress site on the thank you page. The sender email needs to be visible in the text that appears on the thank you page, i.e. "Thank you for contacting us. We will send you as soon as possible to the email indicated: [your-email]."

I have found some dated posts on this, can you update me? I have tried but nothing. I’m no a codie person.

I need to bring this email visible in the text of the thank you page for google ads enhanced conversions purposes.

Would you let me know? Thank you very much

Php codes, but nothing I was able to apply

2

Answers


  1. I’ll explain it here using some plugins to help:

    Step 1: Install and Activate the "Contact Form 7 – Dynamic Text Extension" Plugin.
    This plugin allows you to create dynamic fields that can be used to capture and display information such as the sender’s email.

    Step 2: Redirect to the Thank You Page:
    In the contact form in CF7, configure the redirect action to the thank you page. You can do this using an additional plugin, or insert the redirect code directly into the theme.

    I use the "Contact Form 7 Redirection" Plugin:
    In your form settings, go to the "Redirection" tab and select the thank you page where the user should be redirected after submitting the form.

    Step 3: On the thank you page, insert the following shortcode to capture the sender’s email:
    [dynamictext email "CF7_GET key=’your-email’"]

    Step 4: On the same thank you page, create the thank you message, including the shortcode to display the email. For example:

    Thank you for contacting us. We will send you as soon as possible to the email indicated: [your-email].

    Let me know if it worked for you

    Login or Signup to reply.
    1. Install and activate the "Contact Form 7 Redirection" plugin.
    2. Go to Contact > Contact Forms and select the form you want to edit.
    3. In the "Redirect Settings" section, set the URL of your "Thank You" page.

    once see the image you can get clarity
    [1]: https://i.sstatic.net/gwlHmGqI.png

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search