Skip to main content
Ranae_Mogensen
Level 2
Jan 6, 2020 4:18 PM UTC
Solved

Is it possible to add a save the date token to a button?

Is it possible to add a token to a button in an email? I'd like to add a "save the date" button at the end of my email using my Add to Calendar token. 

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Feb 11, 2022 11:25 PM UTC

This is for a landing page:

My orange "button" is a png. How do I get it to recognize the token in the URL field?


An ICS (Calendar) {{my.token}} contains an entire link (<a> tag). So you can‘t put it inside another link. That wouldn’t make sense as <a> tags cannot be nested.

 

If you want to put an image inside the calendar link, you would add that to the token itself, like:

 

5 replies

SanfordWhiteman
User Group Leader
User Group Leader
Jan 6, 2020 5:03 PM UTC

A "button" is just an <a> tag. And your token is just a URL. So it's the same as any other email link.

Translate
Tracy_Boesken
Level 3
Feb 11, 2022 2:45 PM UTC

Hi @sanfordwhiteman,

This is for a landing page:

My orange "button" is a png. How do I get it to recognize the token in the URL field? (The way it is now I receive a 404)

Also, the other two ways I tried is a regular token and a "box" with the token....which work but the hyperlink shows up green?? How would I change the color of the hyperlink?

 

Thanks,

--Tracy

Translate
SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Feb 11, 2022 11:25 PM UTC

This is for a landing page:

My orange "button" is a png. How do I get it to recognize the token in the URL field?


An ICS (Calendar) {{my.token}} contains an entire link (<a> tag). So you can‘t put it inside another link. That wouldn’t make sense as <a> tags cannot be nested.

 

If you want to put an image inside the calendar link, you would add that to the token itself, like:

 

Translate
Jay_Jiang
Level 10
Jan 7, 2020 12:03 AM UTC

perhaps the easiest solution is to just put the calendar token inside a "button" i.e. a box with a border

Translate