Cloudflare Web Analytics Beacon
Adds Cloudflare's free, cookieless Web Analytics beacon to your public pages, for sites not proxied through Cloudflare or that want manual setup.
Snippet Library
Snippets for analytics and tracking: add Google Analytics, Tag Manager or ad pixels, exclude logged-in users and track clicks or form sends. For marketers who want the tracking code in place without editing the theme.
Adds Cloudflare's free, cookieless Web Analytics beacon to your public pages, for sites not proxied through Cloudflare or that want manual setup.
Adds the privacy-focused Fathom Analytics tracking script.
Sends a Google Analytics 4 "purchase" event with the order total and downloads when a customer lands on the Easy Digital Downloads purchase confirmation page.
Sends a Google Analytics 4 "purchase" event with the order ID, value, tax, shipping and items when a customer reaches the order received page, once per order.
Sends a GA4 "begin_checkout" event with the cart value and items when the customer opens the checkout page.
Sends GA4 ecommerce events when a shopper views a product page and when they add a product to the cart, from the product page or with AJAX buttons on shop pages.
Adds the Google Analytics 4 (gtag.js) tracking code to the head of every public page.
Outputs the GA4 tag only for visitors and customers, so your own visits as an author, editor or administrator do not skew the statistics.
Sets Google Consent Mode defaults before any Google tag loads, denying ad and analytics storage for visitors in the EEA, UK and Switzerland until your consent tool grants it.
Adds the HTML meta tag Google Search Console uses to verify that you own the site.
Adds the Google Tag Manager noscript fallback right after the opening body tag. Use it together with the GTM head snippet.
Adds the Google Tag Manager container script to the head of every page. Use it together with the GTM body snippet.
Adds the LinkedIn Insight Tag for conversion tracking and retargeting with LinkedIn ads.
Adds the Matomo tracking code to every public page, with optional cookieless tracking and without counting logged-in staff.
Adds the Meta Pixel base code to track page views for Facebook and Instagram ads.
Adds the Microsoft Clarity script for heatmaps and session recordings.
Adds the lightweight, cookie-free Plausible Analytics script.
Counts views of posts and pages, shows the totals in a sortable "Views" column in the admin, and adds a [wpide_views] shortcode to display the count.
Sets GA4 user properties for whether the visitor is logged in and their role (for example customer or subscriber), so you can compare members and guests in reports.
Tells Google Analytics 4 which category, author and post type each page belongs to, so you can see which topics and writers bring the most engagement.
Adds the cookie-free Simple Analytics script to your public pages. No tracking ID is needed: data is matched to the domain you added in Simple Analytics.
Sends a page_not_found event to Google Analytics 4 with the broken URL and the page the visitor came from, so you can find and fix dead links.
Sends an event to Google Analytics 4 (or the GTM dataLayer) whenever a visitor clicks a phone number, email address or WhatsApp link, so you can count leads from these contacts.
Sends a search_no_results event with the search term to Google Analytics 4 when a site search finds nothing, showing you what visitors want but cannot find.