Jump to content

track returning visitors


mga_ka_php

Recommended Posts

I use google analytics, they have everything to track traffic. But regarding the ip address, they only change if the user changes computer; making it a fairly good way to track them.

 

EDIT: Read the question wrong, cookies is what you want.

Link to comment
Share on other sites

$Yummy = $_COOKIE['choc_chip'];

 

Haha... I like your sig.

 

but back to the topic, I would only recommend using cookies if you have something that isnt really important to track, because the user can just clear cookies.. and well it goes down hill from there.

Link to comment
Share on other sites

No matter what the OP does there will be a work around, as with well, pretty much everything in the programming world it seems.

 

Cookies - you can clear them

Sessions - destroyed when the browser closes

IP - Dynamic IPs

 

etc

Link to comment
Share on other sites

what im trying to accomplish is that i have a website which some parts are restricted but users can view that restricted page 5 times.if more than 5, they need to register to access the restricted page.

 

But how do i track the returning visitors?

 

Currently, i used the ip address, but its not a solution because ip changes.

 

how do i accomplish this type of setup?

Link to comment
Share on other sites

what im trying to accomplish is that i have a website which some parts are restricted but users can view that restricted page 5 times.if more than 5, they need to register to access the restricted page.

 

 

 

Based on past experience I have found it is a bad business plan to "force" users to sign up. Make them "want" to sign up by giving them extended benefits.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.