Exit page. Where do my users go?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vijay@kcm.edu.np

    Exit page. Where do my users go?

    Is there a way using javascript (or anything else) to know where the
    users go after they leave my page? Like "Do you want to navigate
    away ..." does a good job of alerting people no matter how they want
    to navigate away, clicking on links, clicking on bookmarks, typing new
    URLs etc, can I know where they go when they exit my page?
  • Tim Williams

    #2
    Re: Exit page. Where do my users go?

    No. Unless they go to another of your pages.

    Tim

    <vijay@kcm.edu. npwrote in message
    news:c0398d61-2282-4f0c-b961-3d9297674681@34 g2000hsh.google groups.com...
    Is there a way using javascript (or anything else) to know where the
    users go after they leave my page? Like "Do you want to navigate
    away ..." does a good job of alerting people no matter how they want
    to navigate away, clicking on links, clicking on bookmarks, typing new
    URLs etc, can I know where they go when they exit my page?

    Comment

    • VK

      #3
      Re: Exit page. Where do my users go?

      On May 1, 5:51 am, vi...@kcm.edu.n p wrote:
      Is there a way using javascript (or anything else) to know where the
      users go after they leave my page? Like "Do you want to navigate
      away ..." does a good job of alerting people no matter how they want
      to navigate away, clicking on links, clicking on bookmarks, typing new
      URLs etc, can I know where they go when they exit my page?
      No, because that would be a rude violation of users surfing privacy,
      so such mechanics is blocked. Withing your own side you could use page-
      specific cookies so the next page could check such cookie to see what
      page user came from.

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Exit page. Where do my users go?

        vijay@kcm.edu.n p wrote:
        Is there a way using javascript (or anything else) to know where the
        users go after they leave my page? Like "Do you want to navigate
        away ..." does a good job of alerting people no matter how they want
        to navigate away, clicking on links, clicking on bookmarks, typing new
        URLs etc,
        Don't do that, then.
        can I know where they go when they exit my page?
        No, because client-side scripting was not invented for the purpose of spying
        on people or for annoying them in other ways.


        PointedEars
        --
        realism: HTML 4.01 Strict
        evangelism: XHTML 1.0 Strict
        madness: XHTML 1.1 as application/xhtml+xml
        -- Bjoern Hoehrmann

        Comment

        • Lasse Reichstein Nielsen

          #5
          Re: Exit page. Where do my users go?

          vijay@kcm.edu.n p writes:
          Is there a way using javascript (or anything else) to know where the
          users go after they leave my page?
          Generally not.
          Why would you need that?
          Like "Do you want to navigate away ..." does a good job of alerting
          people no matter how they want to navigate away, clicking on links,
          clicking on bookmarks, typing new URLs etc,
          That would be the "onunload" event? It's nonstandard, but I guess it works.
          can I know where they go when they exit my page?
          Only if they follow a link on your page.

          The easiest way to achieve it would be changing each link to a redirecting
          page. I.e., instead of "http://www.example.com/", the link is
          "http://www.mydomain.co m/redirect?to=htt p://www.example.com/" and that
          page records the passing user and returns a redirect status (301).

          It does slow the browsing down slightly, and people can become very
          annoyed at crap like that.

          Another, worse, approach is to have each link trigger some javascript
          that sends a XMLHttpQuery request and delays the user for long enough
          to get it off, e.g., using an onunload annoyance (you don't need the
          response anyway).



          All in all, stop spying on your users. We don't like it.

          /L
          --
          Lasse Reichstein Nielsen - lrn@hotpop.com
          DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
          'Faith without judgement merely degrades the spirit divine.'

          Comment

          • Thomas 'PointedEars' Lahn

            #6
            Re: Exit page. Where do my users go?

            Lasse Reichstein Nielsen wrote:
            vijay@kcm.edu.n p writes:
            >Like "Do you want to navigate away ..." does a good job of alerting
            >people no matter how they want to navigate away, clicking on links,
            >clicking on bookmarks, typing new URLs etc,
            >
            That would be the "onunload" event? It's nonstandard, but I guess it works.
            The `onunload' event _handler attribute_ is specified in W3C HTML 4.01, a
            Web standard:



            The _`unload'_ event is specified in W3C DOM Level 2 Events, a Web standard
            (which supersedes the definitions in HTML 4.01):




            PointedEars
            --
            var bugRiddenCrashP ronePieceOfJunk = (
            navigator.userA gent.indexOf('M SIE 5') != -1
            && navigator.userA gent.indexOf('M ac') != -1
            ) // Plone, register_functi on.js:16

            Comment

            Working...