Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed Tutorial from page title

...

This tutorial shows you how to create a custom cookie trait without writing any Java code. All you need is to configure a custom cookie trait and write some FreeMarker and JavaScript code. 

Table of Contents

Example use case

In this tutorial we use a common business use case as an example. We create a custom cookie that is used to personalize a component based on the number of times a user visits a specific page. On the assumption that more page visits mean an increasing interest in our product, we progressively display personalized components offering incentives and discounts to entice the user to make a purchase. 

...

Cookies can be used to create just about any kind of personalization feature and you can adapt the example to suit your needs or use it as inspiration for your own custom cookies. 

Tutorial structure and work method

The tutorial uses the Enterprise Edition Pro demo bundle and is divided into two sections: 

...