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.
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.
Loads the Google Ads tag and reports a purchase conversion with the order value and transaction ID on the WooCommerce order received page.
Adds the Google Analytics 4 (gtag.js) tracking code to the head of every public page.
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 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.
Detects visitors whose browser sends a Global Privacy Control (GPC) or Do Not Track signal and updates Google Consent Mode to deny ad storage and personalization for them.
Adds Hotjar heatmaps and session recordings to your public pages, without recording logged-in staff.
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.
Fires the Meta (Facebook) Pixel "Purchase" event with the order value, currency and product IDs on the order received page, once per order.
Sends Meta (Facebook) Pixel "ViewContent" on product pages and "AddToCart" when products are added, so you can build retargeting audiences and optimize ads.
Adds the Microsoft Advertising (Bing Ads) Universal Event Tracking tag to every public page for conversion tracking and remarketing.
Pushes page information (page type, post type, categories, author, publish date and login status) to the dataLayer before Google Tag Manager loads, for use in tags and triggers.
Adds the Pinterest tag to every public page and records page visits, with an option to wait for cookie consent.
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.
Adds the Reddit Ads pixel to every public page and tracks page visits, with an option to wait for cookie consent.
Saves utm_source, utm_medium, utm_campaign, utm_term, utm_content and gclid from the landing page in a first-party cookie, then fills matching hidden fields in your forms so leads keep their campaign source.
Pushes scroll_depth events to the Google Tag Manager dataLayer when visitors scroll 25, 50, 75 and 90 percent of a page, to measure how far content is read.
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.