How do I set the year in the footer Automatically? | Community
Skip to main content
March 2, 2017
Question

How do I set the year in the footer Automatically?

  • March 2, 2017
  • 2 replies
  • 2100 views

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?

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

2 replies

SanfordWhiteman
Level 10
March 2, 2017

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.

March 2, 2017

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
March 2, 2017

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

-Greg

Grégoire_Miche2
Level 10
March 2, 2017

+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
March 3, 2017

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

-Greg