NOTE - An email we sent out on February 21st had incomplete instructions. If you are updating your manual install, you will find the old code in your <head> tags, and the new code will go in your <body> tags.
Simply delete the code from your <head> then follow the instructions below to add the new code to the <body>.
If you have not already signed up for Sumo, check out the Getting Started with Sumo Guide before following the instructions below.
Before beginning a manual Sumo install, be sure to check to see if there’s a platform-specific install method available to you.
We made the manual install process as simple as pasting a single line of code, there may be an easier install method available to you depending on your website platform. Double-check this list (link opens in new window) and choose your appropriate website platform.
Didn’t find your site platform in the list? Then it’s time to proceed with the manual install process!
Step 2: Find the Appropriate File to Edit
- Using your favorite FTP client, connect to your site.
- Find your site’s main HTML file (usually named “index.html”) and transfer it to your local drive.
Note: If you are not comfortable or familiar with editing your own HTML, then take a second to make a copy of this file and save it as a backup. If you have any difficulties, you'll be able to restore this backup file to your site and then begin the install process again.
Step 3: Add the Sumo Script to the Body
Copy your Sumo install code that you were given when you created a new account.
- Haven’t created a Sumo account yet? No worries! Head over to https://sumo.com/register to create an account and claim a SiteID and install code. We’ll also send you welcome information with your code and install guides.
- Go to your Sumo account page at https://sumo.com/sites. Click the dropdown menu (next to the word “Manage”) to the site for which you want to find the install code, and select “View Install Code”.
- Copy the code on this page to your clipboard.
In the HTML file that you transferred to your local machine, paste the Sumo install code into the file’s header.
- Open the file in your favorite code editor
- Create a new line in between the <body> and </body> tags
- Paste the install code
Now save and close your edited file.
Back in your FTP client, upload your edited HTML file back to your site’s file tree. If your client asks if you want to overwrite an existing file, choose Yes.
Congrats! You’re all done and can now log in to Sumo on your website.
See also: How to Log In to Sumo