Skip navigation

CQ5

Currently Being Moderated

CQ55 Client Context user age

Jul 24, 2012 4:21 AM

Tags: #cq5.5 #client_context

Hi CQ people,

 

I've been experimenting with the Client Context in 55, and have noticed some inconsistencies regarding the Profile Data Context Store.

 

Firstly, if a user has an explicit 'age' profile property (but not a 'birthday')  then the context store will not pick this up (or rather, I think it get's overwritten somewhere in the javascript code which populates the context store object at the client). You should be able to see this by creating a new Geometrixx Online user and setting their age through the site's profile page...

 

Secondly, if a user does have an birthday, their actual age seems to be miscalculated by the client context - for example, aparker@geometrixx.info (birthday = 27th Feb 1992) is currently showing at 19 years old in the client context on my machine!

 

Has anybody else spotted this?

 

regards,

 

tom

 
Replies
  • Currently Being Moderated
    Jul 24, 2012 7:57 AM   in reply to tb7032

    I would be surprised if the Client Context was set up as intelligent enough to deduce age from birthday (or anything similar).  It's basically set up as an example/starting point from which you can work.  Generally speaking, unless customized, I would expect Client Context attributes to exist pretty independently of one another.  They just map to properties in a cookie.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 24, 2012 8:06 AM   in reply to Ryan Lunka

    This is a known issue. Generally the birthday property is the only thing we can rely on, and all age-based targeting should be based on birthday and calculate the correct age.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 24, 2012 8:16 AM   in reply to tb7032

    Right now, user age is not calculated (as Ryan wrote) but it should (as I wrote), so you will definitely see inconsistencies.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points