• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Startup Hero

The Official Blog Of Name Hero

Learn To Fly Above The Competition Get Started
  • HomeWelcome
  • CoursesVideo Training Center
  • About UsWhat is StartupHero?
  • BlogGet the latest
  • Start HereStartup 101
  • SpeakingPodcast & Media
  • ResourcesTools to help You
    • Reselling WordPress Hosting
    • Resell Hero
    • How To Start A Blog
  • NameHeroCloud Web Hosting

Using Cloudflare Web Analytics For Core Web Vitals

By Bhagwad Park on November 3, 2021 0

Using Cloudflare Web Analytics For Core Web Vitals

I’ve recently had a chance to fire up Cloudflare’s analytics once again. Almost exactly a year ago, I’d written about the now rebundled Browser Insights that Cloudflare deprecated. They’ve since consolidated their analytics into a new product – Web Analytics. And while it’s much better than the older Browser Insights, it’s not ready to replace Google Analytics yet. But there’s one thing it does better – and that is insights into your Core Web Vitals (CWV).

Here’s how Cloudflare’s Web Analytics can help you improve your CWV, with screenshots of how it shows up for my site WP-Tweaks.

 Accessing Cloudflare’s Web Analytics

To access the new Web Analytics functionality in Cloudflare, log into your dashboard, click the top-left dropdown box, and select Web Analytics way down at the bottom as shown here:

Cloudflare Web Analytics
Cloudflare Web Analytics

The positioning of this means that Cloudflare intends for this to be an entirely different product, separate from the regular site tools. One implication of this is that they’re opening it up to non-paying customers as well. Though if you’re a Pro user, you get some additional benefits as shown below.

Web Analytics is Different from Browser Insights

The now-defunct Browser Insights had several issues that prevented it from being used as a web analytics product. The biggest difference now is that Web Analytics shows you an accurate count of your page views! Previously, Browser Insights would just “sample” a collection of your pages. This means if you had just 2 or 3 visits to a page, it would simply  show up as “10”.

This alone makes Web Analytics a more powerful tool than before. While it doesn’t (yet) have many things that make Google Analytics interesting like events and goal conversion, it’s pretty decent as a basic and free analytics service.

Measuring Core Web Vitals

While I wouldn’t use Web Analytics for pageviews and event tracking, there’s one area where it blows Google Analytics out of the water – and that’s tracking CWV stats. Here’s a screenshot of how the stats show up on WP-Tweaks:

CWV View in Web Analytics
CWV View in Web Analytics

When you expand this page and scroll down, each CWV measurement is shown along with the list of pages that contribute most when it’s yellow or red. It also gives you amazing debugging info about which elements are causing issues. For example, these are the elements on my site that contributed towards high CLS metrics for individual pages:

Individual Debugging information for CWV Metrics
Individual Debugging information for CWV Metrics

This information is super useful and is directly collected from visitors’ browsing experiences. So it’s better than automated tools like PageSpeed Insights and Google’s Lighthouse.

Enabling Web Analytics

You can set it up by adding a site in the Web Analytics dashboard. If you’re a paying Cloudflare customer, you can enable it automatically. If you’re on the free tier, you have to insert a piece of code before the ending <body> tag on your page like this:

How to Install Cloudflare Web Analytics

Unfortunately, I have a “Pro” account for just one site and not the others. So I can only make use of the automatic installation on that one.

Can Web Analytics Replace Google Analytics?

For basic pageviews, yes. Web Analytics is good enough to replace GA. The interface is also much easier to navigate, and filtering views is far smoother. Also, even though there’s no mobile app for Cloudflare Web Analytics, the mobile browser experience is pretty good in itself.

Unfortunately, Google Analytics is still a lot more powerful. For me, the ability to track events and goal conversions is key. For others, it’ll be something else. GA has a long history and it’s been covering long-tail features for a long time. But Web Analytics is improving constantly. Just in the past year, it’s gone from being almost useless for Analytics, to being a pretty decent basic replacement. Who knows where it’ll be in another year from now!

Bhagwad Park Profile Picture
Bhagwad Park

I’m a NameHero team member, and an expert on WordPress and web hosting. I’ve been in this industry since 2008. I’ve also developed apps on Android and have written extensive tutorials on managing Linux servers. You can contact me on my website WP-Tweaks.com!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Connect With Us!

Superhero Resources

Fix Common Issues

  • How To Setup Free And Automatic SSL Certificates
  • How To Setup Cloudflare With Railgun
  • How To Fix Memory Exhausted Errors In WordPress
  • How To Edit PHP Version/Upload Limit/Add Extensions
  • How To Move/Migrate Your Business To Name Hero

Free Guides

  • How To Setup NameHero Hosting
  • How To Create A Web Hosting Business With WordPress
  • How To Start A WordPress Blog
  • How To Migrate WordPress To A VPS
  • How To Speed Test And Optimize Your WordPress Website
  • Magento 2.X Installation Guide
  • How To Clean Up A WordPress Hack

Training

Recent Posts

  • The Best WordPress Plugin To Combat Plagiarism
  • Is It Time to Bring Back Blog Comments?
  • Two Filters That No Longer Work In Gutenberg (And Workarounds)
  • Migrating To The New Cloudflare Managed Rules Interface
  • How To Sort Posts By The “Last Modified” Date
  • How To Make WordPress Send E-mail From Another Address
Subscribe in a reader
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • VPS Hosting
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube
  • FTC Disclosure
  • Earnings Disclosure
  • Privacy Policy

Copyright © 2023 · Smart Passive Income Pro on Genesis Framework · WordPress · Log in