Forum Moderators: open

Message Too Old, No Replies

How to show a message to returning visitors?

         

rlopes

3:16 pm on Feb 5, 2010 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hello,

I want to show a message on my website asking users for feedback, but I only want it to be shown to returning users. It would be even better if I could show it only to people who have come to my site at least say 5 times.

I have Google Analytics installed, and I can see it tracks user loyalty, so maybe is there a way to use Analytics variables to check whether a user is frequent or not?

edacsac

5:08 pm on Feb 5, 2010 (gmt 0)

10+ Year Member



I would use a cookie, and each time the cookie is accessed on a return visit, either modify the cookie to increment a visit count or create a database entry referencing the cookie and the incremental count. Your at the mercy of folks that clear or refuse cookies, but there are other referring variables you can analyze to possibly associate the visitor with a new cookie to the database count - the same variables that google analytics would use.