SOLVED

Ways to use the calendar token?

Go to solution
Eric_Salamon1
Level 6

Ways to use the calendar token?

Now here are the following ways I have used the calendar token in the past:

  • Added the image html so that it would hyperlink to an image
  • Added the html so that the text will look the way I want it to

But now I have a strange issue. My company just started to use the modules so there is an image that needs to link to the same link as below, and wouldn't you know it the link is a calendar token. How would I reference the token information  without duplicating it is there some kind of <a href> I could use so that I could anchor the link to the one that populates the token?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Ways to use the calendar token?

Also there needs to be a work around that you can reference an a href tag that appears lower on the page. I can't imagine that everyone goes to a third party to make it work each time.

This part isn't Marketo's fault: static HTML has no facility for applying the href of one tag to another tag. (You can reference one <A> from another <A> in the same document, but that is very different.)

View solution in original post

16 REPLIES 16
SanfordWhiteman
Level 10 - Community Moderator

Re: Ways to use the calendar token?

Thread should be moved to Products​ methinks. ("Central" being for non-Marketo-specific marketing topics, as confusing as that is.)

You can't have two different types of special formatting for the same calendar token, so you'd need two tokens.  Or you could use Agical.io and open your mind to much more.

Eric_Salamon1
Level 6

Re: Ways to use the calendar token?

Ya that is a bit confusing, given that this is a Marketing tool that is commonly used and I am trying to find out ways to adapt the code into difficult situations.

Also there needs to be a work around that you can reference an a href tag that appears lower on the page. I can't imagine that everyone goes to a third party to make it work each time.

SanfordWhiteman
Level 10 - Community Moderator

Re: Ways to use the calendar token?

Also there needs to be a work around that you can reference an a href tag that appears lower on the page. I can't imagine that everyone goes to a third party to make it work each time.

This part isn't Marketo's fault: static HTML has no facility for applying the href of one tag to another tag. (You can reference one <A> from another <A> in the same document, but that is very different.)

View solution in original post

Eric_Salamon1
Level 6

Re: Ways to use the calendar token?

Thanks!

SanfordWhiteman
Level 10 - Community Moderator

Re: Ways to use the calendar token?

Ya that is a bit confusing, given that this is a Marketing tool that is commonly used and I am trying to find out ways to adapt the code into difficult situations.

Peer-to-peer support is under Products... that's just the way it is (or is supposed to be)!  Otherwise half- or unanswered questions proliferate and the confusion gets worse.

Anonymous
Not applicable

Re: Ways to use the calendar token?

I'd like to see the Marketo calendar token:

  • Allow for the use of other tokens in the "Subject" and "Location" fields like it does in the "Description" field.
  • Pull the date and time from the "Main Event" entry, a date token, or allow for a reference that's relative to a date token – like in the "wait" flow step.
  • Include a reminder field that can be set and that has a reasonable default value, or allow for a reference that's relative to a date token – like in the "wait" flow step.

Agical.io looks useful, but it still requires the user to piece together and then properly encode the string, which is not great if we want to create a program that Marketing can just clone, populate tokens for (without encoding anything), and then launch.

For anyone looking to generate calendar links, Add Event (www.addevent.com) is one tool. The great thing about it is that you can create an event and it will generate a button for your site as well as Outlook, AppleCal, Google, Yahoo and Outlook.com links. All the calendar entries you create can be viewed and managed in one place. If you send out a link to a calendar that's incorrect, you can update it. Anyone can use it – the steps for creating an event are simple. Just fill out some fields. It does all the work for you. Also, there's an API.

The pricing is pretty reasonable too.

I'd really love to see improvements in Marketo though. That would be really helpful to us.

SanfordWhiteman
Level 10 - Community Moderator

Re: Ways to use the calendar token?

Agical.io looks useful, but it still requires the user to piece together and then properly encode the string, which is not great if we want to create a program that Marketing can just clone, populate tokens for (without encoding anything), and then launch.

Hey man, that's only because you didn't build a UI for it.

Anonymous
Not applicable

Re: Ways to use the calendar token?

I'll get right on that.

We recently leveraged the API to read a {{my.capacity}} token we created in our event programs to close an event when the number of registrants reached that capacity. I guess the next thing will be to generate calendar links on the fly using the API and a program ID.

SanfordWhiteman
Level 10 - Community Moderator

Re: Ways to use the calendar token?

Or store the event info in an (editable) Velocity dictionary object token, then output the URL using another (no-touch) token.

my.vtl_eventinfo

#set( $event = {

  "title" : "Group chat session",

  "date" : "2017-03-15",

  "time" : "05:00 EST",

  "reminder" : "5m"

} )

my.vtl_eventlink

<a href="http://calendaring.example.com/?subject=${event.title}&startDate=${event.date} [... etc...]">Add to calendar</a>