Friday, 15 August 2014

php - How can I determine a first-time hit in Wordpress? -


For analytics purposes, I need to determine that a user is the first visitor and some outputs to javascript .

Preferably I can do it with the theme editor, I do not want to edit the code, but if this is the best way to get it, then it is fine.

I was thinking something with the session, but it seems that I have to hack some code to use Wordpress session.

Any thoughts? Thanks!

I think a plug-in is present which you are looking for if I ask your question I think okay.


No comments:

Post a Comment