Wix
Add Besökskollen to your Wix site via Custom Code.
Difficulty: Easy
Takes about 3 minutes
Step 1: Open settings
- 1. Log in to Wix
- 2. Go to your Dashboard
- 3. Click on Settings in the menu
- 4. Select "Custom Code" under "Advanced"
Step 2: Add the script
- 1. Click on "+ Add Code"
- 2. Paste the tracking script (see below)
- 3. Give the code a name, e.g. "Besökskollen"
- 4. Select "Head" as placement
- 5. Under "Add Code to Pages" select "All pages"
- 6. Click "Apply"
<script defer data-site-id="DIN-SAJT-ID" data-api="https://besokskollen.se" src="https://besokskollen.se/script.js"> </script>
Alternative: Via Wix Editor
You can also add the script via Wix Editor:
- 1. Open Wix Editor
- 2. Click on Settings (gear icon)
- 3. Select "Custom Code"
- 4. Follow the steps above
Wix Velo (for developers)
If you use Wix Velo, you can add the script programmatically:
// I din masterPage.js eller page code
import { head } from 'wix-head';
$w.onReady(function () {
head.addScript({
src: 'https://besokskollen.se/script.js',
defer: true,
attributes: {
'data-site-id': 'DIN-SAJT-ID',
'data-api': 'https://besokskollen.se'
}
});
});
Verify installation
- 1. Publish your site
- 2. Visit your site in a new tab
- 3. Open the Besökskollen dashboard
- 4. You should see your visit within a few seconds
Note: Premium required
The Custom Code feature requires a Premium Wix plan. Free sites cannot use external tracking scripts.
Need help?
See all integration guides →