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 (ex: 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://analytics.hacks.codes/pixel/12345678910111213" data-custom-parameters='{"name": "John Doe", "email": "[email protected]"}'></script>

If this parameter is provided, you will see the icon next to the visitor on the Visitors page, indicating they have been identified with custom parameters.