I'm not too familiar with all this, my apologies - I'll try to show where I'm at. The client wants a form submission to prompt a PDF download. There are two different PDFs, two instances of the same form.
So there's that. I'm not sure if I'm on the right track or not - also, can't figure out exactly how I can get the right URL into my wpcf7mailsent event listener. You don't need much code for it. I had the need to add a download CTA after the content of all case studies of a website, but "in exchange" of user's data for:. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Asked 3 years, 1 month ago. Active 8 months ago. Viewed 16k times. Other content They use the loop count to build a specific url - this is info I want later! Their current solution is to grab a javascript code from an ACF field. I have had a lot of trouble figuring out how to put the CF7 form in that field.
Improve this question. Just Jeff Just Jeff 3 1 1 gold badge 1 1 silver badge 3 3 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Parth Shah Parth Shah 78 1 1 silver badge 10 10 bronze badges.
That would work - though I'm looking to have one form serve two different files, depending on where the user accesses the form. I think I'm just going to end up doing this. One way to do that: turn it into gated content. This is a simple method where you require an email before downloading files. Everybody is doing it! The key is to exchange your content for user data. In addition to email addresses, you could collect job titles, industry info, or anything else that shows the user is a qualified lead.
The most popular gated content options are membership sites and signup forms. You'll see something like "Grab our free marketing eBook when you sign up. One typical place to find these free download forms is in the sidebar or footer of a website. That way, they're clearly visible but not as disruptive as a popup.
We've written about this before in our article, how to include a contact form in your sidebar. But is this type of lead magnet actually effective? Let's first find out why then learn how to do it. You can also learn more about using calculator lead magnets. Information exchange is a win-win scenario.
You get email addresses to grow your list and your target customers get bonus content for free. If you're having difficulty growing your email list, gated content could be the best way forward for your email marketing strategy. It lets you provide value to your new email subscribers, allowing you to eventually convert them into new customers. Imagine all the conversions you could be missing out on by not using this marketing strategy.
Spoiler alert: it's a lot. First, create a new form with the Formidable form builder plugin. In this case, we're using it as an email before download plugin. People won't be able to see this form on your site -- it's just for uploading and managing the files you want to give away.
Now you'll need to populate your form with some fields. First, add a Text field, which will be a single line field. Simply title it "File Name. Next, expand the options of the field and make sure you check the boxes Required and Unique.
You can see what it looks like in the image below. The next field you should add to the form is a File Upload field. This is how it should look below:. Now it's time to save the form and protect the uploaded files , so click update. Click on Settings after the form has been updated. Then, scroll to Form Permissions and check the box that says Protect all files uploaded in this form. To save this change, simply click Update. Very important: your new subscribers need to see the files you're giving them.
So you'll need to display those files. You can do this by creating a new View. This is just like when you create a brand new form, except you click on View instead of Forms. Choose Grid for the View type. Call your new View "Display Protected File. In the content box, click on the Text tab instead of Visual. Otherwise, this won't work. Save your changes before moving onto the next step.
More on that later. Now that the groundwork is in place, let's create a simple contact form that will appear on your WordPress site. Be sure to include an email address field and check the Required box. This way, you'll be able to capture the email address before receiving the digital download. Then feel free to add whatever fields to the form you want. This is the form where users submit information to receive a download.
The next step is to show them the downloadable file after they give you their email address. This is where the whole idea of offering the files is put into action. To do this, go to the Form Settings page for the contact form you just created. Set the form to Show a Message on submit. This will be a success message, telling the user they've successfully signed up.
This message is where you'll display the View with the link for users to download the file. You could also include the View shortcode in the email notification to send the download link, or even use it to create a download page.
If you'd like to include multiple files, repeat the shortcode with a different file name. You did it! Now you should have a fully functioning form that requires an email to download a file, giving new subscribers access to your gated content. Create Your File Download Form. If you're not already using Formidable Forms, we have plenty of great features to help your website boost conversions.
We offer simple solutions to complex problems. Get started with our free plugin or the full-featured premium versions!
0コメント