Skip to main content
March 7, 2015
Question

One landing page for multiple downloads

  • March 7, 2015
  • 14 replies
  • 4394 views
We have multiple pieces of content on the website and have a thank you page when the content is downloaded.  Is there a way of creating one thank you page that just changes the name of the content downloaded rather than creating a page for every piece of content?  The thank you page is triggered from a form.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

14 replies

March 9, 2015
@Charlie, I haven't seen that segmentation method before, that's neat. 

Does it use the URL parameters to force the lead into a particular segment? Does that override the smart list conditions defined inside the segmentation itself, or do you just leave these blank? 

@Sanford, can you explain how you did that with only CSS? Also very neat :) 

@David, That is an interesting challenge because you could have combinations of assets needing to be displayed based on the checkboxes selected on the previous page. 

I suppose the segmentation method Charlie described could in theory work for this, but you would need to create a segment for every possible combination of assets. For example, if you had 5 assets to choose from (and the lead could choose any possible number including all 5) that is 31 different possible combinations. Not much fun! 

If you have a smallish number of assets it would be not too bad. But I would hope there would be a more elegant method than this, perhaps where you would append a series of show/hide values to the URL that would determine whether any individual asset is displayed. Sanford's CSS trick could perhaps work for that. 
SanfordWhiteman
Level 10
March 10, 2015
@David D Depends on what's "minimal" to you. :)

This example is about as basic as I can imagine. However it is not scriptless, as you can see.

http://jsfiddle.net/sanford/45x2562z/show/

@Justin N Using the CSS :target pseudo-selector you can show or hide elements based on the #hash of the document.   Or rather, I should say an element as the hash, and :target, are designed to highlight/scroll-into-view exactly one element on the page.  Works in my first example because we are only interested in showing the one interesting element.  In what I built for @David D we are potentially passing multiple element identifiers in the hash, like #filename 1,filename 2,filename 3.  Thus we need some JS to extract those elements for use in CSS.  It's not much JS at all, but it may be more than a lot of people can handle without anxiety!
March 12, 2015
Thanks Sanford! That is indeed what we are looking for. I'll pass it along to someone who has less anxiety regarding JS ;).
-David
March 13, 2015
Thanks Sanford.