← Back to Knowledge Base
Affect Performance Team
|Analytics|Nov 27, 2026

How to Migrate Existing GTM Tracking to Server-Side with Stape AI Setup Wizard

On November 9, 2026, Stape released version 5.22 with three updates for configuring and maintaining server-side tracking. Setup Wizard gained an AI tool for migrating an existing Google Tag Manager configuration to the server side, Click ID Restorer gained support for custom URL parameters, and the User ID power-up gained the ability to generate a user identifier shared across multiple domains.

The changes address different stages of analytics implementation: the initial transition to server-side tracking, preservation of ad click parameters, and visitor identification across multiple websites. All three features are described in Stape's official November 9 release notes.

Setup Wizard: AI-Powered Migration of Existing Tags to Server-Side GTM

Setup Wizard is Stape's tool for automating Google Tag Manager configuration. It helps create web GTM and server GTM configurations, prepare the necessary tags, and connect browser-side tracking with server-side tracking. Version 5.22 introduces a new AI-powered sGTM migration feature for websites that already use a browser-side GTM container for analytics.

Previously, migrating to server-side tracking required a manual analysis of the existing configuration. Specialists had to determine which events and parameters were being sent to GA4 and advertising platforms, prepare the corresponding server-side tags, and configure data transmission between containers. The new feature scans the existing web GTM container, analyzes the tracking configuration for Google Analytics 4, Google Ads, and Meta, then adapts it for server-side processing and configures the corresponding sGTM container.

The key feature of this update is that it preserves the existing tag logic and event structure. For example, if an online store already sends view_item, add_to_cart, and purchase events to GA4 and uses Google Ads and Meta conversions, Setup Wizard should adapt this configuration for server-side tracking without requiring the events and their parameters to be redesigned.

This reduces the amount of manual configuration required when migrating an existing website. However, Stape does not claim that AI migration automatically verifies the accuracy of all analytics or guarantees identical measurement results before and after migration. After setup, it is still necessary to verify that events, identifiers, and parameters are transmitted to the appropriate platforms.

Click ID Restorer: Recovering Custom URL Parameters

Click ID Restorer is a Stape power-up for recovering advertising click identifiers that browsers with tracking restrictions may remove from URLs. The tool was originally designed for gclid from Google Ads and msclkid from Microsoft Ads. It uses backup URL parameters: the identifier value is passed under a different name, and the power-up then restores the required parameter for attribution processing.

For example, Google Ads allows the {gclid} value to be passed through an additional parameter in the Final URL suffix. If the browser removes the original gclid but retains the backup parameter, Click ID Restorer can recover the value for further processing in server-side GTM. This mechanism helps reduce the loss of click identifiers needed to associate an ad click with a subsequent conversion.

In version 5.22, Click ID Restorer gained support for custom parameters, including UTM parameters. Previously, the mechanism was limited to standard Google Ads and Microsoft Ads identifiers, but it can now also be used with additional parameters in the tracking configuration.

This expands the options for preserving visit-source data when using URL parameters. For example, if an advertiser uses custom parameters to identify a campaign or traffic source, these can be included when configuring recovery instead of limiting it to gclid and msclkid.

However, Click ID Restorer cannot independently recover a value that has been completely lost and was not retained in a backup parameter. The mechanism requires the relevant values to be transmitted and mapped correctly in Stape.

User ID Power-Up: A Shared Identifier Across Multiple Domains

The User ID power-up is a Stape tool that adds a stable hashed user identifier to requests processed through server-side Google Tag Manager. This identifier can be used to link visitor events and interactions within the configured tracking system.

The previous identifier generation logic included the hostname, or the website's domain name. As a result, the same user could receive different identifiers when visiting different domains. For companies operating multiple websites, this made it more difficult to associate interactions within a single user journey.

Version 5.22 introduces a Cross-domain ID setting that enables identifier generation without including the hostname. As a result, the generated value no longer depends on the domain where the interaction occurred.

For example, a company may use its main website to present its services and a separate domain for checkout. With a consistent identification configuration, Cross-domain ID allows requests from both websites to use a compatible identifier instead of generating different values solely because the domains differ.

This change is useful for analyzing user journeys that span several websites belonging to the same company. However, excluding the hostname does not in itself mean that every visitor can automatically be recognized across devices or browsers. Matching still requires the appropriate input data and a correctly configured tracking setup.

Other Changes in Version 5.22

The release also includes updates to Stape's interfaces and user dashboard. The blog now has an Events section for conference and webinar materials, the solution pages have been redesigned, and the account switcher has moved to the top of the app interface. Stape has introduced dedicated informational pages for sGTM container errors instead of standard browser messages. The company also reported ten bug fixes. These changes improve platform usability and do not directly change the mechanisms for configuring events, advertising attribution, or user identification.

Sources

Monthly Overview

Stay ahead of the market. Every month.

Our practitioners pick the TOP 10–20 news from the world of Paid Media and MarTech for the month.

10–20Top news / month