just added a conditional, it serve to add the visits cookies if it's not...

... alread there

It is my first pull request,

I followed the tutorial and There was no way I could get the visits cookies to be set first through the browser only.

sry, I added a new line at line 149,  I really don't know how to revert it.