All Collections
Styling & Presentation
Using Inn Style on a Secure Website
Using Inn Style on a Secure Website

If your website uses SSL, you'll need to adapt the standard Inn Style code.

Hannah Benneworth avatar
Written by Hannah Benneworth
Updated over a week ago

If your website uses the HTTPS protocol, you'll need to make some basic changes to the standard integration code to connect to Inn Style over SSL.

Here's an example:

<script id="InnStyle-js"  
 src="https://developer.innstyle.co.uk/calendar.min.js">
</script>  

<script>
 InnStyle('yoursubdomain', {
  protocol: 'https'
 });            
</script>

Things to consider:

  1. Remember to change the yoursubdomain  parameter to your own subdomain.

  2. The first <script> tag uses an https:// source too – so don't forget to change that!

  3. As well as the protocol  parameter, you can also add other standard Inn Style parameters. You'll find a useful guide under Account > Website Integration with more information.

Did this answer your question?