Re: Expose content on a landing page based on time

Cassandra_Clark
Level 2

Expose content on a landing page based on time

Is there a way on a marketo landing page to have content change based on a time stamp?  I.e. on specific date make a url appear? 

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Expose content on a landing page based on time

Sure, although there's no native Marketo feature literally called "expose at timestamp," you can use the browser's knowledge of the current time and compare to a date stored in a {{my.token}}.

This is the simply the reverse of expiring a landing page, which you can search for here.

Note the logic will be visible if someone maliciously/curiously looks at the source code of the page. What is the exact business application of this feature?

Cassandra_Clark
Level 2

Re: Expose content on a landing page based on time

We are trying to only expose a link to a piece of content at a specific time.  So idea is they get conf page after registering.  When it is time for the content link to be up they go back to the conf page and the link is there automatically without someone having to add manually. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Expose content on a landing page based on time

As long as it's OK if the underlying logic would be visible to a curious user, you can use the inverse of the expiring LP content concept, where if today's date >= publication date you show the data.

Cassandra_Clark
Level 2

Re: Expose content on a landing page based on time

ok thanks so much for your help Sanford Whiteman!