Search Engine Optimization

eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
Business & Money
Technology
Women
Health
Education
Family
Travel
Cars
Entertainment
SD Editorials
Online Guide and article directory site.
Foodeditorials.com
Over 15,000 recipes & editorials on food.
Lyricadvisor.com
Get 100,000 Lyric & Albums.
  • Business & Money
    • A Guide to Business
    • Guide to Finance
    • Ideas for Marketing
    • Legal Guide
    • Guide to Insurance
    • Lettre De Motivation
    • Guide to the Stock Market
    • Human Resource Career
    • Sales Marketing
    • Forex & Trading
    • Advertising & Marketing
    • Startup Guide
  • Technology
    • Guide to Technology
    • Cell Phones
    • Computer Software
    • IT Hardwares
    • Internet
    • Online Security
    • Cameras
    • Search Engine Optimization
    • Science & Technology
  • Women
    • Guide to Women
    • Relationship Advice
    • Marriage
    • Jewelry
    • Pregnancy
    • Fashion Style
    • Divorce Guide
    • Wedding Guide
    • Dating Guide
    • Natural Beauty
  • Health
    • Guide to Health
    • Guide to Medical
    • Plastic Surgery
    • Weight Loss
    • Sports
    • Body Wellness
    • Cancer Treatment
    • Common Illness
    • Health & Lifestyle
  • Education
    • Military Service
    • Politics and Policy
    • Arts & Humanities
    • Education and Teaching
    • Learn Languages
    • Colleges & Universities
  • Family
    • Quality Home Improvement
    • Hobbies and Interests
    • Family Guide to
    • Pet Guide
    • Loans Guide
    • Credit Cards
    • Gardening Guide
    • Home Security
    • Real Estate
    • Home Decor
    • Gift & Present
  • Travel
    • The Travel Guide
    • Adventure Travel
    • Cruise Ships
    • Beach Holiday
    • Travel Accommodation
    • Holiday Destinations
  • Cars
    • Information on Cars
    • Traffic Violations
    • Auto Insurance
    • Trailers
    • Sport Cars
    • The Bikes
  • Entertainment
    • Entertainment Guide
    • World Music
    • Photo & Video
    • Television & Games

SEO: Creating Your Own Basic Web Statistics Database

    View: 
There are literally thousands of website statistics systems available on the Internet. Some provide complex analysis, whilst others provide very basic information. Sometimes simply due to whom your web provider is you may not be able to install your own statistics applications. I will set out in this article to provide a very basic web statistics database that will allow you to catch whom is visiting your web site and where they are coming from.



The first step in the process of building your own web statistics database is to identify where you will store the statistical information you have collected. In this example, I have decided to store all the data in a Microsoft Access database. I basically created the database in Microsoft Access and called the database "dbStatistics".

The next step is to build a table in which you will store the data. The table in the database will be called "tblStatistics". The table needs five fields and the names are:

fldPageName DataType - Text 255 Characters

fldIPNumber DataType - Text 255 Characters

fldAll_Http DataType - Memo

fldAll_Raw DataType - Memo

fldTimestamp DataType - DateTime Default Value - Date() & " " & time()

The information above simply defines the type of fields each field should be set to and some specific field properties which will be important for this code to work. You will note that there are no primary key fields. The reason this is undertaken is that the AutoNumber function in Microsoft Access is to limiting in the volume of data that you can hold.

You will also notice that there is a field called fldTimestamp. This field allows you to store the exact local Date and Time the person visited your website. The local time is the time on your server that is hosting your webpages.

For this basic web statistic log to work, we now need to get the information into the database. The first thing you need is to ensure that your provider can in fact support ASP (Active Server Pages) pages. Most web hosting companies can support them, but it is worth checking.

We now need to add the code to each webpage that will log information on who is visiting your website and also which websites were referrers and the browsers they were using and what language they were searching in. You will find out all this information in both the fldAll_Http and fldAll_Raw fields.

The following code needs to be copied into the top part of your webpage before the HTML tag.

[%@ Language=VBScript %]

[%

on error resume next

'[-----------------WEBLOGGING START------------------------]

dim strpagename,strwho, stradvert

dim cn, strconnect

dim strip

dim strAll_http,strremote_addr,strall_raw

' The Field Below Tells you the page they visited

strPageName = request.servervariables("server_name") & request.servervariables("URL")

'The Field Below Tells you the visitors IP Numbers

strip = request.servervariables("Remote_Addr")

'The fields below contain all the information such as the website

' that referred them to your page etc.

strAll_http = request.servervariables("ALL_HTTP")

strall_raw = request.servervariables("all_raw")

set cn=server.createobject("adodb.connection")

'This code connects to your database

strConnect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/_private/dbstatistics.mdb")

cn.open(strConnect)

'This code inserts the collected information into your database

cn.execute "insert into tblstatistics(fldpagename,fldipnumber,fldAll_http,fldAll_raw)values('" & strPageName & "','" & strip & "','" & strall_http & "','" & strall_raw & "')"

cn.close

'[------------------WEBLOGGING END -------------------]

%]

The Microsoft Access Database must be stored into the _Private folder on your website. If you do not put the database in that position, anyone who visits your website could in fact download your statistics. Apart from that this code will not work. The danger of allowing someone access to your web statistics database is that your competitors could find out who is visiting your website and from where and as such this is really a serious business intelligence issue.

The code shown above has a number of pieces of information that is really useful in working out what is going on with your website. In the field fldPagename the actual page that a person is visiting is stored. In the field fldipnumber the IP number of the visitor is stored. Between these two pieces of information you can find out how a person has entered the site, what they have visited and also with the field fldTimestamp you can work out how long they looked at each page before they moved onto the next one.

The field fldipnumber contains powerful information. On the internet there are a number of lists of who owns what IP Numbers and also which countries they have been assigned to. By collecting the IP Numbers and in conjunction with the IP Database we can work out from what countries people are visiting our website. We can get detailed information to the point of which cities and even the ISP's who are providing the IP Numbers. With this information it allows us to setup our web pages to be in line with the characteristics and attributes that are standard for that country.

Using a Microsoft Access Database as your datastore means that you can manipulate the data and filter it to find out how people are visiting your website and who is referring them. This information is stored in the fldAll_Http and fldAll_Raw fields. These fields will also contain important information such as what browsers and operating systems people are using to visit your website. For example not all browsers interpret HTML in exactly the same way. So if you found that 90% of your customers were in fact using the browser SAFARI which is the Apple Browser then you would be developing your website for this customer base and browser. If 90% of your customers were using Firefox then you would develop your web pages taking into account the idiosyncrasies of that browser.

There is a lot of powerful information contained in these logs and I strongly encourage you to get some Microsoft Access Database Development Experience that will help you analyze the logs even further than what has been discussed in this article.

Remember one thing, when it comes to SEO or Search Engine Optimization it is the web logs that will tell you everything about your visitors and whether or not your SEO Strategies are in fact working.

.
More Articles from
SEO Search Engine Optimization Pg45
Buy Guaranteed Web Site Traffic
Career Opportunities In Nigeria
Google Images Advanced Search
Google Top 10 Ranking
Services India Private Limited
Web Design Part Time
Guide to Choosing the Perfect Ethical SEO
Grow Your Site With Organic SEO And Rip The Benefits
Gurus Secrets Exposed: 9 Simple Steps For Organic Listings In SEO
Googles SEO Advice For Your Website: Content
Grab SEO Skills through SEO Course
Googles SEO Advice for Your Website
Grant a Tight Hub on SEO Delhi
Grow Your Awareness with SEO
Guidelines For The Seo Beginners
Great Seo Secrets
Harrisburg SEO pricing
Great SEO results through relevant keywords
Googles say on SEO companies-00-809
Great Tips To Win SEO Contest
» More on
SEO Search Engine Optimization
  • Related Articles
  • Author
  • Most Popular
Chris Le Roy has sinced written about articles on various topics from Travel and Leisure, Asthma and Asthma. If you would like to download sample files for this project simply visit - . For more information on I. Chris Le Roy's top article generates over 40500 views. to your Favourites.
Cash Advance Interest Rate
You can save yourself money by researching fees. Lenders have to disclose loan costs before you sign a contract, so request them before applying
 
A Guide to Business | Guide to Technology | Guide to Women | Guide to Health | Family Guide to | Travel & Vacations | Information on Cars

EditorialToday Search Engine Optimization has 1 sub sections. Such as Search Engines. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors