...

View Full Version : What does adding a ? to a URL do?



cineweekly.com
11-05-2011, 11:27 PM
From my limited understanding it looks like I would be able to essentially tag a URL to see where specific traffic is coming from. For example, would I be able to use the link : example.com?twitter and then in my analytics I would know those page views came from Twitter followers (assuming that's the only place the link appears)?

VIPStephan
11-06-2011, 12:08 AM
http://en.wikipedia.org/wiki/Query_string

cineweekly.com
11-06-2011, 05:22 AM
http://en.wikipedia.org/wiki/Query_string

So I'm right? I read the part about tracking and it seems to match up with what I said, I just would like confirmation that this is the way to do what I mentioned.
Or should I use anchor tags?

VIPStephan
11-06-2011, 02:20 PM
The parameters in the query sting can be and are (but not always) used to track access to certain pages or whatever since they can be passed to any server side script and then do something (e. g. store something in the database) based on that. That’s why you see URLs like http://example.com/whatever.php?ref=11279503 sometimes. The number in the “ref=…” part could, for example, be a certain promotion or a certain page or a link in an e-mail that’s clearly identifyable that way.

cineweekly.com
11-07-2011, 12:05 AM
Got it. Thanks.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum