Install Analytics in Frameset page

Discussion in 'Google Analytics' started by josephting, Feb 25, 2010.

  1. #1
    Do anyone of you have any idea about this?

    
    <html>
    <head>
    <title>Loading...</title>
    <script type="text/javascript">
    function func1() {
    document.title="Title tag";
    }
    window.onload=func1;
    </script>
    </head>
    <frameset>
    <frame name="main" src="http://onlinemoneymaking.ws/recommends/500in15/" scrolling="auto" target="main">
    <!--You need the onload handler to make the javascript work-->
    <noframes>
    <body>
    Your browser does not allow frame set. <a href="http://abc.com">Click Here</a> to continue...
    
    <!-- Google Analytics Here -->
    </body>
    </noframes>
    </frameset>
    </html>
    Code (markup):
    Obviously, only if the browser doesn't support frameset will display the body tag. Therefore, analytics code will not be triggered at all.

    How can I install analytics on this page?
     
    josephting, Feb 25, 2010 IP