Search code examples
contact-formcontact-form-7

Identifying submitted page url for Contact form 7


I am currently using a single form through Contact Form 7 for visitors to download pdf files on my website. Once they fill the form and clicking the submission button, the related pdf file will be downloading.

However, I want to export the information about visitors whoever downloaded the pdf file for a specific page. I downloaded the report from Contact Form DB but it does not show any link or page name that visitors submitted the form. I believe there is a way to identify or fixing this.

Thank you


Solution

  • You can use the Contact Form 7 Dynamic Text Extention.

    Use the shortcode below in your form to retrieve the current page URL:

    [dynamictext yourfieldname "CF7_URL"]