# Installing Cabin
Start by adding the domain name to your Domains (opens new window) page. Then follow the instrctions below to add cabin to your website.
# Basic Installation
Place the following code before your closing </body>
tag.
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
# Squarespace
TIP
Only available for sites with a Squarespace Business or Commerce plan.
- Click Settings, click Advanced and then click Code Injection
- Add the following code to the Footer:
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
- Click Save at the top of the page.
More details at Squarespace (opens new window)
# Ghost
- Go to your Ghost Admin settings.
- Click on Code Injection in the sidebar menu.
- Paste the tracking code below into the Foot section:
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
- Click Save.
More details on Ghost (opens new window).
# Webflow
TIP
Only available for paid Webflow accounts.
Go to your Project settings.
Next click on Custom code in the tabs menu.
Paste the tracking code below into the Footer Code section:
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
Click Save Changes.
Click Publish to make your changes live.
More details on Webflow (opens new window).
# WIX
TIP
Only available for sites on a WIX paid plan.
- Click Settings in your site's dashboard.
- Click the Tracking & Analytics tab under Advanced Settings.
- Click + New Tool and select Custom from the dropdown.
- Paste in the code from below:
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
- Select the relevant domain. Note: This option will appear only if you have multiple domains.
- Enter a name for your custom code. E.g. Cabin Script
- Add Code to Pages: Choose All Pages and Load code once.
- Place Code in: Choose Body - end.
- Click Apply.
More details on WIX (opens new window)
# WordPress
- Install the the Insert Headers and Footers (opens new window) plugin.
- Go to Settings > Insert Headers and Footers menu.
- Paste the code below into the Footer scripts:
<script async defer src="https://scripts.withcabin.com/hello.js"></script>
- Click Save.
If you need more help installing Cabin, please contact hello@withcabin.com.