Home > Design - Imagery, Banners & Landers >

Dynamic Lander Content Example (5)


12-30-2014 06:51 AM #1 nickpeplow (AMC Alumnus)
Dynamic Lander Content Example

No sexy ladies or quizzes here... just code

I got fed up with duplicating landers for all my angles, keeping track of different files and folders, not being able to make bulk tweaks/improvements etc...

Attached is a simple bit of code that loads an XML file containing all your headlines, body copy etc. Simply specify an the angle id parameter in the url and it loads the content for that row. This means you only need to integrate it into your landers once, handy if you want to test out a new angle. You can open the XML file in excel and see everything in one place. Additional uses could be to specify image SRC's or set colors to match the offer.

Not complete, but you should be able to get it up and running fairly easily if you have skills. Further reading (I've used the same example file) here http://www.w3schools.com/dom/

dom.html?bookid=1
You'll need to upload it to a web server to get it working (Cross origin requests typically blocked locally)


12-30-2014 07:54 AM #2 bbrock32 (Administrator)

Sweet, that helps a lot mate!

Quick question, how do you track the performance of each variation if they are loaded on the same page?


12-30-2014 09:42 AM #3 zeno (Administrator)

Quote Originally Posted by bbrock32 View Post
Sweet, that helps a lot mate!

Quick question, how do you track the performance of each variation if they are loaded on the same page?
I guess you would add landers in your tracker as separate entities but just with different query strings in the URL.

This is much simpler with PHP but this looks to be entirely XML/JS? Cool!


09-12-2015 02:02 PM #4 rockit (Member)

Quote Originally Posted by zeno View Post
I guess you would add landers in your tracker as separate entities but just with different query strings in the URL.

This is much simpler with PHP but this looks to be entirely XML/JS? Cool!
Hey zeno, do you have a link for the php version? Can you share it, please?


09-21-2015 10:15 AM #5 kowisoft (Member)

I know this is an older post, but havings this purely in XML/JS has the advantage that I could e. g. run it on AWS S3, correct?


Home > Design - Imagery, Banners & Landers >