Blog

Use Stape Power-Up alternatives in SprTags

Most Power-Ups solve patterns you can implement in a Custom Template or rely on built-in SprTags features.

Stape sells Power-Ups as add-ons to their hosted sGTM. Many of them solve common patterns in custom code, which means you can replicate the functionality in any sGTM container, including SprTags, with a Custom Template or built-in feature.

Power-Up: GEO Headers

Adds country and region headers to incoming requests based on IP. Replication: SprTags exposes geo headers natively (x-appengine-country and similar). Read them with getRequestHeader() in any tag template.

Power-Up: Custom Loader

Lets you serve gtm.js with a custom file path and randomised name. Replication: configure the path in the Web Container client settings and use a Custom Variable to generate a randomised loader filename per environment.

Power-Up: First-Party Cookie

Sets and reads first-party identity cookies. Replication: native to sGTM via the setCookie API. The SameSite, Secure, Path settings are documented separately.

Power-Up: User Agent

Parses user agent into device, browser, OS components. Replication: write a Custom Template that uses regex matches against the user agent string. Or skip parsing and forward the raw string; most destinations parse it themselves.

Power-Up: HTML Renderer

Lets your sGTM serve HTML responses (for pixel tracking, redirects). Replication: in a Custom Template, use setResponseBody() with HTML content and setResponseHeader('Content-Type', 'text/html').

Power-Up: Owned DNS

Lets you provide your own DNS instead of using a CNAME to Stape's hostname. Replication: SprTags ships with custom domain support out of the box. Set up the CNAME and you are done.

When Power-Ups are worth paying for

If your team's preference is "do not write code, even template code," the Power-Ups model is reasonable. Each one is a few dollars per month, configured through a UI. The trade-off is vendor lock-in: replicating a Stape-specific Power-Up if you ever migrate is more work than building the equivalent yourself in the first place.

For SprTags users, the equivalent of most Power-Ups is either built in or a Custom Template. The Custom Template marketplace has many of the same patterns published as free templates.