cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Using Web Trends cookies as User Name recognition

tarjei_utnes
Organizer

Hi,

I was wondering if anyone has any experience in using the Web Trends Cookie WT_FPC as a user name identifier?

I tried to use it, but the client cache kept filling up.

This might have to do with the case that the cookies have two timestamps identifying the last visit, and one session identifier.

Any suggestions?

5 REPLIES 5

adam_piotrowicz
Dynatrace Pro
Dynatrace Pro

Why not to apply a regex to it?

If I correctly understand that id is a username and lv and ss are timestamps then:

id=(.*):lv-.*

regex should do the trick.

tarjei_utnes
Organizer

Thank you Adam,

I did just that. It seems to work better:

 

(id=[a-z0-9\-\.]*) is the regex i used.

OK, the question is which part of the result you want and don't want to report ...

Round brackets tells the AMD what part of regex should be reported.

tarjei_utnes
Organizer

This is the string:

id=cc7811ed-f4f5-47db-a22f-ed9b813ea86a

Do you know why this regex picks out only this:

(id=[a-z0-9\-\.]*)

id=cc7811ed-

And this regex picks out this:

(id=[a-z0-9\-]*)

id=cc7811ed-f4f5-47db-a22f-ed9b813ea86a

I believe because escaping dot:

\.

casues that AMD treats it literally and the string does not contain a dot ...