Blog

Migrate from Stape Cloud to SprTags without downtime

A two-week parallel-run plan that lets you switch providers cleanly with no measurement gap.

Migrating an sGTM container between providers is mostly a DNS exercise: the container config is identical, only the runtime hosting changes.

Phase 1-2: provision and new domain

Sign up for SprTags, create a container in the same region, link to the same Google GTM workspace. Point a fresh subdomain at the SprTags tagging URL (e.g., data2.example.com). Original domain keeps pointing at Stape during transition.

Phase 3: send a small percentage

function() {
  return Math.random() < 0.05 ? 'https://data2.example.com' : 'https://data.example.com';
}

5 percent on SprTags. Compare event counts in GA4.

Phase 4: ramp up

5, 25, 50, 100 over a week. Watch for differences in event counts, latency, match rates.

Phase 5: rename

When 100 percent is on SprTags, change data.example.com CNAME to point at SprTags. After 48 hours, decommission data2.

Phase 6: cancel Stape

Once DNS is stable for two weeks, cancel. Replicate Stape Power-Ups as Custom Templates before phase 3.