# 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.

  1. Click Settings, click Advanced and then click Code Injection
  2. Add the following code to the Footer:
    <script async defer src="https://scripts.withcabin.com/hello.js"></script>
  3. Click Save at the top of the page.

More details at Squarespace (opens new window)


# Ghost

  1. Go to your Ghost Admin settings.
  2. Click on Code Injection in the sidebar menu.
  3. Paste the tracking code below into the Foot section:
    <script async defer src="https://scripts.withcabin.com/hello.js"></script>
  4. Click Save.

More details on Ghost (opens new window).


# Webflow

TIP

Only available for paid Webflow accounts.

  1. Go to your Project settings.

  2. Next click on Custom code in the tabs menu.

  3. Paste the tracking code below into the Footer Code section:

    <script async defer src="https://scripts.withcabin.com/hello.js"></script>

  4. Click Save Changes.

  5. 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.

  1. Click Settings in your site's dashboard.
  2. Click the Tracking & Analytics tab under Advanced Settings.
  3. Click + New Tool and select Custom from the dropdown.
  4. Paste in the code from below:
    <script async defer src="https://scripts.withcabin.com/hello.js"></script>
  5. Select the relevant domain. Note: This option will appear only if you have multiple domains.
  6. Enter a name for your custom code. E.g. Cabin Script
  7. Add Code to Pages: Choose All Pages and Load code once.
  8. Place Code in: Choose Body - end.
  9. Click Apply.

More details on WIX (opens new window)


# WordPress

  1. Install the the Insert Headers and Footers (opens new window) plugin.
  2. Go to Settings > Insert Headers and Footers menu.
  3. Paste the code below into the Footer scripts:
    <script async defer src="https://scripts.withcabin.com/hello.js"></script>
  4. Click Save.

If you need more help installing Cabin, please contact hello@withcabin.com.

Last Updated: 10/14/2021, 10:24:46 AM