With this Wordpress plugin you can add links to add an event to the user's calendar. Use a shortcode like the example bellow.
Copy-paste the code bellow to your posts and pages.
[add_to_cal date='2018-12-25' time='12:01:00' duration='60' title='Please add a title to the event' description='Please add a description to the event' address='Please add an address to the event']
If you use Shortcake Shortcode UI you can insert the links using the graphic user interface.
This shortcode uses Google Analytics events to track clicks in the add to calendar links. It supports both the gtag tracking code and analytics.js.
- Upload the add-to-cal folder to wp-content/plugins/.
- Activate the Add event to calendar plugin.
If you use Shortcake Shortcode UI you should also:
- Upload the add-to-cal-ui folder to wp-content/plugins/.
- Activate the Add to call UI plugin.
- Open the languages/add-to-call.pot file with Poedit.
- Create new language.
- Translate.
- Save the .po and .mo files as the examples inside the languages folder.