Results 1 to 6 of 6

Thread: How Track Visitor Using HTML?

  1. #1
    Join Date
    Dec 2013

    How Track Visitor Using HTML?

    How Track Visitor Using HTML? Any third party plugins available?

  2. #2
    Join Date
    Feb 2013
    I'm assuming something like how Facebook or Google track people? They are tracked by cookies, for example when a person fills out the profile page on Facebook or a person likes a particular page that info is probably (I would bet it would be safe to say that it does) put in a cookie session. Then a 3rd party will use that information to see if it would be wise to show you an advertisement based on you likes or profile. For example supposed you liked Crazy Joe's Skydiving School,an advertisement might pop-up on you FB page about skydiving schools in your area. It not strictly done by HTML, for it probably done through server side programs such a PHP for example. As for 3rd party plugins? Best bet is to do an internet search. Maybe something like "Plugins to track visitors to a website" or something like that. An see what comes up.
    Last edited by Strider64; 12-27-2013 at 01:06 PM.

  3. #3
    Join Date
    Mar 2012
    The easiest way to track user visits is to use Google Analytics. Sign up and Google provide a snippet of JavaScript to embed in each web page you want information on.

  4. #4
    Join Date
    Dec 2013
    You can't track visitors using HTML! You can save some information in cookies, but you can't set cookies using only HTML. You have to use for example javascript (client-side) or sent proper headers with for example php (server-side), or use both. You can track visitors without setting cookies, but it require using some additional tools (js, php), not only HTML. You can write your own code (are you familiar with js or php?) or use third parties code (like Google Analytics).

  5. #5
    Join Date
    Mar 2007
    The question is why do you need to track a user?

    If you want to do it reliably then you should employ a database that logs every request via an IP addres (and yes I am aware that some IP addresses are shared) but then you build data on what user by an IP address has viewed across your site and you have a sequence of page hits and from that you can find how many visiotrs online, over a set time period and so on.

    Cookies in the UK and EU are something that requires the users authority to accept and you have to say how these cookies are used, it is a legal requirement.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  6. #6
    Join Date
    Aug 2013
    Phoenix, AZ
    Quote Originally Posted by jedaisoul View Post
    The easiest way to track user visits is to use Google Analytics. Sign up and Google provide a snippet of JavaScript to embed in each web page you want information on.
    I agree with what he said.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles