Title: Stape Conversion Tracking
Author: Stape
Published: <strong>8 de octubre de  2020</strong>
Last modified: 1 de octubre de  2026

---

Buscar plugins

![](https://ps.w.org/gtm-server-side/assets/banner-772x250.png?rev=2876036)

![](https://ps.w.org/gtm-server-side/assets/icon-256x256.jpg?rev=2678322)

# Stape Conversion Tracking

 Por [Stape](https://profiles.wordpress.org/gtmserver/)

[Descargar](https://downloads.wordpress.org/plugin/gtm-server-side.2.3.10.zip)

 * [Detalles](https://es-ar.wordpress.org/plugins/gtm-server-side/#description)
 * [Valoraciones](https://es-ar.wordpress.org/plugins/gtm-server-side/#reviews)
 *  [Instalación](https://es-ar.wordpress.org/plugins/gtm-server-side/#installation)
 * [Desarrollo](https://es-ar.wordpress.org/plugins/gtm-server-side/#developers)

 [Soporte](https://wordpress.org/support/plugin/gtm-server-side/)

## Descripción

If you are looking for the easiest way to implement server-side tracking on your
WordPress website, the GTM Server Side plugin by stape.io is the best solution. 
It helps to easily modify the gtm script with the tagging server URL, adds a custom
loader, and sends data layer events and webhooks.

GTM Server Side plugin by stape.io features:

 * Add web Google Tag Manager script on every website page.
 * Work with any other WP plugin that inserts gtm script on the website.
 * Adds custom loader, which makes Google Tag Manager and Google Analytics tracking
   invisible to ad blockers and other tracking prevention mechanisms.
 * Sends events to GTM server side without any JS library and optimizes page speed.
 * Adds e-commerce Data Layer events.
 * Adds user data to Data Layer events.
 * Sends webhooks.
 * Provides the possibility to manage dynamic generation of data layer fields.
 * Native Same Origin proxy.

Benefits of GTM Server Side plugin by stape.io:

 * Increase cookies lifetime when using a custom domain for server Google Tag Manager
   container.
 * Increases the accuracy of tracking when the custom loader is enabled.
 * Simplifies the process of adding GTM script on the website and delivering e-commerce
   and user data.

## Capturas

[⌊General plugin settings.⌉⌊General plugin settings.⌉[

General plugin settings.

[⌊Data Layer settings.⌉⌊Data Layer settings.⌉[

Data Layer settings.

[⌊Webhooks settings.⌉⌊Webhooks settings.⌉[

Webhooks settings.

[⌊Menu item in the settings panel.⌉⌊Menu item in the settings panel.⌉[

Menu item in the settings panel.

## Instalación

 1. Unzip and upload the “gtm-server-side” to the “/wp-content/plugins/” directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to “Settings / GTM Server Side” and enter your GTM Server Side URL and set additional
    options.

## Preguntas frecuentes

### What is Google Tag Manager?

Please refer to the official [Google Tag Manager Documentation](https://marketingplatform.google.com/about/tag-manager/).

### What is Google Tag Manager Server Side?

Please refer to the technical description of [Google Tag Manager Server Side](https://stape.io/blog/what-is-google-tag-manager-server-side-tracking).

### Where I can get GTM Server Side URL?

Please refer to blog post [how to set up Google Tag Manager Server Side Container](https://stape.io/blog/how-to-set-up-google-tag-manager-server-side-container).

### Does the plugin support WooCommerce

Yes, please refer to the blog post on how to setup [server side Tagging For WordPress with WooCommerce](https://stape.io/blog/how-to-add-google-analytics-and-facebook-pixels-to-wordpress-using-google-tag-manager-server-container).

### Can I integrate Facebook Conversion API with Google Tag Manager server side?

Yes. [How to Setup Facebook Conversion API](https://stape.io/blog/how-to-set-up-facebook-conversion-api).

## Reseñas

![](https://secure.gravatar.com/avatar/db909fb037c88298044106305783b58b18af36cfddac368b15acd86fe1228294?
s=60&d=retro&r=g)

### 󠀁[Simple and effcient thanks](https://wordpress.org/support/topic/simple-and-effcient-thanks/)󠁿

 [Oliver Junior](https://profiles.wordpress.org/webde5igner/) 6 de septiembre de
2024

Simple and effcient thanks, with few clics work!

![](https://secure.gravatar.com/avatar/38cace7c296d306f53b72143e401254bdaefd567a1212b774ce6251be28e2391?
s=60&d=retro&r=g)

### 󠀁[Nice service](https://wordpress.org/support/topic/nice-service-14/)󠁿

 [CarlosPiresAdv](https://profiles.wordpress.org/carlospiresadv/) 7 de mayo de 2023

Cool, with limited free plan.

![](https://secure.gravatar.com/avatar/a52faa22cd1c72c37fdaf105ef2b87c77f9c5a11caa0b7edeb9445c26f5c7d78?
s=60&d=retro&r=g)

### 󠀁[Thanks for plugin!](https://wordpress.org/support/topic/thanks-for-plugin-21/)󠁿

 [outfoxer](https://profiles.wordpress.org/outfoxer/) 2 de abril de 2021

Just works!

![](https://secure.gravatar.com/avatar/4c78b56759f1b390c6c6ecdd44ffdc5c646715ffa044ea3d22353c49491da3a1?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin and support!](https://wordpress.org/support/topic/amazing-plugin-and-support-87/)󠁿

 [iradigimar](https://profiles.wordpress.org/iradigimar/) 23 de octubre de 2020

This is the best GTM plugin ever to utilize the power of Server-Side Container

 [ Leer todas las 3 reseñas ](https://wordpress.org/support/plugin/gtm-server-side/reviews/)

## Colaboradores y desarrolladores

“Stape Conversion Tracking” es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ Stape ](https://profiles.wordpress.org/gtmserver/)
 *   [ bukashk0zzz ](https://profiles.wordpress.org/bukashk0zzz/)

“Stape Conversion Tracking” ha sido traducido a 2 idiomas. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/gtm-server-side/contributors)
por sus contribuciones.

[Traduce “Stape Conversion Tracking” a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/gtm-server-side)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/gtm-server-side/) ,
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/gtm-server-side/),
o suscríbete al [log de desarrollo](https://plugins.trac.wordpress.org/log/gtm-server-side/)
por [RSS](https://plugins.trac.wordpress.org/log/gtm-server-side/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 2.3.10

 * Removed the end-to-end test tooling (tests/, bin/, the wp-env and Playwright/
   Vitest configs) that 2.3.9 accidentally shipped in the plugin package. None of
   it was loaded by the plugin; the package is back to runtime files only.

#### 2.3.9

 * Fixed the purchase event firing for checkouts that never completed. It was printed
   in the footer of whatever page rendered after the order was created, with no 
   status check, so a declined card sent a full-value purchase. It now fires only
   on the order confirmation page, either the order received endpoint or a custom
   thank you page that runs woocommerce_thankyou (CartFlows, FunnelKit, Elementor),
   and never for failed or cancelled orders. Unpaid orders still count: cash on 
   delivery and bank transfer are unpaid at that point and are real sales. Stores
   whose confirmation page does neither can correct the check with the gtm_server_side_is_order_confirmation_page
   filter.
 * Fixed add_to_cart not being tracked when the add loads a page: AJAX add to cart
   turned off, a ?add-to-cart= link, or a single product form that submits normally.
   The click-time push was lost with the page, so the added item is now stored in
   the WooCommerce session and pushed on the next page render. Adds over AJAX or
   the Store API keep pushing at click time. Themes that AJAX-ify these links or
   forms are covered by the added_to_cart event. Grouped products in the “Add to
   Cart with Options” block are tracked too.
 * Fixed add_to_cart being lost on WooCommerce Blocks “Add to cart” buttons when
   the click landed on the button’s inner label instead of the button itself.

#### 2.3.8

 * Fixed the same-origin proxy reaching the container without the visitor’s IP address,
   which made analytics report every visitor from the server’s own location. The
   proxy turns a browser request into a server-to-server one, so the visitor’s address
   is now resolved from the incoming request and restated upstream in X-Forwarded-
   For and X-Real-IP. Forwarding headers are trusted for that lookup by default;
   sites that terminate connections directly can opt out with the gtm_server_side_trust_proxy_client_ip
   filter, and gtm_server_side_same_origin_client_ip overrides the resolved address
   outright.

#### 2.3.7

 * Fixed the same-origin service worker returning a 404. The tag container registers
   it from a proxied iframe, using a “.js” URL built at runtime that the web server
   answers from its static file handler before WordPress can proxy it. The registration
   now goes out as “.load”, like the loader already does.

#### 2.3.6

 * Fixed a JavaScript error (“item is not iterable”) that broke the add_to_cart 
   data layer event when adding a grouped product to the cart.
 * Tested up to WordPress 7.1.0

#### 2.3.5

 * Fixed the same-origin loader rewrite so that only the proxied loader URL is changed
   from “.js” to “.load”, leaving the gtm.js bootstrap event name and third-party
   URLs untouched.
 * The “.js” to “.load” rewrite is now applied to every generated loader snippet,
   including the ones refreshed by cron.
 * Fixed same-origin proxy responses that set more than one cookie: repeated Set-
   Cookie headers are no longer merged into a single malformed header.

#### 2.3.4

 * Fixed a “Cannot modify header information” warning caused by the cookie keeper
   running on WP-Cron and WP-CLI requests.

#### 2.3.3

 * Added a proxy status check that confirms the server_container_url to use in web
   GTM once the same-origin proxy path is verified.
 * Same-origin settings are now validated before saving: the proxy path must start
   with “/” and the container API key must match the expected format.

#### 2.3.2

 * Extended item_brand sources in Advanced parameters: all product taxonomies are
   now selectable.

#### 2.3.1

 * Fixed HTML entity serialization in product item_name and item_category fields
   for Data Layer ecommerce events and webhook item payloads.

#### 2.3.0

 * Introduction of Same Origin functionality.

#### 2.2.0

 * Introduction of Dynamic Data Layer configuration.

#### 2.1.48

 * Fixed purchase event.

#### 2.1.47

 * Fixed “gtm_server_side_order_id” cookie.
 * Added EU endpoint for custom loader.

#### 2.1.46

 * Tested up to WordPress 7.0.0

#### 2.1.45

 * Exclude GTM from loading for specific WordPress user roles.

#### 2.1.44

 * Added Consent-Based GTM Injection.

#### 2.1.43

 * Customer loader creation via API is enabled.

#### 2.1.42

 * Added customer loader via API.
 * Fixed “gtm_server_side_state_cart_data” ajax request.

#### 2.1.41

 * Tested up to WordPress 6.9.0

#### 2.1.40

 * Added “cart_state” to DataLayer

#### 2.1.39

 * Rename “product” to “accountType”
 * Added some cookies to the purchase webhook list

#### 2.1.38

 * Added “select_item” event

#### 2.1.37

 * Fix: submit button

#### 2.1.36

 * Added imageUrl field to dataLayer
 * Added header “x-stape-app-version”

#### 2.1.35

 * Fix tab Customer Match

#### 2.1.34

 * Fix tab Customer Match

#### 2.1.33

 * Add description for tab Customer Match

#### 2.1.32

 * Added “Customer Match” settings
 * Fix: new_customer value

#### 2.1.31

 * Request parameters have been changed

#### 2.1.30

 * Added discount for order item

#### 2.1.29

 * Tested up to WordPress 6.8.0

#### 2.1.28

 * Tested up to WordPress 6.8.0

#### 2.1.27

 * Tested up to WordPress 6.7.1

#### 2.1.26

 * Send discount amount in webhook

#### 2.1.25

 * Removed “Stape Analytics support” setting

#### 2.1.24

 * Added Order paid completed webhook
 * Added cart_hash key to webhooks

#### 2.1.23

 * Fix purchase event

#### 2.1.22

 * Tested up to WordPress 6.7

#### 2.1.21

 * Fix purchase event
 * Removed iframe code
 * Fix remove product from cart

#### 2.1.20

 * Change JS code
 * Added option “Stape Analytics support”

#### 2.1.19

 * Added “view_item_list” event
 * “ecomm_pagetype” key added to dataLayer
 * Added Order paid webhook

#### 2.1.18

 * Added sending _ga_* cookies to webhook for a new order

#### 2.1.17

 * Tested up to WordPress 6.6

#### 2.1.16

 * Hidden option “Update existing web GTM script”

#### 2.1.15

 * Removing empty field fields user_data before sending event

#### 2.1.14

 * Added sending – Decorate dataLayer event name

#### 2.1.13

 * Custom loader update

#### 2.1.12

 * Add more cookies to the list of cookies that are sent to the server

#### 2.1.11

 * Tested up to WordPress 6.4.2

#### 2.1.10

 * Changed validation for field – Server GTM container URL

#### 2.1.9

 * Tested up to WordPress 6.4

#### 2.1.8

 * Changed settings text

#### 2.1.7

 * Tested up to WordPress 6.3

#### 2.1.6

 * Fix session bug
 * Added sending cookies
 * Add events: view_cart, remove_from_cart

#### 2.1.5

 * Fix bug with versions numbers

#### 2.1.4

 * Fix bug on webhooks tab

#### 2.1.3

 * Settings field “GTM server container URL” is not required

#### 2.1.2

 * Added support for WordPress 6.2

#### 2.1.1

 * Fix user data on purchase event

#### 2.1.0

 * Added setting “Cookie Keeper”

#### 2.0.2

 * Updated description and screenshots

#### 2.0.1

 * Updated description and screenshots

#### 2.0.0

 * Changed plugin settings page. Added two new tabs – Data Layer and Webhooks.
 * Added integration with WooCommerce plugin.
 * Data Layer tab. Added the ability to track e-commerce events for the Data Layer–
   Login, SignUp, ViewItem, AddToCart, BeginCheckout. Including user data.
 * Webhooks tab. Added the ability to send Purchase or Refund data to a third-party
   URL.

#### 1.1.4

 * Added support for WordPress 6.1

#### 1.1.3

 * Added support for WordPress 6.0

#### 1.1.2

 * Improve security

#### 1.1.1

 * Added support for WordPress 5.9

#### 1.1.0

 * Added support of Stape custom loader.

#### 1.0.5

 * Update regarding Gtm Server to Stape rename.

#### 1.0.4

 * Fixed issues regarding GTM SS debugger

#### 1.0.3

 * Added support for WordPress 5.7
 * Added more links to how to setup instructions

#### 1.0.2

 * Added ecommerce events

#### 1.0.1

 * Assets and texts update.

#### 1.0.0

 * Init release.

## Meta

 *  Versión **2.3.10**
 *  Última actualización **hace 6 días**
 *  Instalaciones activas **10.000+**
 *  Versión de WordPress ** 5.2.0 o superior **
 *  Testeado hasta **7.1.0**
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/gtm-server-side/), [Spanish (Chile)](https://cl.wordpress.org/plugins/gtm-server-side/),
   y [Spanish (Spain)](https://es.wordpress.org/plugins/gtm-server-side/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/gtm-server-side)
 * Etiquetas:
 * [google tag manager](https://es-ar.wordpress.org/plugins/tags/google-tag-manager/)
   [gtm](https://es-ar.wordpress.org/plugins/tags/gtm/)[tag manager](https://es-ar.wordpress.org/plugins/tags/tag-manager/)
 *  [Vista avanzada](https://es-ar.wordpress.org/plugins/gtm-server-side/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  4 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/gtm-server-side/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/gtm-server-side/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/gtm-server-side/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/gtm-server-side/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/gtm-server-side/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gtm-server-side/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/gtm-server-side/reviews/)

## Colaboradores

 *   [ Stape ](https://profiles.wordpress.org/gtmserver/)
 *   [ bukashk0zzz ](https://profiles.wordpress.org/bukashk0zzz/)

## Soporte

¿Tenés algo que decir? ¿Necesitás ayuda?

 [Ver el foro de asistencia](https://wordpress.org/support/plugin/gtm-server-side/)