Google Analytics User ID feature

This section allows you to add the customer data to the datalayer.

The options of this section:

Add User ID to the DataLayer

Add variables "userId" and "userLogged" to the DataLayer.

Add User ID to the DataLayer for guests

Variable "userId" is set with guest_[GUEST_ID] when the user is a guest. This option allows tracking of users not logged across multiple sessions.

Async loading of user info

If you have a full-page cache system, you will need to load user information asynchronously.

Last updated