Dynamically Serve Up Asset Files Based on URL Parameter

Anonymous
Not applicable

Dynamically Serve Up Asset Files Based on URL Parameter

Is possible to dynamically serve up a Marketo hosted asset file based on a URL Parameter passed to a Marketo Landing Page?

Example Tracking URL on a Resource Page
  • mydummydomain.com/offer=awesomewhitepaper
  • mydummydomain.com/offer=awesomewhitepaper-part-2
Visitor Actions Performed Upon Arriving on Landing Page
  • Visitor arrives at hosted landing page "mydummydomain.com"
  • Visitor fills out form... no thank you page is served up
  • Visitor is redirect directly to the "awesomewhitepaper.pdf" OR "awesomewhitepaper-part-2.pdf" dynamically depending on the passed URL parameter called "offer"..

Is this something that can be done in Marketo?


Thanks,

Tags (1)
5 REPLIES 5
Anonymous
Not applicable

Re: Dynamically Serve Up Asset Files Based on URL Parameter

I haven't tested this personally, but using a combination of these articles looks like it would achieve what you're looking for. Requires some jQuery development however.

http://community.marketo.com/MarketoArticle?id=kA050000000KysKCAS
http://community.marketo.com/MarketoArticle?id=kA050000000Kyxj
Anonymous
Not applicable

Re: Dynamically Serve Up Asset Files Based on URL Parameter

We implemented this two years ago based off of an old thread you can find on the community if you search long enough. You can absolutely do everything you want using Javascript/jQuery. 

Please be aware of the effect this idea has on your SEO. Instead of having a page to download an asset, then you'll just have a single page for all assets. It in effect nullifies your SEO juice. We have since stopped doing this. 
Anonymous
Not applicable

Re: Dynamically Serve Up Asset Files Based on URL Parameter

Hi Adam,

Thank you for the response, I figured the answer would lead us in the "JQuery/JavaScript" realm eventually.   Do you think it would be possible to do the following:

- Have a single "thank you page" used for multiple offer assets that dynamically displays a particular offer aka white paper based on the URL parameter?

Thanks,

Anonymous
Not applicable

Re: Dynamically Serve Up Asset Files Based on URL Parameter

From what I have seen (in the links provided and elsewhere), this certainly should be possible, though I have not yet implemented it myself. Adam W makes a good point about SEO, so this is something to consider when taking this approach.

Good luck with whatever you choose!
Anonymous
Not applicable

Re: Dynamically Serve Up Asset Files Based on URL Parameter

If it were me, and I had a limited amount of assets and didn't add new ones very often, I'd make this a Segmentation. Then you can create (one or many) landing pages, make the form dynamic. Use a single thank you page and use a URL parameter of the segment to deliver the proper asset.