Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (40 sloc) 2.508 kb
627566e Eduardo Cereto Carvalho Add tests for html_markup
eduardocereto authored
1 <html>
2 <head>
3 <meta name="ga_vpv" content="/test_url" />
4 <meta name="ga_custom_var" content="1^Test1^TestA^1" />
5 <meta name="ga_custom_var" content="2^Test2^TestB^1" />
6 <meta name="ga_custom_var" content="3^Test3^TestC^2" />
7 <meta name="ga_custom_var" content="4^Test4^TestD^3" />
8 <meta name="ga_trans" content="1234^Acme Clothing^35.97^1.29^5^San Jose^California^USA" />
9 <meta name="ga_item" content="1234^DD44^T-Shirt^Green Medium^11.99^1" />
10 <meta name="ga_item" content="1234^DD45^T-Shirt^Red Medium^11.99^2" />
11 <script type="text/javascript">
12 var _gas = _gas || [];
13 _gas.push(['_setDebug', true]);
14 _gas.push(['_setAccount', 'UA-YYYYYY-Y']);
15 _gas.push([['_gasMeta']]);
16 _gas.push([['_gasHTMLMarkup']]);
17 _gas.push(['_trackPageview']);
18 _gas.push([['_gasMetaEcommerce']]);
19
20 (function() {
21 var ga = document.createElement('script');
22 ga.type = 'text/javascript';
23 ga.async = true;
24 ga.src = '../dist/gas.js';
25 var s = document.getElementsByTagName('script')[0];
26 s.parentNode.insertBefore(ga, s);
27 })();
28 </script>
29 </head>
30 <body>
31 <ul>
32 <li><div><a x-ga-event-category="TestCat" x-ga-event-action="Test Act" href="#">Minimal event On Anchor</a></div></li>
33 <li><div x-ga-event-category="TestCat" x-ga-event-action="Test Act"><a href="#">Minimal event On Div</a></div></li>
34 <li><div><a x-ga-social-network="TestNet" x-ga-social-action="Test Act" href="#">Minimal social On Anchor</a></div></li>
35 <li><div x-ga-social-network="TestNet" x-ga-social-action="Test Act"><a href="#">Minimal social On Div</a></div></li>
36 <li><div x-ga-event-category="TestCat" x-ga-event-action="Test Act" x-ga-event-label="Test Label" x-ga-event-value="30" x-ga-event-noninteractive="true"><a href="#">Full event On Div</a></div></li>
37 <li><div x-ga-social-network="TestNet" x-ga-social-action="Test Act" x-ga-social-target="/targeturlTest.aspx" x-ga-social-pagepath="/basePagePath.php"><a href="#">Full social On Div</a></div></li>
38 <li><div x-ga-social-network="TestNet" x-ga-social-action="Test Act" x-ga-social-target="/targeturlTest.aspx" x-ga-social-pagepath="/basePagePath.php"><a x-ga-event-category="TestCat" x-ga-event-action="Test Act" x-ga-event-label="Test Label" x-ga-event-value="30" x-ga-event-noninteractive="true" href="#">Full social On Div and full event on Anchor</a></div></li>
39 </ul>
40 </body>
41 </html>
Something went wrong with that request. Please try again.