Analytics Tags – Blue Raven Knowledge Base
The Analytics Tags tool (found under Blue Raven > Tools > Searchability > Analytics Tags) lets you add tracking codes from major analytics platforms like Google Analytics, Meta Pixel, Microsoft Clarity, and Ahrefs without editing your theme’s header or footer files.
This reduces the risk of breaking your site and makes it easy to manage all your tracking in one place.
Why Use the Analytics Tags Tool?
- No coding required: Paste your tracking ID, toggle a switch, and you’re done.
- Avoid theme edits: Tracking stays intact even when you update or switch themes.
- Prevent conflicts: Disable individual trackers without removing others.
- Works with caching plugins: Tags load reliably on all pages.
Note: This feature is available in both the free and Pro versions of Blue Raven. No feathers are used, analytics tags do not consume credits.
Supported Platforms
Blue Raven supports the following analytics services:
- Google Analytics (GA4)
- Meta Pixel (Facebook)
- Microsoft Clarity
- Ahrefs Analytics
If you have a specific Analytics system that you would like us to add, please log a Feature Request
Each service requires only its unique tracking ID or code, not the full script.
How to Add Analytics Tags
- In your WordPress dashboard, go to Blue Raven > Tools > Searchability > Analytics Tags.
- Toggle “Switch On Site Analytics” to enable the feature.
- For each platform you use, follow the instructions below.

Google Analytics
- What to add: Your Measurement ID (e.g.,
G-ABC123XYZ0). - Where to find it: In your Google Analytics account, under Admin > Data Streams.
- How to add:
- Paste only the ID (like
G-ABC123XYZ0) into the Google Analytics ID field. - Enable “Google Analytics ID”.
- Paste only the ID (like

Do not paste the full JavaScript snippet, only the ID.
Meta Pixel
- What to add: Your Pixel ID (a string of numbers, e.g.,
123123123123123). - Where to find it: In Facebook Events Manager, under your Pixel settings. Look for the number after
id=in the script URL. - How to add:
- Paste only the numeric ID into the Meta Pixel ID field.
- Enable “Meta Pixel Tracking”.
Example: From
...tr?id=123123123123123&ev=..., use123123123123123.

Microsoft Clarity
- What to add: Your Clarity Project ID (e.g.,
r88bob1234). - Where to find it: In your Clarity dashboard, when you view the tracking code. It appears as the last parameter in the script call.
- How to add:
- Paste only the ID (like
r88bob1234) into the Microsoft Clarity ID field. - Enable “Add Microsoft Clarity Tracking”.
- Paste only the ID (like
Do not paste the full script—just the short alphanumeric ID.
Ahrefs Analytics
- What to add: Your Ahrefs tracking key (e.g.,
234d23d23). - Where to find it: In your Ahrefs Analytics project settings, in the provided script. It appears as the value of the
data-keyattribute. - How to add:
- Paste only the key (like
234d23d23) into the Ahrefs Analytics ID field. - Enable “Add Ahrefs Analytics Tracking”.
- Paste only the key (like
Example: From
... data-key="234d23d23" ..., use234d23d23.
Best Practices
- Only enable the trackers you actively use extra scripts slow down your site.
- Double-check your IDs a typo means no data will be collected.
- Verify in your analytics dashboards that data is flowing within 24 hours.
- If you use Google Tag Manager, avoid duplicating tags use one system or the other.
Troubleshooting
- No data showing up?
Confirm your ID is correct and that the toggle is enabled. Clear your site cache if you use a caching plugin. - Seeing duplicate tracking?
Check if another plugin (or your theme) is also adding the same tag. Disable redundant sources. - Tag validation failing?
Ensure you pasted only the ID, not the full script or extra spaces.
Need Help?
Have a suggestion? Submit a feature request.
Configure your settings at Blue Raven > Tools > Searchability > Analytics Tags.