Re: Logic scripting in landing pages? (Similar to velocity in emails)

Jonathan_Dunn
Level 2

Logic scripting in landing pages? (Similar to velocity in emails)

Hello, I would like to know if it is possible, in a Marketo landing page, to write HTML (or Javascript) conditional to token value(s).  I guess similar to what you can do with Velocity scripting in emails, but in landing pages.  What I would like to do is something like:

if {{lead.Some Token}} = "someValue" then write this string "Hello".

The idea here is that I do not want to expose the value of {{lead.Some Token}} in the source HTML code of the page.

Thanks!

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Logic scripting in landing pages? (Similar to velocity in emails)

If it's an absolute requirement that data not appear in HTML, JavaScript, or even on the wire with an Ajax call, then the answer is no.  You'd have to use segmentations to render different content blocks on the server side.

EDIT: Or dip into Real-Time Personalization.

Jonathan_Dunn
Level 2

Re: Logic scripting in landing pages? (Similar to velocity in emails)

Well that's a bummer, thanks for the answer.