Google Tag Manager (Body)
Adds the Google Tag Manager noscript fallback right after the opening body tag. Use it together with the GTM head snippet.
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 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.
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.
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.
Pushes a GA4-style "purchase" ecommerce object to the Google Tag Manager dataLayer on the order received page, ready for GA4, Google Ads or Meta tags in GTM.