Category: Uncategorized

  • PPC – the tools we use and why we use them


    Precision PPC: Why We Use a Custom Tech Stack to Manage Google Ads

    If you’ve been following our “under the hood” series, you know that at Egret Digital, we don’t rely on default settings. Whether we are building lean, native WordPress websites, engineering our analytics tags, or moving to 100% green hosting, our philosophy is always the same: we build sophisticated, highly efficient systems to give our clients an unfair advantage.

    When it comes to Pay-Per-Click (PPC) advertising – specifically Google Ads – this philosophy is more important than ever.

    Many agencies treat Google Ads as a “set and forget” exercise, relying entirely on Google’s built-in automated recommendations. While automation has its place, blindly following Google’s prompts often leads to bloated budgets and inefficient ad spend. Google, after all, is in the business of selling ads.

    We are in the business of generating return on investment (ROI) for our clients. That is why we are a certified Google Partner, and why we utilise an advanced, independent tech stack—including SpyFu, TrueClicks, and custom NotebookLM AI environments—to manage our campaigns.

    Here is a look at how we orchestrate our PPC campaigns for maximum efficiency.

    1. The Baseline: We’re a Certified Google Partner

    Before we even discuss our third-party tools, it’s important to establish our baseline credentials. We’re an official Google Partner and have been for around 10 years.

    This isn’t a badge you can simply buy or download; it is earned by meeting Google’s strict requirements across three distinct pillars:

    • Performance: We are required to maintain a high optimisation score across our client accounts, proving that we actively manage and improve campaign health to deliver strong results.
    • Spend: We manage a significant portfolio, consistently meeting Google’s 90-day ad spend thresholds across our managed accounts, demonstrating our experience in handling substantial budgets at scale.
    • Certifications: Our account strategists must pass rigorous, ongoing Google Ads certification exams, ensuring our team’s knowledge is always cutting-edge.

    Being a Google Partner proves we know the platform inside out. But to truly outperform your competitors, we have to look outside of Google’s walled garden.

    2. SpyFu: Competitive Intelligence Before We Spend a Penny

    Before we launch a campaign, we want to know exactly what your competitors are doing. Why test new keywords with your budget when we can analyse what has already worked (or failed) for your rivals?

    To do this, we use SpyFu. This tool allows us to effectively “spy” on the search marketing secret formula of your most successful competitors. We can see every keyword they have bought on Google Ads, every ad test they have run, and how their ad copy has evolved over time.

    By understanding the competitive landscape before we bid, we identify lucrative keyword gaps and avoid costly bidding wars, ensuring your budget is deployed with sniper-like precision from day one.

    3. TrueClicks: Independent Auditing and Accountability

    Google provides an “Optimisation Score” within the Ads platform. However, many of those recommendations are designed to encourage you to broaden your targeting and increase your budget.

    We wanted a strictly independent, unbiased metric to measure the true health of our accounts. That’s why we use TrueClicks, an enterprise-grade auditing and monitoring platform. TrueClicks continuously analyses our campaigns against dozens of industry best practices, catching minute errors, wasted spend, and structural flaws that humans (and Google’s own algorithms) might miss.

    We are incredibly proud of our transparency and performance here. Currently, our company TrueClicks score sits at an exceptional 80% (a cost-weighted average across 20 active accounts).

    This independent score means our clients can sleep soundly knowing their accounts aren’t just active; they are highly optimised, incredibly healthy, and functioning at a standard far above the industry average.

    4. NotebookLM: Our Custom AI Analyst

    The biggest challenge in modern digital marketing isn’t gathering data; it is making sense of it. Between Google Analytics, Google Ads, and our third-party tools, we process millions of data points every month.

    To synthesise this data efficiently, we leverage Google’s NotebookLM, an advanced, experimental AI tool.

    Unlike public AI models like ChatGPT, NotebookLM allows us to create isolated, secure “notebooks” on a per-client basis. We load these notebooks up with a client’s specific Google Ads data, historical performance metrics, and Google Analytics exports.

    By feeding this verified, client-specific data into the AI, we essentially create a custom, high-speed analyst for every single account. We can ask the AI to identify hidden seasonal trends, highlight demographic anomalies, or summarise vast datasets in seconds. This allows our human strategists to spend less time formatting spreadsheets and more time making high-level, strategic decisions that drive revenue.

    The Egret Digital Difference: Data Over Guesswork

    Managing a successful Google Ads account requires more than just picking a few keywords and writing a catchy headline. It requires competitive intelligence, independent health auditing, and the ability to rapidly process complex data.

    By combining our Google Partner expertise with SpyFu, TrueClicks, and NotebookLM, we ensure that every penny of your ad budget is working as hard as possible.


  • Sistrix – why we use it


    Ditching the SEO Checklists: Why We Rely on Sistrix for True Search Visibility

    If you have been reading our recent articles, you will know that at Egret Digital, we don’t do things the standard way. From engineering our tracking tags for maximum speed to moving our hosting to 100% green servers, we constantly refine our toolkit to give our clients an unfair advantage.

    When it comes to tracking our clients’ search engine rankings and overall SEO performance, we take the exact same zero-compromise approach.

    The SEO software market is flooded with tools that promise to tell you exactly how to rank. But we don’t use most of them. Instead, our rank checking and visibility analysis is powered by Sistrix.

    Here is why we trust Sistrix over the competition, and why their approach to SEO data is the only one that makes sense in the modern search landscape.

    The Ex-Googler Seal of Approval

    A few years ago, I attended an advanced training course specifically to master the Sistrix platform. While I was on it I noticed another attendee on the same course: Pedro Dias, a well-known former member of the Google Search Quality team.

    When an ex-Googler – someone who literally used to work on the inside of the search engine – dedicates their time to training on a specific third-party SEO tool, it speaks volumes. It immediately validated what we already suspected: Sistrix provides the highest quality, most accurate reflection of Google’s search results available on the market.

    The Problem with “Prescriptive” SEO Tools

    If you use most mainstream SEO tools today, they try to hold your hand. They scan your website and give you a prescriptive checklist of “errors” to fix. They will tell you to “add your keyword to the heading,” “increase your word count to 1,500 words,” or “use this exact phrase three more times.”

    The problem? These suggestions are largely based on an outdated, pre-vector understanding of how search engines work.

    Historically, search engines relied on algorithms like BM25, which basically acted like a giant filing cabinet. If you typed in “blue running shoes,” the search engine looked for the page that mentioned the exact words “blue running shoes” the most times.

    Today, Google uses advanced AI and vector search to understand entities, context, and intent. It knows that a page about “navy athletic footwear” might actually be the best answer for that user, even if the exact keyword isn’t repeated ten times.

    Tools that prescribe rigid, BM25-style keyword checklists are leading website owners down a dangerous, outdated path. We don’t want a tool that tells us to blindly chase a “green light” based on a 2015 algorithm.

    Why Sistrix Wins: Context and Competitor Intelligence

    Sistrix doesn’t treat our agency like we are beginners, and it isn’t prescriptive. Instead of giving us arbitrary to-do lists, it gives us raw, incredibly accurate intelligence.

    The core of the platform is the Sistrix Visibility Index, a metric that calculates how visible a domain is in Google’s search results across millions of data points. But the real magic is how Sistrix allows us to use this data to understand the competitive landscape.

    Because Sistrix understands the modern, complex nature of search, it allows us to answer the most important questions for our clients:

    • Who are we actually competing with? (Spoiler: It is rarely who you think it is. The competitors you face on the high street are often very different from the domains eating up your market share on Google).
    • What is Google currently rewarding? By analysing the specific SERP (Search Engine Results Page) features and the domains that are winning, we can reverse-engineer what Google considers the “best” answer for a specific user intent.
    • Where are the strategic gaps? We can overlay your website’s data directly against your top three digital competitors to instantly spot the high-value topic clusters they rank for, but you are missing.

    We Play to Win

    We don’t use SEO tools to tick boxes; we use them to win market share.

    By using Sistrix, we strip away the noise and outdated advice provided by lesser tools. We gain a crystal-clear, data-driven view of your industry’s digital landscape, allowing us to build sophisticated strategies that actually beat your competitors, rather than just matching their word counts.


  • Robots.txt – a sophisticated approach to the simple things


    The Hidden Shield: How We Use robots.txt for Competitive Advantage and Crawl Efficiency

    If you’ve been following our “under the hood” series on how we build websites at Egret Digital, you know we obsess over performance, native WordPress builds, and intelligent analytics tracking. But there is another crucial, often-overlooked file sitting at the root of every website we launch: the robots.txt file.

    If you ask the average web agency about robots.txt, they will tell you it’s a simple text file that tells Google not to index your private admin pages. Most agencies just leave the default WordPress configuration in place and never think about it again.

    We view it differently.

    For us, a highly engineered robots.txt file is a strategic tool. We use it to protect our clients’ digital strategies from prying competitor eyes and to laser-focus how search engines spend their time on your site.

    Here’s a look at how we deploy custom robots.txt files for both standard websites and complex WooCommerce stores.

    1. The Competitive Shield: Keeping Prying Eyes Away

    Search engines like Google and Bing aren’t the only bots crawling the internet. The web is full of automated scrapers, AI data-miners, and competitor analysis tools scanning your website every single day.

    Competitors often use third-party tools to scrape your content strategy, monitor your price changes, or reverse-engineer your site architecture. While you can never block 100% of malicious activity, a sophisticated robots.txt file acts as a massive deterrent.

    Take a look at the robots.txt file on our own site. We go far beyond the default WordPress settings. We intentionally block specific user agents (bots) that are known for mass-scraping or data mining. We also block certain structural footprints – like native WordPress author archives or tag structures—that don’t add SEO value but do make it incredibly easy for a competitor to map out exactly how and when we publish content.

    By restricting access to these non-essential paths, we make it significantly harder for competitors to “see” what’s happening behind the scenes of our clients’ websites.

    2. Laser-Focused Crawling: The WooCommerce Advantage

    While blocking nosy bots is great, the most powerful use of a custom robots.txt file is managing your Crawl Budget – especially for eCommerce sites.

    Crawl budget is the amount of time and resources Google is willing to spend crawling your website on any given day. If Google wastes its budget crawling useless pages, your actual, money-making product pages might get ignored or take weeks to rank.

    WooCommerce is notorious for generating thousands of “junk” URLs. For example, if a user clicks “Sort by Price: Low to High” or filters a category by “Colour: Blue,” WooCommerce generates a brand new, unique URL for that specific view.

    If you leave the default settings in place, Googlebot will dutifully crawl every single variation of those filters, sorting options, and shopping cart pages. It’s a massive waste of energy.

    To solve this, we engineer a highly specific robots.txt file for our eCommerce clients, such as Microcement South. Our setup explicitly tells search engines to ignore:

    • Add-to-cart URLs
    • Checkout and account pages
    • Internal search result pages
    • Faceted navigation and sorting query parameters (e.g., ?sort_by= or ?filter_)

    By building a brick wall in front of these dynamically generated, non-value URLs, we force Googlebot to spend 100% of its crawl budget on the pages that actually matter: your core categories, your products, and your blog content. This makes indexing significantly faster and far more efficient.

    The Egret Digita Difference: Sweating the Small Stuff

    Anyone can install a WordPress theme and write a few blog posts. But dominating the search results requires a zero-compromise approach to technical SEO.

    By custom-engineering the robots.txt file for every project, we protect our clients’ data from unnecessary scraping, reduce server load from useless bots, and guarantee that search engines are seeing only the most pristine, optimised version of the website.

    It’s just one small text file – but when used correctly, it’s a remarkably powerful weapon in our digital toolkit.


  • RankMath Pro – why we use it


    From Yoast to Rank Math Pro: Evolving Our SEO Stack for Speed and Sophistication

    If you’ve been following our recent posts about moving to native WordPress blocks and upgrading to Krystal’s green hosting, you know that we’re obsessed with performance. We believe in building lean, fast, and highly effective websites.

    Naturally, this philosophy extends to the plugins we use – especially when it comes to Search Engine Optimisation (SEO).

    For years, if you asked any developer what the best SEO plugin for WordPress was, the answer was unanimous: Yoast SEO. We used it on every site we built. But today, our tool of choice is Rank Math Pro.

    Without knocking Yoast, here’s a look at why we made the switch, and how a faster, more flexible approach to SEO technology delivers better results for our clients.

    A Nod to Yoast and the Evolution of WordPress SEO

    Before we explain why we use Rank Math, it’s important to give credit where it’s due.

    I used to use Yoast exclusively and even had the opportunity to speak with its creator, Joost de Valk, back in the day. I have a massive amount of appreciation for what he did for the WordPress ecosystem. He fundamentally changed how the platform handled technical SEO. For example, he championed the shift that finally stopped developers from needing to manually block the /wp-admin/ side of WordPress in the robots.txt file – a headache that he helped solve for the entire community.

    Yoast paved the way for modern WordPress SEO. However, as the plugin grew into an absolute giant, the company structure changed. It became heavily team-led rather than founder-driven, and with that massive scale came a common software problem: bloat.

    As our agency shifted our focus toward shaving milliseconds off our First Contentful Paint (FCP) and building as natively as possible, we found that Yoast was simply loading too much unnecessary code and running too many background processes for our liking.

    Why We Now Champion Rank Math Pro

    We needed an SEO tool that aligned with our “lean and fast” philosophy, without sacrificing advanced technical capabilities. Rank Math Pro fits that brief perfectly. Here is why it is now the standard across all our client builds.

    1. Modular and Lightning Fast

    Unlike older plugins that force you to load their entire suite of features whether you use them or not, Rank Math is built on a modular framework.

    If we don’t need the WooCommerce SEO module for a lead-generation site, we simply toggle it off. If we don’t need the internal link counter, we disable it. This modularity means Rank Math leaves an incredibly light footprint on the server, protecting the page speed metrics we work so hard to achieve.

    2. Ultimate Flexibility

    Rank Math integrates beautifully with the modern, native WordPress block editor. It doesn’t clutter the interface or slow down the backend experience for our clients when they are writing content. It feels like a natural extension of WordPress rather than a heavy third-party application bolted onto the side.

    3. Sophisticated Schema Markup

    This is perhaps the biggest technical advantage for our clients. Search engines today rely heavily on Schema (structured data) to understand the context of a webpage. It’s what gives you those rich snippets in Google—like star ratings, event dates, or FAQ dropdowns directly in the search results.

    With other tools, implementing custom Schema often requires installing another premium add-on or writing manual JSON-LD code. Rank Math Pro has an incredibly powerful, built-in Schema generator. It allows us to build sophisticated, multi-layered structured data profiles for local businesses, products, articles, and services with pinpoint accuracy.

    The Right Tool for the Modern Web

    Our transition from Yoast to Rank Math Pro wasn’t a reactionary decision; it was a calculated upgrade.

    Just as we moved away from heavy page builders to native blocks, we moved to an SEO framework that gives us total control, advanced technical features, and zero unnecessary bloat. When we pair Rank Math Pro with our lean development and ultra-fast hosting, we give our clients a measurable advantage in the search engine results pages.


  • Hosting – why it matters


    Beyond “Good Enough”: Why We Moved to the UK’s Fastest and Greenest Web Host

    If you have been following our recent articles on how we build websites at Egret Digital, you’ll notice a recurring theme: an absolute obsession with performance. We strip out bloated page builders, write native WordPress code, and meticulously engineer our analytics tags so they don’t slow down the user experience.

    But there is one foundational element that dictates website speed before a single line of code is loaded: your web hosting.

    For a long time, SiteGround was our go-to hosting provider. They are a fantastic, reliable company that serves millions of websites brilliantly, and we built many successful projects on their infrastructure. However, as our agency evolved and our performance benchmarks became stricter—like aiming for a First Contentful Paint (FCP) of under 0.5 seconds—we realised we needed a partner that pushed the boundaries of server technology just as hard as we push our code.

    We also wanted a partner that shared our values regarding the environment.

    That is why we transitioned our hosting infrastructure to Krystal – the fastest and greenest web host in the UK. Here is why making this switch was one of the best decisions we’ve made for our clients.

    Speed: The Foundation of First Contentful Paint

    In our previous article, we talked about how a heavy website forces users to stare at a blank screen. But even the lightest, most brilliantly coded native WordPress site will load slowly if the server takes too long to respond.

    This is measured by a metric called Time to First Byte (TTFB). It is the milliseconds it takes for a user’s browser to connect to the server and receive the very first piece of data.

    Krystal’s infrastructure is built entirely on enterprise-grade NVMe SSDs (which are significantly faster than standard solid-state drives) and LiteSpeed web servers. Furthermore, because their datacentres are based right here in the UK, data doesn’t have to travel across the globe to reach your local customers.

    When we pair our lean, native WordPress builds with Krystal’s lightning-fast TTFB, the results on WebPageTest are phenomenal. Pages don’t just load; they snap into place instantly. This translates to lower bounce rates, higher conversions, and a significant structural advantage for your SEO.

    Sustainability: The Internet’s Hidden Carbon Footprint

    Performance was our primary catalyst for the move, but Krystal’s commitment to the environment made them the undisputed winner.

    It’s easy to think of the internet as an invisible, weightless “cloud.” In reality, the internet relies on massive physical datacentres running millions of servers 24/7, requiring enormous amounts of electricity to power and cool them. If the internet were a country, it would be one of the top polluters in the world.

    We believe that building high-performing digital assets shouldn’t come at the expense of the planet.

    Krystal is the UK’s only B Corp Certified web host. Their entire operation is powered by 100% renewable energy – not through complex carbon-offsetting loopholes, but directly from the sun, wind, and sea. By hosting our clients’ websites on Krystal, we ensure that their digital footprint is genuinely green.

    The Agency Difference: A Zero-Compromise Approach

    As an agency, every tool we select is a reflection of the value we want to deliver to our clients.

    SiteGround served us well during a specific era of our business. But moving to Krystal represents our modern philosophy: zero compromises. We want local UK support, bleeding-edge server speeds to fuel our native WordPress builds, and a verifiable commitment to renewable energy.

    When you host your website with Egret Digital, you aren’t just getting a space on a server. You’re getting an enterprise-grade foundation that actively benefits your bottom line, your users’ experience, and the environment.


  • How we build websites


    From Page Builders to Native WordPress: Why We Now Build “Lean” for Maximum Performance

    If you look at the evolution of how we build websites at Egret Digital, it mirrors the evolution of the web itself.

    Years ago, we built sites using Astra, a fantastic, lightweight theme that gave us a solid foundation. Later, as client demands for highly customised, intricate designs grew, we transitioned to using Elementor. Elementor is an incredible tool that democratised web design, allowing agencies to build visually stunning pages with drag-and-drop ease.

    We don’t knock these tools—they power millions of successful websites today. But as the digital landscape became more competitive, and Google shifted its algorithmic focus heavily toward Core Web Vitals and User Experience (UX), our philosophy had to evolve.

    Today, we build websites using native WordPress (the core block editor), supplemented only by tailored tools like ACF (Advanced Custom Fields).

    By using less third-party software, we build faster, better-performing, and more reliable websites. Here is a look at why we made the shift to “lean” native building, and why it matters for your business.

    The Hidden Cost of “More”

    Page builders like Elementor are incredibly powerful, but that power comes with a trade-off: code bloat.

    To give you the ability to drag and drop any element anywhere on a page, a page builder has to load massive amounts of CSS (styling) and JavaScript (functionality) in the background—just in case you decide to use them. It also creates a deeply nested DOM (Document Object Model), meaning the browser has to read through layers and layers of structural code just to display a simple paragraph of text.

    When a browser has to download, parse, and execute all that extra code, the website slows down. And in today’s attention economy, a slow website is a leaky bucket for your marketing budget.

    The Native WordPress & ACF Advantage

    Over the last few years, the native WordPress block editor (often referred to as Gutenberg) has matured into a powerhouse. We no longer need heavy third-party page builders to create beautiful, complex, and responsive layouts.

    When we do need highly specific, dynamic functionality that core blocks can’t quite handle, we don’t install a bloated third-party plugin. Instead, we use ACF and ACF Pro. This allows us to code bespoke, lightweight blocks from scratch that do exactly what you need them to do—and absolutely nothing else.

    By building natively and using ACF strategically, we embrace the “less is more” approach. The benefits are undeniable:

    • Zero Bloat: Native WordPress only loads the code required for the specific blocks used on a page.
    • Rock-Solid Reliability: Every time you add a massive page-builder plugin to a website, you introduce a potential point of failure. By relying on WordPress core and clean ACF fields, we drastically reduce the chance of plugin conflicts during updates.
    • Future-Proofing: Because we are building with the exact tools the WordPress core team develops, our websites are natively aligned with the platform’s future trajectory.

    We Don’t Just Guess It’s Fast – We Prove It

    Many agencies will tell you a site is fast because it “feels” fast to them on their high-speed office Wi-Fi. We don’t rely on feelings; we rely on forensic data.

    Every website we build goes through rigorous testing using WebPageTest, the industry gold standard for performance auditing. We aren’t just looking at the total load time; we are analysing the exact sequence of how the site renders on a real user’s screen.

    One of our primary obsessions is a metric called First Contentful Paint (FCP). FCP measures the exact moment the browser renders the very first piece of DOM content (like text or an image) on the screen.

    When you use heavy page builders, users often stare at a blank white screen while the code loads in the background. Our agency benchmark is to hit an FCP of under 0.5 seconds. We want your users to see your brand, your message, and your value proposition instantly.

    Better Performance = Better Business

    Why do we care so much about stripping out bloat and shaving milliseconds off load times? Because performance is no longer just a technical metric; it is a fundamental business metric.

    • Conversion Rates: Amazon famously found that every 100ms of latency cost them 1% in sales. Fast sites keep users engaged; slow sites send them straight to your competitors.
    • SEO Rankings: Google actively rewards fast, technically sound websites. By natively building for speed, we give your SEO campaigns a structural advantage from day one.
    • User Trust: A website that loads instantly and flawlessly feels premium, authoritative, and trustworthy.

    At Egret Digital, we’ve learned that the best websites aren’t the ones with the most plugins; they’re the ones engineered with the most precision.


  • Website analytics – what we use and why


    Why Google Analytics Isn’t Enough: Building a Zero-Compromise Analytics Stack

    If you hire an agency to handle your website analytics, 99% of the time, they’ll install Google Analytics 4 (GA4), verify that traffic is being recorded, and call it a day.

    GA4 is a powerhouse for measuring acquisition and complex conversion funnels. But relying on it exclusively leaves massive blind spots in your understanding of user behavior. GA4 tells you what happened – how many people landed on a page, what they bought, and where they came from. But it is notoriously bad at telling you why.

    Why did 80% of users abandon the checkout? Why is nobody clicking the primary call-to-action?

    At Egret Digital, we don’t believe in guessing. That’s why our standard tracking deployment goes far beyond Google Analytics. We implement a multi-layered analytics stack – incorporating Metrica, Microsoft Clarity, and Clicky – to give us a 360° view of users.

    But installing four analytics tools sounds like a recipe for a slow website, right? It would be, if we deployed them like a standard agency. Here’s a look at why we use these specific tools, and the technical Tag Manager wizardry we use to keep your website lightning fast.

    The “Big Four” Analytics Stack

    Each tool in our stack serves a highly specific purpose, filling in the gaps left by the others.

    1. Google Analytics 4 · The Baseline

    We still use GA4 because it remains the industry standard for tying website traffic to Google Ads performance. It is excellent for macro-level reporting, attribution modeling, and understanding broad traffic trends over time.

    2. Metrica · The Behavioral Deep-Dive

    While GA4 gives us the numbers, Metrica gives us the human element. Metrica includes a feature called Webvisor, which records actual – but anonymous – user sessions. We can literally watch a playback of a user’s mouse movements, scrolling, and clicks.

    • Unique Value: Form analytics. Metrica shows us exactly which field in a lead generation form caused a user to hesitate, abandon, or encounter an error.

    3. Microsoft Clarity · The Friction Finder

    Microsoft Clarity is a brilliant, completely free tool that excels at identifying user frustration.

    • Unique Value: It automatically tags sessions with “Rage Clicks” (when a user repeatedly clicks an element out of frustration, like a broken button) and “Dead Clicks” (clicks on non-interactive elements). It also leverages AI to summarise session takeaways, allowing our UX team to spot design flaws in minutes rather than hours.

    4. Clicky · The Real-Time Truth

    GA4 often suffers from data lag – sometimes taking 24 to 48 hours for data to fully populate. Clicky is an old-school, privacy-friendly, ultra-lightweight tool that acts as our real-time pulse check.

    • Unique Value: We use Clicky to look at granular, individual visitor logs as they happen. If we launch a new campaign, Clicky tells us exactly what those first few visitors are doing second-by-second.

    The Technical Magic: How We Protect Page Speed

    You might be thinking: “If you add four tracking codes to my website, isn’t that going to destroy my page load speed?”

    If we used the standard “Copy and Paste” method, yes. Most agencies fire all tracking tags on the Page View trigger in Google Tag Manager (GTM). This tells the browser to try and load heavy session-recording scripts at the exact same time it’s trying to load your website’s primary images, text, and CSS.

    We engineer our GTM setups to respect the browser’s natural rendering timeline, ensuring your users (and Google’s Core Web Vitals) never feel the weight of our analytics stack.

    Firing Early: Clicky and DOM Ready

    Because Clicky is incredibly lightweight and doesn’t record heavy video sessions, we want it to fire as early as safely possible. We trigger Clicky on DOM Ready. This means the browser has parsed the basic HTML of the page, but hasn’t necessarily finished downloading heavy background images. This ensures we capture visitors who might bounce very quickly, giving us highly accurate bounce rates without interrupting the visual load of the page.

    Firing Late: Metrica and Clarity on Window Loaded

    Session recording tools like Yandex Metrica and Microsoft Clarity are “heavy” scripts. If you load them too early, the user will stare at a blank white screen while the browser processes the tracking code.

    To prevent this, we trigger these tools on Window Loaded. This is the absolute end of the page-loading lifecycle. It tells Google Tag Manager: “Wait until every single image, font, and piece of content has perfectly rendered for the user. Only once the user has a perfect experience, start loading the session recording tools in the background.”

    The Agency Difference

    Data is only useful if it’s accurate, actionable, and doesn’t compromise the user experience. By combining the macro-data of GA4, the behavioral insights of Metrica and Clarity, and the real-time speed of Clicky – all orchestrated perfectly through advanced Tag Manager triggers – we give our clients’ websites an advantage through deeper understanding.

    We don’t just know how many people visited your site; we know exactly how they experienced it and crucially whether they liked what they found.

  • Google Tag Manager – how we use it


    Stop Copy-Pasting Your Tracking Codes: A Better Approach to Google Tag Manager

    If you ask the average digital marketing agency to install a new tracking pixel, the process usually looks like this:

    1. Copy the code provided by the advertising platform.
    2. Open Google Tag Manager (GTM).
    3. Paste the code exactly as-is into a Custom HTML tag.
    4. Set it to fire on “All Pages.”
    5. Publish.

    It works, right? Technically, yes. But over time, this “copy-paste” mentality leads to bloated containers, sluggish page load times, and messy data collection.

    At [Your Agency Name], we handle GTM a little differently. We don’t just paste code; we engineer it. By taking a few extra minutes to clean, format, and strategically deploy tracking scripts, we protect our clients’ website performance while ensuring their data is pristine.

    Here is a look behind the curtain at how we optimise tracking codes—and how you can do it, too.

    1. Trimming the Fat: The <noscript> Fallacy

    Almost every tracking script you receive (Google Ads, Meta, Metrica, LinkedIn) comes with two parts: a <script> block and a <noscript> block.

    The <noscript> block contains an invisible image pixel designed to track users who have JavaScript disabled in their browsers.

    The Problem: Google Tag Manager relies heavily on JavaScript to function. If a user has JavaScript disabled, your GTM container won’t load, which means your Custom HTML tag won’t fire anyway. Including a <noscript> block inside a GTM Custom HTML tag is entirely useless—it’s just dead weight that bloats your container size.

    When we implement tags, the very first thing we do is strip out the HTML comments and the <noscript> fallbacks.

    2. Formatting for Humans

    Ad platforms usually minify their tracking codes—squishing them into a single, unreadable block of text to save a few bytes. While computers don’t mind reading this, it makes debugging a nightmare for developers and marketers down the line.

    We take the time to un-minify the configuration settings of the tag.

    Before (Standard Yandex Metrica Snippet):

    HTML

    <script type="text/javascript"> (function(m,e,t,r,i,k,a){ m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a) })(window, document,'script','https://mc.yandex.ru/metrika/tag.js?id=12345678', 'ym'); ym(12345678, 'init', {ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true}); </script> <noscript><div><img src="https://mc.yandex.ru/watch/12345678" style="position:absolute; left:-9999px;" alt="" /></div></noscript>

    After (Our Optimised Implementation):

    HTML

    <script type="text/javascript"> (function(m,e,t,r,i,k,a){ m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date(); for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }} k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a) })(window, document,'script','https://mc.yandex.ru/metrika/tag.js?id=12345678', 'ym'); ym(12345678, 'init', { ssr:true, webvisor:true, clickmap:true, ecommerce:"dataLayer", referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true }); </script>

    By breaking out the initialisation object, anyone auditing the account can immediately see what features are enabled—like the dataLayer integration for e-commerce or the webvisor feature for session recording.

    3. Trigger Discipline: Protecting Page Speed

    Perhaps the biggest sin in GTM management is firing heavy scripts on “All Pages” (Page View).

    Let’s look at the Metrica script above. It includes webvisor:true, which records user sessions (mouse movements, clicks, scrolling). Session recording scripts (like Webvisor, Hotjar, or Clarity) are notoriously heavy. If you load them the millisecond the page starts rendering, they will compete with your actual website content for bandwidth.

    The result? A slower website, frustrated users, and a hit to your Core Web Vitals (which hurts your SEO).

    Instead of the default “All Pages” trigger, we strategically delay non-essential, heavy tracking scripts by using the Window Loaded trigger. This tells the tag: “Wait until the visual page, images, and core functionality have completely finished loading for the user, and only then start tracking their mouse movements.”

    4. Connecting Directly to the Source (The Data Layer)

    Finally, a sophisticated GTM setup doesn’t rely on scraping the website’s HTML to figure out what a user bought.

    In our optimised snippet above, you’ll notice ecommerce:"dataLayer". We intentionally ensure that tracking scripts are built to listen directly to the website’s data layer—a hidden stream of structured data that passes exact transaction values, item IDs, and currencies directly to GTM. This guarantees 100% accuracy in ROI reporting, completely insulated from site redesigns or changing button colors.

    The Bottom Line

    Google Tag Manager is an incredibly powerful tool, but it is not a magic bullet. Treating it like a simple “paste it and forget it” dumping ground leads to poor performance and fragile data.

    By cleaning the code, structuring it for humans, utilising intelligent triggers, and leveraging the data layer, we ensure our clients get world-class analytics without sacrificing a millisecond of website speed.

    Want to know if your Tag Manager container is weighing your site down? Reach out to the team at Egret Digital for a comprehensive tracking audit.