Searchability - Analytics Tags

Why Analytics Tags Matter

Understanding how visitors interact with your website is essential for growth. Whether you're tracking conversions, monitoring user behaviour, or refining marketing campaigns analytics tags give you the insights you need to make smarter decisions.

Blue Raven’s Analytics Tags tool lets you quickly and easily add popular tracking codes to your site without needing to edit theme files or install extra plugins.

Currently supported:

  • Google Analytics 4 (GA4)

  • Microsoft Clarity

  • Meta Pixel (Facebook)

  • Ahrefs Site Audit Tag

 

Analytics tags are small pieces of code you place on your website to track visitor behavior, conversions, site performance, and marketing metrics.
They allow tools like Google Analytics, Meta Pixel, Ahrefs Analytics, and Microsoft Clarity to collect crucial data, helping you:

  • Understand your visitors

  • Improve your marketing ROI

  • Identify site performance issues

  • Build smarter SEO strategies

  • Track sales and conversions

Without proper tagging, you lose valuable insights that could help grow your business.
Blue Raven makes this process easy by letting you add your tracking codes directly from your WordPress dashboard no manual coding needed!


Before You Start

Important:
Make sure you enable the Global Analytics setting under the "Analytics" section of Blue Raven.
This allows Blue Raven to correctly insert the tracking tags into the <head> section of your WooCommerce site.

Without enabling the Global setting, even if individual tags are added, they won't be active.

Blue Raven Wordpress Plugin Analytics Main


Setting Up Analytics Tags in Blue Raven

1. Google Analytics (GA4) Tracking

How to Get Your Google Analytics Tag:

  • Sign in to your Google Analytics account.

  • Create a new Property (if you don't already have one).

  • Go to Admin > Property Settings > Data Streams.

  • Create a Web Data Stream.

  • Google will provide a Measurement ID that looks like G-XXXXXXXXXX.

Blue Raven Wordpress Plugin Google Analytics

Example:
If your script looks like this:

<script async src="https://www.googletagmanager.com/gtag/js?id=G-B964444RY6"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-B964444RY6');
</script>

Copy only G-B964444RY6.

How to Add it in Blue Raven:

  • Paste the Measurement ID into the "Google G4A Code" field.

  • Enable "Google Analytics".

  • Save your settings.

Your site will now start sending traffic data to Google Analytics!


2. Meta Pixel (Facebook Pixel) Tracking

How to Get Your Meta Pixel ID:

  • Go to Meta Business Manager.

  • Navigate to Events Manager.

  • Create a new Pixel or select an existing one.

  • Locate the tracking script.

Blue Raven Wordpress Plugin Meta Pixel Analytics

Find the ID inside your code:

<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '687768444404090');
fbq('track', 'PageView');
</script>

<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=687768444404090&ev=PageView&noscript=1"
/></noscript>

 

Copy only 687768444404090 (the number after id=).

How to Add it in Blue Raven:

  • Paste the Pixel ID into the "Meta Pixel Code" field.

  • Enable "Meta Pixel".

  • Save your settings.

Now, visitor events like page views, purchases, and more will be tracked by Meta.


3. Microsoft Clarity Tracking

How to Get Your Microsoft Clarity Project ID:

  • Sign in to Microsoft Clarity.

  • Create a new Project (or select an existing one).

  • Copy the tracking script.

Blue Raven Wordpress Plugin Microsoft Clarity Analytics

Inside the script, find the last parameter:

<script>
    (function(c,l,a,r,i,t,y){
        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
        t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i+"?ref=bwt";
        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
    })(window, document, "clarity", "script", "ra44440tut");
</script>

Copy only ra44440tut.

How to Add it in Blue Raven:

  • Paste the Project ID into the "Microsoft Clarity Code" field.

  • Enable "Microsoft Clarity".

  • Save your settings.

Clarity will now start recording user sessions, heatmaps, and interactions!


4. Ahrefs Analytics Tracking

How to Get Your Ahrefs Analytics Key:

  • Log into your ahrefs account.

  • Navigate to the Analytics section.

  • Find your project's tracking snippet.

Blue Raven Wordpress Plugin ahrefs Analytics

Look for the data-key= part:

<script src="https://analytics.ahrefs.com/analytics.js" data-key="6I5dDk2Mn44443jZOKi+SXg" async></script>

Copy only 6I5dDk2Mn44443jZOKi+SXg.

How to Add it in Blue Raven:

  • Paste the Ahrefs key into the "ahrefs Code" field.

  • Enable "ahrefs".

  • Save your settings.

Now, Ahrefs will start tracking your SEO performance, backlinks, and organic traffic data.


Common Mistakes to Avoid

  • Copy only the ID — not the full script! If you paste the whole snippet, the tracking won't work.

  • Enable each tag individually after inserting the ID.

  • Enable the Global Analytics Setting or no tags will be injected into your site.


Troubleshooting

If your data isn't showing up:

  • Double-check that you copied only the ID.

  • Confirm that tracking is enabled inside Blue Raven.

  • Make sure Global Analytics is switched on.

  • Allow up to 48 hours for some platforms (like Microsoft Clarity) to start receiving data.

  • Clear your site's cache if you're using a caching plugin.

  • Check your browser's Developer Tools (Network tab) to see if the tracking scripts are loading.


Why Manage Analytics Through Blue Raven?

✅ No need to edit theme files or risk breaking your site

✅ Centralized tracking management

✅ Easy to update or disable tags, without deleting them or editing theme files

✅ Works seamlessly with WooCommerce stores

✅ Improves your marketing and SEO effectiveness


Final Step: Save and Monitor

Once you've added all your tracking IDs and enabled them, be sure to click "Save Changes".

Then, use your respective analytics platforms to:

  • Confirm that data is flowing

  • Set up goals, conversions, and custom events

  • Start making smarter marketing and SEO decisions!

We're continuing to expand support so if there's a specific analytics or marketing tag you’d like to use, let us know here. We're building this tool around your needs.

 

Want to add Meta Descriptions? Blue Raven makes it easy to find your non WooCommerce pages and add Meta Information and Schema Markup – our Meta Tool displays which pages on your site don’t have meta descriptions excluding WooCommerce Product pages and lets you quickly add them to improve how your site appears in search results. For your products, our Generative Products feature automatically creates SEO-friendly meta descriptions for your WooCommerce Product Pages, saving you time and boosting visibility. (We cover this in the Main Meta section of the plugin.)

Feature Requests

If you have any feature requests that you would like us to consider please log Feature Request We would love to get your input to help make Blue Raven even better!

  • Google Analytics, GA4, Bing Clarity, Web Traffic Analytics
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Searchability: How to Make Sure Your Website Is Search-Engine Ready

Meta Descriptions: Your First Impression in Search Results Why Meta Descriptions Matter Meta descriptions are short...

Alt Text

Why Alt Text Matters Alt text (alternative text) is a key part of making your website accessible and SEO friendly....

Mail Form Builder

  Blue Raven includes a powerful, flexible contact form builder as part of its free tools. The Mail Form Builder...

Searchability - Main Meta

When you open Tools → Expand Searchability → Main Meta, you’ll see a list of your site’s pages, Home, About Us, Cart,...

Searchability - Main Schema

Main Schema: Add Structured Data to Help Search Engines Understand Your Site The Main Schema tool in Blue Raven...