Identifying customers

How can I identify a customer?

Exponea automatically creates an anonymous customer when the method initialize() is called for the first time on a device. These customers are identified by a generated cookie which means that subsequent sessions within a single device will be tracked to the same customer.

However it is also possible to track a single customer across more platforms or devices and for example connect events customers make in the Android and iOS version of your business. To achieve this you must identify the customer by a custom identifier (e.g. email) every time it is possible (for example when the  customer logs in with Facebook).

To identify a customer you should use the method identify() of the SDK that you are using.