Create Direct Link to Button

In this Article:

The Direct link is a URL that simply directs users to your own custom landing page for your widget, hosted at https://sync.ecal.com. The direct link has a few mandatory querystring parameters as well as a long list of additional parameters you can pass via the querystring to impact the widget’s user experience.

Use Direct Links for your email communications, social media and native apps.

ECAL apiKey and widgetId are required as parameters in the link. For e.g.

https://sync.ecal.com/schedules?apiKey=INSERT_YOUR_API_KEY&widgetId=INSERT_YOUR_WIDGET_ID

2: Additional Parameters

Depending on your use case and requirements, you may need to use some of the additional parameters available. These parameters mirror those available to you via our Widget embed code API and will generally be the same as whatever you are passing to our widget via the button embed code.

Please consult ECAL support for details about which parameters are relevant to your use case via chat in your ECAL Admin or support@ecal.com.

Example HTML code

<a href="
https://sync.ecal.com/schedules?apiKey=INSERT_YOUR_API_KEY&widgetId=INSERT_YOUR_WIDGET_ID&email=INSERT_USER_EMAIL&calendar_reference=['Advantage-Aviator', 'Barclaycard-Visa']
">Sync to Calendar</a>