Stape/Documentation

Stape’s SDK integrations: use cases and benefits

While Stape’s app integrations are ideal for websites, Stape SDKs are built to bring server-side tracking (SST) to environments where GTM can’t be used directly. With SDKs, you can send events and data directly to server-side Google Tag Manager (sGTM) containers from non-browser sources. This is crucial for complete user tracking, especially in mobile apps or backend systems:

Why use Stape’s SDK integrations?

SDKs are essential when there’s no access to a browser and thus no way to run GTM scripts. They allow you to generate and send events in the correct format straight from your app or server to your GTM container.

If you don’t want to rely on the web version of GTM or you need to collect data from places outside of the browser (e.g., purchase events processed server-side), SDKs give you that flexibility.

Benefits of Stape’s SDK integrations

  • Enable SST in mobile apps: track in-app purchases, screen views, and user behavior on iOS/Android.
  • Support backend systems: send server-side events directly from your application server.
  • Bypass browser restrictions: SDKs are unaffected by browser limitations like cookie blocking or ad blockers.
  • Custom control: developers can send exactly the data they want, when they want.

Common use cases

  • Mobile app tracking: SDKs allow full tracking in mobile environments, enabling accurate event data collection from iOS and Android apps. Perfect for in-app purchases, onboarding flows, and engagement tracking.
  • Server-side purchase tracking: when purchases are confirmed on the server (not in the browser), SDKs help ensure these events still reach GTM, improving attribution and analytics accuracy.
  • Hybrid tracking setups: combine client- and server-side tracking by sending critical events (like logins or form submissions) from both frontend and backend for accuracy (just ensure that you have deduplication enabled to avoid overreporting.)
  • Ad platform integrations: platforms like Facebook or Google benefit from server-verified events. SDKs allow you to forward such events through GTM to these platforms securely.

Stape SDKs are the foundation for SST in environments where standard GTM is unavailable. Whether you're tracking mobile app behavior or sending data from your backend, SDKs ensure your data still gets where it needs to go.

Comments

Can’t find what you are looking for?