Logic scripting in landing pages? (Similar to velocity in emails) | Community
Skip to main content
Level 2
June 10, 2015
Question

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

  • June 10, 2015
  • 1 reply
  • 2284 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
June 10, 2015

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.

Level 2
June 11, 2015

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