Change website content based on behaviour

Q: Can I change the content of my site based on some basic behavioural properties?

A: Yes, this is possible: By reading the LeadBoxer cookies with javascript, you can get basic information like number of sessions and pageviews.


LeadBoxer cookies (yum ;)

There are 3 cookies set by the LeadBoxer JavaScript:

  1. A cookie orientated to keeping user data:

    _otui <random number client site>. <first visit start unix timestamp>. <previous visit start unix timestamp>. <current visit start unix timestamp>. <session count>. <life time event view count>

    example

    _otui 1279273569088.1279273569088.1279273569088.1.13

  2. A cookie orientated to keeping session data:

    _ots <session event view count>. <current visit start unix timestamp>. <previous event view unix timestamp>. <current event view unix timestamp

    example

    _ots 13.1279273569088.1279273785569.1279273833718

  3. A cookie orientated to keeping referrer data:

    _otr <session first referrer event view unix timestamp>.<referrer url>

    example

    _otr 1279273431384.http%3A//www.example.com/an/example/referrer.html

You can read the content of LeadBoxer cookie using javascript, make sure you split the data correctly before processing. See example below.

Example

Still need help? Contact Us

Last updated on May 28, 2019

Last updated