Skip to main content

Gated content - automatic download on form submission

0 Votes



  • Official comment
    Christopher Johnson

    Hey Ken!

    It sounds like you simply are not using the "Gated Content URL" for the form. In Act-On if you navigate to Content>Landing Pages> Find the landing page that contains your gated content form > click get public URLs. There will be a section titled "Gated URLs" that has a URL for each piece of "attached" content. 

    Using that URL should take you to the form and download the content upon form submit. 

    Let me know if that helps!


  • Crawford Colville

    Joining in here. I wanted the downloaded PDF to open a new browser tab, as I would expect it too. I find it a little underwhelming when I press 'go' and it downloads in the bottom left of my screen. Then .... I have to open or view the file i.e. I am asking the user to do 'another' step when all I wanted was to see the PDF ASAP without fuss. The user wants to 'see' the document first then decide to download, save or print etc etc. We are forcing the download on the user which some may resist. Not ideal at all in my estimations as too convoluted to quickly see a document. A user doesn't have time for this. 

  • Ken Moon

    Hi Christopher, thanks for your help!

    I copied the Gated URL to the tab (with the attached asset still there on the other tab).  When I submit the form, it starts to download the asset over and over again in a loop.

    I was browsing through the catalog and saw that "automatic asset download" templates.  Should I be using that as the response page?

  • Christopher Johnson

    Hey Ken,

    You shouldn't have the landing page's gated content url as the response page. From the looks of your config you should have the public URL for the thank you page, as the response page. Then when you send out a link to the form, you will want to link the gated content URL. 

  • Ken Moon

    Hi Chris,

    So in essence users will have to either a) submit the form and get a link to download (or an email with the link), OR b) hit the gated URL and get the download that way.  There isn't a way to have the download happen on submission of the form.  Did I get that right?

  • Christopher Johnson

    Hey Ken,

    If you are visiting the form via the gated URL, the content will download upon form submission.

  • Asif Nazir

    Hi Christopher,

    Is it possible if i am visiting the form through public URL of landing page, the media content gets download upon clicking on form submission button? (I have attached my file in gated content of form, that is embedded in my landing page)


  • Chris Apgar

    Hi Asif - another Chris here but I can answer this :)

    Similarly to Ken's original question, you want to make sure you are using the Gated URL instead of the regular Public URL for the landing page. The Gated URL triggers the behavior of the media download after form submit, whereas the standard URL does not.

  • Chris Apgar

    Hi Crawford. I totally see your point. I think that the default behavior of the Gated Content feature is better for some types of content and customer audience than others.

    The good news is that there are a number of other ways to achieve a similar objective with Act-On! Here's one solution that I think is closely aligned with what you're going for:

    Hope that helps.

  • Scott Wallace Act-On Team

    Hi Crawford/All,

    We can also achieve the end result via a landing page redirect. The steps to take this would be to create a landing page that would incorporate some javascript on it that immediately loads the content you are looking to show.

    The next step would be to then have the form response page be this landing page and once the submission has been made within a blink of an eye the PDF will be shown.

    An example of this can be seen here. However, one caveat to the approach of having it open in a new tab is that you'll run into the pop up blocker on a lot of occasions. For example, you'll probably see it with the demo link I have provided. You can change the code used for the landing page redirect to replace the existing window with the PDF if need be and that is a simple process to achieve too but of course you are then driving that person away from your site.

    An example of the code I have in my demonstration is here and it sits within the javascript component of the landing page builder.

    < script >"YOUR PDF URL");
    < /script >

    With regards to the script aspects above you would need to remove the spaces around the words. I have had to place them in there for the demonstration purposes of the code otherwise they get removed.

  • Shivani Singh

    I am connecting act on form with a word press gravity form on my website. I want to accomplish the same what Ken asked that once the user submits the form it gets pdf and Thank you screen. By using Chir Jhonson's suggestion I created a landing page and place the Act on form on that. Then created gated URL and placed it on the redirect tab on the gravity form now when a user submits the form they get the gated content downloaded as well as Thank you Landing page. But the submission is not getting recorded in the form's submission table. Please suggest if I am missing anything.

Please sign in to leave a comment.

Connect with us

Chat with us
Search for your answer or chat with our support team.