Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- ============================================== Start Original Page A ===============================================-->
- <!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>
- <!--Google Analytics Asynchronous Code -->
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(
- ['_setAccount', 'UA-xxxxxxxx-1'],
- ['_setDomainName', '.mydomain.com'],
- ['_trackPageview']
- );
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- <!--Google Analytics Asynchronous Code END-->
- <!-- Google Website Optimizer Control Script -->
- <script>
- function utmx_section(){}function utmx(){}
- (function(){var k='2195434349',d=document,l=d.location,c=d.cookie;function f(n){
- if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n.
- length+1,j<0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
- d.write('<sc'+'ript src="'+
- 'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
- +'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
- +new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
- '" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
- </script>
- <!-- End of Google Website Optimizer Control Script -->
- <!--Google Website Optimizer Advanced A/B Code-->
- <!-- utmx section name="Test URL" -->
- <script>
- var b = utmx('variation_content', 'Test URL');
- function filter(v) {
- var u = v[0].contents;
- if (b && u.substr(0,7) == 'http://' && b.substr(0, 7) != 'http://') {
- u = u.substr(7);
- }
- return u;
- }
- utmx('url', 'Test URL', 0, filter);
- </script>
- <!--Google Website Optimizer Advanced A/B Code END-->
- </head>
- <body>
- <p>Page content</p>
- <!-- Google Website Optimizer Tracking Script -->
- <script type="text/javascript">
- if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+
- (document.location.protocol=='https:'?'s://ssl':'://www')+
- '.google-analytics.com/ga.js"></sc'+'ript>')</script>
- <script type="text/javascript">
- try {
- var gwoTracker=_gat._getTracker("UA-940262-17");
- gwoTracker._trackPageview("/2195434349/test");
- }catch(err){}</script>
- <!-- End of Google Website Optimizer Tracking Script -->
- </body>
- </html>
- <!-- ============================================== END Original Page A ===============================================-->
- <!-- ============================================== Start Variation Page B ===============================================-->
- <!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>
- <!--Google Analytics Asynchronous Code -->
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(
- ['_setAccount', 'UA-xxxxxxxx-1'],
- ['_setDomainName', '.mydomain.com'],
- ['_trackPageview']
- );
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- <!--Google Analytics Asynchronous Code END-->
- </head>
- <body>
- <p>Page content</p>
- <!-- Google Website Optimizer Tracking Script -->
- <script type="text/javascript">
- if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+
- (document.location.protocol=='https:'?'s://ssl':'://www')+
- '.google-analytics.com/ga.js"></sc'+'ript>')</script>
- <script type="text/javascript">
- try {
- var gwoTracker=_gat._getTracker("UA-940262-17");
- gwoTracker._trackPageview("/2195434349/test");
- }catch(err){}</script>
- <!-- End of Google Website Optimizer Tracking Script -->
- </body>
- </html>
- <!-- ============================================== END Variation Page B ===============================================-->
- <!-- ============================================== Start Conversion Page ===============================================-->
- <!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>
- <!--Google Analytics code -->
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <!-- Google Analytics code END -->
- </head>
- <body class="yui-skin-sam">
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("UA-xxxxxxxx-1");
- pageTracker._setDomainName(".mydomain.com");
- pageTracker._trackPageview('4-ordercomplete');
- pageTracker._addTrans(
- "4342-238688", "mydomain.com", "44.0000", "0.0000", "20.0000", "MOUNTAIN VIEW", "California", "United States"
- );
- pageTracker._addItem(
- "4342-238688",
- "29/43",
- "mydomain Rental All Risk Protection Plan - Loss,",
- "Rental Product",
- "1.0000",
- "1"
- );
- pageTracker._addItem(
- "4342-238688",
- "29/49",
- "Motorola RAZR V3 (O2)",
- "Rental Product",
- "7.0000",
- "1"
- );
- pageTracker._trackTrans(); //submits transaction to the Analytics servers
- } catch(err) {}
- </script>
- </body>
- <!-- Google Website Optimizer Conversion Script -->
- <script type="text/javascript">
- if(typeof(_gat)!='object')
- document.write('<sc'+'ript src="http'+
- (document.location.protocol=='https:'?'s://ssl':'://www')+
- '.google-analytics.com/ga.js"></sc'+'ript>')
- </script>
- <script type="text/javascript">
- try {
- var gwoTracker=_gat._getTracker("UA-940262-17");
- gwoTracker._trackPageview("/2195434349/goal");
- }catch(err){}
- </script>
- <!-- End of Google Website Optimizer Conversion Script -->
- </html>
- <!-- ============================================== END Conversion Page ===============================================-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement