1234567891011121314151617181920212223 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title> Sample Widget</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <script language="javascript" type="text/javascript" src="js/GoogleAnalytics.js"></script>
- <script language="javascript" type="text/javascript" src="basic.js"></script>
- <link rel="stylesheet" href="basic.css" type="text/css">
- <META NAME="Generator" CONTENT="Nokia WRT plug-in for Aptana Studio 2.0.0" />
- </head>
- <body onLoad="javascript:init();">
- <h2>Track actions:</h2>
- <div id="track_actions">
- <a href="#" onclick="tracker.trackEvent('Category 1', 'Action 1')">Category 1, Action 1, No label</a>
- <a href="#" onclick="tracker.trackEvent('Category 1', 'Action 2', 'Label 1')">Category 1, Action 2, Label 1</a>
- <a href="#" onclick="tracker.trackEvent('Category 1', 'Action 2', 'Label 2')">Category 1, Action 2, Label 2</a>
- <a href="#" onclick="tracker.trackEvent('Category 2', 'Action 1')">Category 2, Action 1, No Label</a>
- <a href="#" onclick="tracker.trackPageview('/path/to/somepage.php')">Track PageView test</a>
- </div>
- </body>
- </html>
|