Reputation: 2584
I have a requirement like below.
I want to get it considered as a single visit. so it can be tracked in analytics or wordpress-jetpack-stats as a single visit.
If this is not possible, Please give me possible solution to do this through PHP.
Upvotes: 0
Views: 299
Reputation: 2612
It will depend on how the target server considers "visits". If it's by IP, then there's nothing special you need to do. If it's by cookie, then you want to make sure you extract the cookie info from the initial request, then send those cookies back with the followup request.
Check out the cookie options in curl_setopt
.
Upvotes: 1