Forum Moderators: DixonJones

Message Too Old, No Replies

Can I run stats just on a subdirectory?

Client requested it and the sales guy said "sure" . . .

         

Web Marketing

8:42 pm on Dec 13, 2002 (gmt 0)


This is my dilemma:
My company is working with a real estate agency. They want to set up individual agent pages that have all the functionality of the rest of the site (homesearch, open houses, agent listings, etc.), under the framset of the agent info, not the company's info. However, in order to sell this feature to their agents, they would like to have stats for each agent's page (site) and activity.

Currently, the site is built in php, so the actual agent page is: site.com/agentmain2.php?fm_agentid=38. We are implementing a mod-rewrite so that the page will then be called site.com/agentname.htm.

Is there a way to track stats just on each agent's subdirectory, as if it were the main site? Or is it possible to host the individual agent sites in a subdomain?

sugarkane

11:50 am on Dec 16, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld Web_Marketing

It depends on which stats package you're using. Many will allow sub-reports of individual directories within the main report, which would be a step in the right direction.

Alternatively, if you have access to your raw logs, you could prefilter the logs by agent name (exactly how depends on your server, OS etc) creating seperate logs for each agent, before passing them to your stats package.

If setting up subdomains for each agent is a feasible option, this might be the best way to go as each subdomain could be configured as a seperate site with individual logs etc.

Sorry if this reply is a bit vague, but your options will really depend on your situation and preferences...