Contributors: gtmserver, bukashk0zzz
Requires at least: 5.2.0
Tested up to: 6.7.1
Stable tag: 2.1.29
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Google Tag Manager, Google Tag Manager Server Side, GTM, GTM Server Side, Tag Manager, Analytics, Google, Server-Side, GTag
The GTM Server Side plugin by stape.io is the easiest way to implement server-side tracking on your WordPress website. It allows you to easily modify the GTM script with the tagging server URL, adds a custom loader, and sends Data Layer events and webhooks.
- Add the Google Tag Manager script to every website page.
- Works with any other WordPress plugin that inserts the GTM script.
- Includes a custom loader to make GTM and Google Analytics tracking invisible to ad blockers and other tracking prevention mechanisms.
- Sends events to the GTM server side without requiring a JavaScript library, improving page speed.
- Adds e-commerce Data Layer events.
- Adds user data to Data Layer events.
- Sends webhooks.
- Increases cookie lifetime when using a custom domain for the server GTM container.
- Improves tracking accuracy when the custom loader is enabled.
- Simplifies GTM script integration and enhances e-commerce and user data tracking.
- Unzip and upload the
gtm-server-side
folder to the/wp-content/plugins/
directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings > GTM Server Side, enter your GTM Server Side URL, and configure additional options.
Refer to the official Google Tag Manager Documentation.
Check out the technical description of Google Tag Manager Server Side.
Follow the guide on setting up a GTM Server Side Container.
Yes. Read the blog post on server-side tagging for WordPress with WooCommerce.
Yes. Follow this guide: How to Setup Facebook Conversion API.
- https://stape.io/solutions/server-side-tracking-for-wordpress
- https://wordpress.org/plugins/gtm-server-side/
- General plugin settings.
- Data Layer settings.
- Webhooks settings.
- Menu item in the settings panel.
Version 2 changelog
- Tested up to WordPress 6.8.0
- Tested up to WordPress 6.8.0
- Tested up to WordPress 6.7.1
- Send discount amount in webhook
- Removed "Stape Analytics support" setting
- Added Order Paid Completed webhook
- Added
cart_hash
key to webhooks
- Fixed purchase event
- Tested up to WordPress 6.7
- Fixed purchase event
- Removed iframe code
- Fixed remove product from cart
- Updated JavaScript code
- Added "Stape Analytics support" option
- Added "view_item_list" event
- Added
ecomm_pagetype
key to the Data Layer - Added Order Paid webhook
- Added
_ga_*
cookies to webhook for new orders
- Tested up to WordPress 6.6
- Hidden "Update existing web GTM script" option
- Removed empty
user_data
fields before sending an event
- Added sending - Decorate Data Layer event name
- Custom loader update
- Added more cookies to the list of cookies sent to the server
- Tested up to WordPress 6.4.2
- Changed validation for "Server GTM Container URL" field
- Tested up to WordPress 6.4
- Updated settings text
- Tested up to WordPress 6.3
- Fixed session bug
- Added sending cookies
- Added events:
view_cart
,remove_from_cart
- Fixed bug with version numbers
- Fixed bug on webhooks tab
- "GTM Server Container URL" field is now optional
- Added support for WordPress 6.2
- Fixed user data on purchase event
- Added "Cookie Keeper" setting
- Updated description and screenshots
- Updated description and screenshots
- Updated plugin settings page with two new tabs: Data Layer and Webhooks
- Added WooCommerce integration
- Data Layer Tab: Added tracking for Login, SignUp, ViewItem, AddToCart, BeginCheckout, and user data
- Webhooks Tab: Added the ability to send Purchase or Refund data to a third-party URL
Version 1 changelog
- Added support for WordPress 6.1
- Added support for WordPress 6.0
- Improved security
- Added support for WordPress 5.9
- Added support for Stape custom loader
- Updated naming from GTM Server to Stape
- Fixed issues with GTM SS debugger
- Added support for WordPress 5.7
- Added more setup guides
- Added e-commerce events
- Updated assets and text
- Initial release