User ID and external id

You can try to combine your internal member ID with Stape’s anonymous identifier to ensure no visitor goes untracked. By using a fallback logic in your sGTM container, the system will switch IDs based on the user’s status, whether the user is known (using user_id) or anonymous (using X-Stape-User-Id). You may find the following links useful:

  1. Send dataLayer push from server GTM to web GTM - Stape
  2. User ID power-up | Stape
  3. X Stape User ID as External ID Facebook CAPI