bigtimslim Posted June 8, 2008 Share Posted June 8, 2008 I am releasing a site that is being promoted in a few different ways, some not online. I would like to track where visitors came from to see how well each promotion does. this would be easy enough if it were all online. I was thinking of using short subdomains to track in a db where offline promotion visitors came from. I figured it would be easier for a person to remember and use, for example, miami.sitename.com than www.sitename.com/index.pph?from=blah. I guess I would just store the info in a db and redirect. Is this a stupid way of doing this? Is there a better way? Quote Link to comment https://forums.phpfreaks.com/topic/109241-tracking-came-from/ Share on other sites More sharing options...
redbullmarky Posted June 8, 2008 Share Posted June 8, 2008 to be honest, with offline promotions, using subdomains in this way is probably your best bet - you're right when you say it's far easier to remember, because i personally wouldnt both with the query string if that was presented to me. Doesn't have to be subdomains though. A similar (though maybe easier to set up) is a method we use frequently at work - mysite.com/promoname where promoname is the short representation of your promo. eg: mysite.com/miami Quote Link to comment https://forums.phpfreaks.com/topic/109241-tracking-came-from/#findComment-560358 Share on other sites More sharing options...
bigtimslim Posted June 8, 2008 Author Share Posted June 8, 2008 That is way easier! I don't know why I was trying to make things more complicated with subdomains. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/109241-tracking-came-from/#findComment-560361 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.