• Resolved Tilo

    (@netsales)


    Hello,

    i want to get a Google Calendar Link in Mail who add the date in Google Calendar, like that
    https://www.litmus.com/blog/how-to-create-an-add-to-calendar-link-for-your-emails/
    <a href="https://www.google.com/calendar/event?action=TEMPLATE&dates=20180821%2F20180822&text=Litmus%20Live%20London&location=etc.venues%20155%20Bishopsgate&details=Litmus%20Live%20helps%20you%20become%20a%20better%20email%20marketer%20with%20real-world%20advice%2C%20best%20practices%20%26%20practical%20takeaways." style="display: none;" class="cta gmail-show">Save the date</a>
    I still use the code
    <a href="https://calendar.google.com/calendar/u/0/r/eventedit?dates=[datetime-2]%2F[datetime-2]&text=Rückruf [name-2]&details=Name:+[name-2]+Telefonnummer:+[telefon-2]+Anfragenummer:+[anummer]+E-Mail:+[e-mail-2]+Nachricht:+[nachricht-2]&sf=true" class="cta gmail-show">Termin in Google eintragen</a>
    but the date form wasn’t correct.
    Is there a solution to set a Datelink?

    Thanks
    Tilo

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • The problem most likely is the date format. It seems that for the URL to work, the date should be in the format YYYYMMDD, with no dashes/slashes and the date format that comes from the form is different. So this will be tricky to achieve. You would need custom code to convert to that format, or maybe have a hidden field that would be populated with the date in that format, with your custom code.

Viewing 1 replies (of 1 total)
  • The topic ‘Create a GoogleDate-Link’ is closed to new replies.