Setup Snappy in Hostinger
Install Snappy on Hostinger
Adding Snappy to your Hostinger-hosted website is straightforward and gives your marketing team the freedom to optimize your site without constant developer involvement.
Overview
- Understanding Hostinger setup options
 - Method 1: Adding script to HTML files
 - Method 2: Using Hostinger's Website Builder
 - Method 3: WordPress on Hostinger
 - Verifying installation
 - Troubleshooting
 
Understanding Hostinger Setup Options
Hostinger offers several ways to build and host websites. The installation method for Snappy depends on which approach you're using:
- Standard hosting with custom HTML/CSS/JS files
 - Hostinger Website Builder
 - WordPress installation via Hostinger
 
Identify your website type before proceeding with installation.
Method 1: Adding Script to HTML Files
If you're using standard hosting with custom files:
- Log in to your Hostinger control panel (hPanel)
 - Navigate to File Manager under the Files section
 - Browse to your website's root directory (typically 
public_htmlorwww) - Locate and edit your main HTML files (like 
index.htmland other pages) - Add the Snappy script inside the 
<head>section, before the closing</head>tag: 
<script src="https://scripts.letsbesnappy.com/YOUR_DOMAIN/admin.js"></script>
- Make sure to replace 
YOUR_DOMAINwith the domain the script should be installed on - Save the file(s) and close the editor
 
For sites with multiple HTML pages, you'll need to add the script to each page where you want Snappy to work.
Method 2: Using Hostinger's Website Builder
If you're using Hostinger's Website Builder:
- Log in to your Hostinger account and access your Website Builder
 - Open your website project in the editor
 - Click on Settings (typically a gear icon) in the builder interface
 - Look for Advanced or Custom Code options
 - Find the section for adding code to the 
<head>section - Paste your Snappy script:
 
<script src="https://scripts.letsbesnappy.com/YOUR_DOMAIN/admin.js"></script>
- Make sure to replace 
YOUR_DOMAINwith the domain the script should be installed on - Save your changes and publish your website
 
Method 3: WordPress on Hostinger
If you're using WordPress hosted on Hostinger:
- Log in to your WordPress admin dashboard
 - Navigate to Appearance → Theme Editor (or use a header code plugin)
 - If using Theme Editor, select your active theme and look for the 
header.phpfile - Add the Snappy script just before the closing 
</head>tag: 
<script src="https://scripts.letsbesnappy.com/YOUR_DOMAIN/admin.js"></script>
- Make sure to replace 
YOUR_DOMAINwith the domain the script should be installed on - Click Update File to save changes
 
Alternatively, you can use a plugin like "Insert Headers and Footers" or "Header and Footer Scripts":
- Install and activate the plugin from Plugins → Add New
 - Go to the plugin's settings (typically under Settings)
 - Add your Snappy script to the header section
 - Save your changes
 
Verifying Installation
To confirm Snappy is working correctly:
- Visit your live website in a web browser
 - Right-click and select View Page Source
 - Search (Ctrl+F or Cmd+F) for "letsbesnappy.com" - you should see your script in the head section
 - Log in to your Snappy dashboard - your site should appear as a connected site
 
Troubleshooting
If you're experiencing issues with your Snappy installation on Hostinger:
Script not appearing in source code
- For standard hosting: Verify you've added the script to all necessary HTML files and they've been saved properly
 - For Website Builder: Ensure you've published your site after adding the script
 - For WordPress: Clear your cache plugins if you're using any
 
Caching issues
Hostinger uses LiteSpeed caching which might delay showing your changes:
- Clear your website cache in Hostinger's hPanel under Website → LiteSpeed Cache
 - Also purge any WordPress caches if you're using WordPress
 - Try viewing your site in an incognito/private window to bypass browser cache
 
SSL/HTTPS issues
If your site uses HTTPS (recommended):
- Ensure your site has a valid SSL certificate installed
 - The Snappy script should automatically use the correct protocol
 - If seeing mixed content warnings, contact Snappy support
 
With Snappy successfully installed on your Hostinger website, you're ready to start creating widgets, conducting A/B tests, and optimizing your site without waiting for development cycles.
Ready to transform your website? Login to your Snappy dashboard and begin creating your first optimization today!