Identifying users by user-ID

Modified on Wed, 07 Jun 2023 at 04:10 PM

Identify users by setting a special user ID

To identify users by special ID, you can use a method in your application’s code to send custom parameters to CUX. When you’ll do that, a new icon will appear on the CUX visits list.


_cux.send(‘identity’, [‘example@email.com’, params]);

where “params” might be a string, for example, “John Doe”, or an object where you can pass any properties and values for more detailed segmentation, for example “{ name: ‘John Doe’, email: ‘demo@cux.io’, plan: ‘Trial’ }”


This code with the custom parameters will enable you to find visits with matching identities when you’ll be going through data filters.


Note: To ensure that your data flow is GDPR-compliant, you can send a user hash to CUX. In this case, only you (or your employees) will be able to link this user's data to internal systems within your organization.



Identify users with Google Analytics 4


You can capture the user ID from Google Analytics to combine the data collected in Google Analytics with behavioral data from CUX.


To do this, switch the CUX integration with Google Analytics 4 on. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article