Stape sGTM iOS SDK

We integrated the Stape iOS SDK using startFBTracking() to intercept Firebase Analytics events and send them to our ssGTM container.

What works:
Events are being sent to the server successfully
Server responds with status 200 and unique_event_id

Console log example:

data: {"response":{"status_code":200,"body":"{\"timestamp\":1775470771,\"unique_event_id\":\"1775470770922_497656358\"}"}}

The problem: In ssGTM Preview mode, these requests appear as “Request” without event name, and Event Data tab shows:

“This request did not generate any events”

The Data Client (Stape template from GitHub) receives the request but does not generate any GTM events from it.

Questions:

  1. Is Data Client compatible with events sent via startFBTracking()?
  2. What ssGTM Client should we use to process Firebase events from iOS SDK?
  3. Do we need additional configuration in ssGTM to handle this format?

Setup:
iOS SDK initialized with Stape.start() + Stape.startFBTracking()
Server URL: https://infobus.eu/sgtmstapestat

Data Client path configured: /sgtmstapestat

Thank you!

Hi,

From what I can see based on the information you’ve provided.

  • Data client did not receive the request.
  • https://infobus.eu/sgtmstapestat is your same-origin custom domain. And you have specified your same-origin /path in Data Client without specifying your original custom subdomain ‘sgtm’ before the domain.

What you can try is sending a request to https://sgtm.infobus.eu/sgtmstapestat, as you have already specified /sgtmstapestat in the Data Client.
Alternatively, you can remove it from the Data Client and send a request to the default /data.