How do I track my user activity?

How do I track my user activity?

To add a third-party tracking embed to your signup page, login page, or dashboard, select the Integrations tab.


Copy the code snippet from your third-party tool and paste it in the header or footer. 



Map user properties to the variables per the third-party tool's instructions and include these in the code snippet. 

Example:
analytics.identify("{{user.id}}", {
email: "{{user.email}}"
firstName: "{{user.firstName}}",
lastName: "{{user.lastName}}",
});

Select “Save”.






Advanced Option: Query String Parameters

Use this variable to map the query string parameters and collect data.
Query String Parameter {{qs.param}}*
*Replace "param" with the actual query parameter.

Example: {{qs.utm_source}}, {{qs.utm_medium}}, {{qs.utm_campaign}}

1. Copy the code snippet from your third-party tool
2. Paste it in the header or footer
3. Map query string parameters to the variables per the third-party tool's instructions and include these in the code snippet.

Example:
ga("sent", "event",
"{{qs.utm_source}}",
"{{qs.utm_campaign}}",
"{{qs.utm_medium}}");

4. Select "Save"