This guide explains how to integrate Userorbit into your website using Google Tag Manager, covering tag creation, snippet deployment, trigger configuration, and user identification via the data layer.
Load the Userorbit workspace snippet through a Google Tag Manager Custom HTML tag.
Create the tag
- Copy the HTML snippet from Settings → Widget installation.
- In GTM, create a Custom HTML tag.
- Paste the snippet.
- Use an All Pages trigger unless your implementation requires a narrower scope.
- Save and test in GTM Preview.
Identify users
Expose only the required user ID, email, name, and approved attributes through Data Layer variables. Calluserorbit.identify() after those values are available; do not place secrets in the data layer.