Jump to content

Track visits whit a "variable"


mcwito

Recommended Posts

Hello, I want to buy some traffic on "trafficholder".

 

This site have a large network of sellers and you paid for traffic niche, country, etc...

 

so just to know if they send me the correct amount of traffic I though on give they an URL like this:

 

www.mysite.com/?ref=traffic

 

so all traffic sent there will be counted.

 

whit this method I can I can differentiate that traffic is normal and what is from trafficholder (they send traffic from many many sites so it's difficult to track it whit google-analytics for example)

 

do you know guys how to do it?

 

if you can do a script for me (I think it's simple but my php knowledge is 0) I'll appreciate!!!

 

Thanks in advance

Link to comment
Share on other sites

What you are wanting to do is called "campaign tracking" in the analytics worlds.  Google Analytics does this sort of thing very well.  You even use URL parameter(s) just as you have described.  You can go to GA's URL Builder tool to get started, and follow the relevant links on the page to learn how to see the data within GA.

 

If you insist on doing it yourself, the core script is relatively simple.  Just setup a database with 2 columns, one for campaign code and one for number of hits.  Then on your page, look for the variable and update your table accordingly.  GA does a lot more than this, and consequently offers you a lot more insight than just answering the basic "how many people came to my site on this code?" question, but if that's all you're looking to do...well I would still suggest you do it with GA if you already have GA on your site because why reinvent the wheel?

Link to comment
Share on other sites

What you are wanting to do is called "campaign tracking" in the analytics worlds.  Google Analytics does this sort of thing very well.  You even use URL parameter(s) just as you have described.  You can go to GA's URL Builder tool to get started, and follow the relevant links on the page to learn how to see the data within GA.

 

If you insist on doing it yourself, the core script is relatively simple.  Just setup a database with 2 columns, one for campaign code and one for number of hits.  Then on your page, look for the variable and update your table accordingly.  GA does a lot more than this, and consequently offers you a lot more insight than just answering the basic "how many people came to my site on this code?" question, but if that's all you're looking to do...well I would still suggest you do it with GA if you already have GA on your site because why reinvent the wheel?

 

WOW! I did not know that GA had that!

 

thank you, I'll take a look

Link to comment
Share on other sites

The problem whit GA is the statistics are not live...

 

I need live results.

 

Yes, there is about a 24 hour delay.  But I don't believe you when you say you "need" live results.  Especially if you are already using GA...that 24 hour delay applies to everything else you are looking at already.  I happen to do web analytics for a living.  I have yet to meet a single client who "needed" live results.  Bosses expect reports at most on a weekly basis, but usually monthly, quarterly or yearly.  Big difference between need and want.  But if you somehow think you are the exception, there are other tracking tools out there besides GA that are live.  Yahoo Web Analytics and Omniture SiteCatalyst to name two.

 

How to code it manually?

 

Could you code it for me?

 

Dunno where you live but where I live it's not customary to ask someone to do work for free. 

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.