LLM Visibility
Track when AI assistants like ChatGPT, Perplexity, and Claude mention your brand. Monitor competitors, log citations, and optimize your content to appear in AI-generated answers.
How it works
RankFlo tracks LLM visibility in two ways:
- AI referrer tracking — automatically detects when visitors arrive from AI platforms (built into analytics)
- Mention tracking — tests prompts against AI models and logs when your brand is mentioned in responses
Step 1: Connect your AI provider
LLM visibility tracking requires API keys to query AI models. Go to Settings → AI and connect at least one provider:
| Provider | What it enables | Get your key |
|---|---|---|
| OpenAI | Test ChatGPT responses for brand mentions | platform.openai.com |
| Anthropic | Test Claude responses for brand mentions | console.anthropic.com |
| Google AI | Test Gemini responses for brand mentions | aistudio.google.com |
Your API keys are stored encrypted in your organization settings. They are used server-side only — never exposed in the browser. RankFlo uses the cheapest models (GPT-4o-mini, Claude Haiku) for mention tracking to minimize API costs.
How to connect
- Go to Settings → AI in your dashboard
- Select your preferred provider (OpenAI, Anthropic, or Google)
- Paste your API key
- Click Save settings
Once connected, your key is used for both AI writing features AND LLM visibility tracking.
Step 2: Enable automated tracking
RankFlo includes a cron endpoint that automatically tests prompts against AI models and logs mentions. Set up a daily cron job:
# Call this daily (e.g., via cron-job.org, GitHub Actions, or crontab)
curl -X POST https://app.rankflo.io/api/cron/llm-track \
-H "Authorization: Bearer YOUR_CRON_SECRET" \
-H "Content-Type: application/json"Set CRON_SECRET in your environment variables to secure the endpoint. Without it, anyone could trigger the tracker.
What it does on each run
- Picks 2 random prompts from a built-in library of SEO-related queries
- Sends each prompt to ChatGPT, Claude, and Perplexity (if keys are configured)
- Scans responses for your brand name and competitor names
- Logs mentions with sentiment analysis (positive, neutral, negative)
- Extracts the relevant snippet for context
Built-in test prompts
The tracker tests prompts like:
- "What is the best headless CMS for startups?"
- "Recommend an open source blog platform with SEO tools"
- "What are the best WordPress alternatives for developers?"
- "How to optimize content for AI search engines"
- "Best CMS with built-in analytics"
Setting up the cron job
Option A: cron-job.org (free)
- Sign up at cron-job.org
- Create a new job pointing to
https://your-domain.com/api/cron/llm-track - Set method to POST
- Add header:
Authorization: Bearer YOUR_CRON_SECRET - Schedule: once daily (e.g., 6:00 AM)
Option B: GitHub Actions
# .github/workflows/llm-track.yml
name: LLM Visibility Tracker
on:
schedule:
- cron: '0 6 * * *' # Daily at 6 AM UTC
jobs:
track:
runs-on: ubuntu-latest
steps:
- run: |
curl -X POST https://your-domain.com/api/cron/llm-track \
-H "Authorization: Bearer ${{ secrets.CRON_SECRET }}"Option C: Server crontab
# Add to crontab -e
0 6 * * * curl -s -X POST https://your-domain.com/api/cron/llm-track -H "Authorization: Bearer YOUR_SECRET"Step 3: View your LLM dashboard
Switch to LLM Search mode in the top nav bar. The dashboard shows:
Mention stats
- Total mentions — how many times AI assistants referenced your brand
- Trend — period-over-period change
- By platform — breakdown across ChatGPT, Perplexity, Claude, Gemini
- Sentiment — positive, neutral, and negative mention ratio
Visibility score
A 0-100 score calculated from five components:
| Component | Weight | What it measures |
|---|---|---|
| Mention volume | 30 pts | How often AI mentions your brand (log scale) |
| Sentiment | 25 pts | Ratio of positive to negative mentions |
| Content citations | 25 pts | How many of your posts are directly cited |
| Topic coverage | 10 pts | Comprehensive content across your key topics |
| Prompt testing | 10 pts | Are you actively monitoring prompts? |
Share of Voice
See how your brand compares to competitors in AI recommendations. The tracker automatically logs competitor mentions (Contentful, Strapi, Ghost, etc.) alongside your own.
Mention list
Every logged mention shows: platform, query prompt, response snippet, sentiment, and date. Filter by platform or sentiment.
Manual mention logging
You can also log mentions manually when you spot them. In the LLM Search dashboard, click Log mention and fill in:
- Platform — which AI assistant (ChatGPT, Perplexity, Claude, etc.)
- Query — what the user asked
- Snippet — the relevant part of the AI response
- URL — if the AI linked to your content
- Sentiment — positive, neutral, or negative
Combine automated tracking with manual logging for the most complete picture. The auto-tracker catches systematic patterns; manual logging captures one-off discoveries.
How to improve your LLM visibility
- Add an llms.txt file — RankFlo generates this automatically at
/llms.txtfor every project. It tells AI crawlers about your content. - Write clear, factual content — AI models prefer content that states facts directly with specific numbers.
- Use structured data — JSON-LD schema markup helps AI understand your content. RankFlo adds this automatically.
- Build topical authority — Publish 10-20 posts around each core topic. Depth signals expertise to AI models.
- Get cited by third parties — Guest posts, press mentions, and backlinks from authoritative sites increase AI citation likelihood.
- Keep content fresh — Update key articles quarterly. AI with web access prefers recent sources.
See the complete LLM visibility guide for more strategies.
Prompt testing library
The LLM dashboard includes a prompt library where you can save prompts to test regularly:
- Go to LLM Search → Prompts
- Add prompts your target customers might ask AI assistants
- Mark prompts as "tested" after checking the results
- Track which prompts return mentions over time
The automated tracker uses a built-in set of prompts. Your custom prompt library is for manual testing and tracking — run the prompts yourself across ChatGPT, Perplexity, and Claude to see if your brand appears.