Jump to content

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/109241-tracking-came-from/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/109241-tracking-came-from/#findComment-560358
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.