Re: How do I set the year in the footer Automatically?

Anonymous
Not applicable

How do I set the year in the footer Automatically?

I need to make all pages in Marketo update the year in the footer automatically.  I wold normally do this with Javascript but apparently Marketo doesn't like that.

I also attempted to use the system.date token.  Problem their was I cannot break it down to just year.  I would like to use a token but haven't figured out the easy way to do this sight wide.

Any suggestion?

6 REPLIES 6
SanfordWhiteman
Level 10 - Community Moderator

Re: How do I set the year in the footer Automatically?

Please move the thread to Products. "Community" is for website feedback, not product support -- and yes, this is confusing!

What do you mean "Marketo doesn't like" JavaScript? Mkto LPs don't have any probs running JS.

Anonymous
Not applicable

Re: How do I set the year in the footer Automatically?

I am taking over an old system and most of the emails and landing pages do not have templates.  So the footer is part of the content.  Every time I put javascript in the editor html area, the tool comments it out.  I can move forward but putting the code in the templates we are creating but I want to fix it in the old pages as well.

Grégoire_Miche2
Level 10

Re: How do I set the year in the footer Automatically?

What do you mean by No template? Not even a blank free-form one?

-Greg

SanfordWhiteman
Level 10 - Community Moderator

Re: How do I set the year in the footer Automatically?

Like Greg says, all LPs have templates. Mostly empty perhaps, but they have to be there.

On Free-Form LPs (I assume that's what they are, not Guided LPs, if it's a sufficiently old system) you can add an HTML Element to the canvas.

Grégoire_Miche2
Level 10

Re: How do I set the year in the footer Automatically?

+1 on Sanford.

The main difficulty is how are you going to add a JS to a Marketo LP. You will have to do it either in the LP or simply add a token to the LP template, then add this same token to the program hosting the LP and add the JS the token.

-Greg

Grégoire_Miche2
Level 10

Re: How do I set the year in the footer Automatically?

Forgot to mention this is for Guided LP templates. On free-form, as pointed out by Sanford, just add an HTML element.

-Greg