Wix
Seamlessly integrate with Wix websites to monitor and improve AI search performance. Simple setup with Wix's custom code features.
Overview
Our Wix integration provides a seamless way to track AI interactions with your Wix website. Using Wix's built-in custom code capabilities, you can easily add our tracking script to start monitoring how AI systems interact with your content. This solution works with any Wix site and requires minimal configuration.
Features
- Compatible with all Wix templates and editors
- Real-time AI visibility analytics
- Zero impact on site performance
- Automatic tracking of all pages
- Detailed analytics for Wix content
- Identifies all major AI bots and crawlers
- Easy installation using Wix custom code features
- Works with Wix dynamic pages and blog
Requirements
- Wix website
- Admin access to your Wix site
- API key from xseek
- Website ID from your xseek dashboard
Setup Process
- 1
Sign in to your Wix dashboard
- 2
Navigate to Settings > Custom Code
- 3
Add our tracking script to the <head> section of your site
- 4
Replace the placeholder values with your API key and website ID
- 5
Save and publish your changes to start tracking AI visits
Integration Setup
Important Information
Make sure to replace YOUR_API_KEY
and YOUR_WEBSITE_ID
with your actual values in the integration code. Your API key can be found in your account settings.
1Add tracking script to your Wix site
Follow these steps to add the tracking code to your Wix website:
- Log in to your Wix account and open your site's dashboard
- Click on "Settings" at the bottom of the left sidebar
- Select "Custom Code" from the menu
- Click on "Add Custom Code"
- Give your code a name (e.g. "AI SEO Tracking")
- Paste the tracking code in the code field
- Make sure to set placement to "Head" and "All pages"
- Click "Apply" to save your changes
2Add the tracking script
Copy and paste this code into the custom code section:
<!-- Add this script to your Wix site via the Custom Code section -->
<script>
// Function to detect AI bots
function checkForAIBot() {
const userAgent = navigator.userAgent;
// Define patterns for all known AI bots
const AI_BOTS = [
{ name: 'anthropic-ai', pattern: /anthropic-ai/i },
{ name: 'claudebot', pattern: /ClaudeBot/i },
{ name: 'claude-web', pattern: /claude-web/i },
{ name: 'perplexitybot', pattern: /PerplexityBot/i },
{ name: 'perplexity-user', pattern: /Perplexity-User/i },
{ name: 'grokbot', pattern: /GrokBot(?!.*DeepSearch)/i },
{ name: 'grok-search', pattern: /xAI-Grok/i },
{ name: 'grok-deepsearch', pattern: /Grok-DeepSearch/i },
{ name: 'deepseekbot', pattern: /DeepSeekBot/i },
{ name: 'GPTBot', pattern: /GPTBot/i },
{ name: 'chatgpt-user', pattern: /ChatGPT-User/i },
{ name: 'oai-searchbot', pattern: /OAI-SearchBot/i },
{ name: 'google-extended', pattern: /Google-Extended/i },
{ name: 'applebot', pattern: /Applebot(?!-Extended)/i },
{ name: 'applebot-extended', pattern: /Applebot-Extended/i },
{ name: 'meta-external', pattern: /meta-externalagent/i },
{ name: 'meta-externalfetcher', pattern: /meta-externalfetcher/i },
{ name: 'bingbot', pattern: /Bingbot(?!.*AI)/i },
{ name: 'bingpreview', pattern: /bingbot.*Chrome/i },
{ name: 'microsoftpreview', pattern: /MicrosoftPreview/i },
{ name: 'cohere-ai', pattern: /cohere-ai/i },
{ name: 'cohere-training-data-crawler', pattern: /cohere-training-data-crawler/i },
{ name: 'youbot', pattern: /YouBot/i },
{ name: 'duckassistbot', pattern: /DuckAssistBot/i },
{ name: 'semanticscholarbot', pattern: /SemanticScholarBot/i },
{ name: 'ccbot', pattern: /CCBot/i },
{ name: 'ai2bot', pattern: /AI2Bot/i },
{ name: 'ai2bot-dolma', pattern: /AI2Bot-Dolma/i },
{ name: 'aihitbot', pattern: /aiHitBot/i },
{ name: 'amazonbot', pattern: /Amazonbot/i },
{ name: 'novaact', pattern: /NovaAct/i },
{ name: 'brightbot', pattern: /Brightbot/i },
{ name: 'bytespider', pattern: /Bytespider/i },
{ name: 'tiktokspider', pattern: /TikTokSpider/i },
{ name: 'cotoyogi', pattern: /Cotoyogi/i },
{ name: 'crawlspace', pattern: /Crawlspace/i },
{ name: 'pangubot', pattern: /PanguBot/i },
{ name: 'petalbot', pattern: /PetalBot/i },
{ name: 'semrushbot-ocob', pattern: /SemrushBot-OCOB/i },
{ name: 'semrushbot-swa', pattern: /SemrushBot-SWA/i },
{ name: 'sidetrade-indexer', pattern: /Sidetrade indexer bot/i },
{ name: 'timpibot', pattern: /Timpibot/i },
{ name: 'velenpublicwebcrawler', pattern: /VelenPublicWebCrawler/i },
{ name: 'omgili', pattern: /omgili/i },
{ name: 'omgilibot', pattern: /omgilibot/i },
{ name: 'webzio-extended', pattern: /Webzio-Extended/i }
];
// Check if the user agent matches any bot pattern
for (const bot of AI_BOTS) {
if (bot.pattern.test(userAgent)) {
// Send data to the tracking API
fetch('https://api.aiseotracker.com/track-ai-bot', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'YOUR_API_KEY', // Replace with your actual API key
},
body: JSON.stringify({
botName: bot.name,
userAgent: userAgent,
url: window.location.href,
referer: document.referrer || undefined,
websiteId: 'YOUR_WEBSITE_ID', // Replace with your website ID
}),
}).catch(error => {
console.error('Error tracking AI bot:', error);
});
console.log('AI bot detected:', bot.name);
break;
}
}
}
// Run the check when the page loads
window.addEventListener('load', checkForAIBot);
</script>
Ready to go!
Your Wix site is now set up to track AI crawler visits. Visit the xseek dashboard to see your data.
Need more help?
Check our comprehensive documentation for detailed instructions.