Custom parameters
To identify visitors via custom parameters, follow these steps:
This is useful for websites with membership systems. When users log in, you can specify their identifier (e.g. email, user_id, name) with our tracking code.
This helps you understand user behavior and identify any issues they encounter.
Add data-custom-parameters='{JSON_PARAMETERS_HERE}' as shown in the example:
<script defer src="https://dev.usermetric.io/pixel/12345678910111213" data-custom-parameters='{"name": "John Doe", "email": "john@example.com"}'></script>
If this parameter is provided, you will see the icon in the Details column for that visitor on the Visitors and Pageviews pages. Hovering it lists the parameters you sent.
If you need more information or have any questions, please contact us.
Contact