Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

API: Remove profile if sending new tracking record with same deviceId / different email

Found in

EPiServer.Profiles 1.3.2

Fixed in

EPiServer.Profiles.Client 1.5.0

(Or a related package)

Created

Feb 07, 2018

Updated

Aug 06, 2018

State

Closed, As Designed


Description

Steps to reproduce

1. TrackingAPI: Sending a tracking record which has information to create a new profile:

{
  "user": {
    "name": "user1x",
    "email": "user1x@ep.se"
  },
  "deviceId": "1x",
  "eventType": "eventType1",
  "value": "value1"
}

2. ProfileAPI: Create a new profile withe email: user1x@ep.se and deviceId = 1x -> OK

3. Sending a tracking record with the same deviceID but a different email, like this:

{
  "user": {
    "name": "user2x",
    "email": "user2x@ep.se"
  },
  "deviceId": "1x",
  "eventType": "eventType1",
  "value": "value1"
}

Actual: The profile in step1 is deleted and a new profile is create with the email: user2x@ep.se and deviceID = 1x
I don't know whether it is a bug or not. Because we have a functionality about consolidation by deviceID (It allows detection of all actions belonging to a user after the user logs in).