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
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
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.
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.
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.