I’m trying to import a snipped from Calendly.com that goes into the tag. When the JS snipped is imported, Calendly puts a “Calendly” variable on the global, window object.
I want to be able to run the following code on button press, but I’m not sure how to tell the Wix code editor that Calendly is a valid object in the global namespace. Anyone have experience using global variables that are imported via the tag?
Calendly.showPopupWidget(‘Calendly - Talk Hiring’);return false;
and here is all of the embed code:
Schedule time with me
1 Like
Did you manage to find a way to make this work?
This post is from last year and being closed.
You can either add html code into a html iframe on your page
https://support.wix.com/en/article/using-iframes-to-display-visible-content-on-your-site
Or you can add it via a custom new tool in Tracking and Analytics and on your required page.
https://support.wix.com/en/article/embedding-custom-code-to-your-site
The latter option is sounding like it should be the choice that you need to use for Calendly integration.
However, as stated in the first link…
Wix cannot provide support for external codes that were not created or tested with Wix.
If you are experiencing an issue with your code snippet, please contact the provider directly.
So, if you need help with this then you need to be going through the third party provider, in this case Calendly and ask their own support with help for this.
If you check their own website then you will find your answer…
https://help.calendly.com/hc/en-us/articles/223147127-Embed-options-for-Wix