Profiles

In Tweakwise, attributes can be configured to be used to build a customer profile.

For example, to build a personalization profile for our demo merchandising shop, where you want to add weight to color and fit. Configure color, fit or gender as measures and dimension these on product-group. The personalization matrix in our demoshop visually represents these segments.

Weight

For each event, we assess its impact by assigning a weight to relevant measures and dimensions.

EventWeight (initial)
Click product1
View product1
Purchase1
Search1

Half life

The weight of each measure or dimension is influenced by the frequency of events associated with them.

To ensure that our recommendations remain relevant, we apply the concept of half-life to these weights. Over time, the relevancy of a measure or dimension decreases according to its half-life.

If the relevancy of a measure or dimension falls below a threshold of 0.0001, it is considered no longer significant. At this point, the measure or dimension is removed from the personalization matrix.

This approach ensures that only the most relevant attributes are used in creating personalized experiences for our customers.

Example: View Tweakwise Hoody 2 times in a day

DayActionWeight
0productView Tweakwise Hoody1
0productView Tweakwise Hoody2
0Calculate relevancy2
1Calculate relevancy1
2Calculate relevancy0.5
3Calculate relevancy0.25
...
15Calculate relevancy0.0001

Retention

Profiles are automatically deleted after a certain time of inactivity. The retention of profiles is determined by the maximum number of profiles allowed in your account. For instance, if your account allows up to 100,000 profiles, the addition of a new profile will trigger the deletion of the longest inactive profile once this limit is reached.

Profile keys

Customer identification is done through a profile key. This is our way to identify your customers using a unique identifier.

📘

Format

The profile key should be a string that only contains alphanumeric characters. Accepted characters: A-Z a-z 0-9

You can determine the profile key yourself. Generally account id's are used for logged-in users and visitor-id's for anonymous users.

If no profile key is supplied, our Tweakwise Analytics JS will generate a unique identifier for the current user.

🚧

Warning

The use of personal information such as email addresses, phone numbers, or other personal information as profile keys is not permitted in order to comply with GDPR guidelines.

Only use anonymized data such as ID numbers or hashed values. By following the GDPR guidelines, you meet the requirements for the protection of users and data.

Good to know

  • Out of the box, Magento does a lot of caching for pages and elements. To make sure personalization works together with our extensions and your platform you’ll need to use a caching proxy; for example Varnish Cache. This way, products will show up in the right places.
  • Our examples use a literal PROFILEKEY. Make sure this is not a fixed value: this should be a unique identifier for every visitor.
  • The profile key has a maximum length of 128 characters.
  • To make cross-device tracking work, make sure the visitorid is connected to the account user-id when the user is logging in.