View difference between Paste ID: ru7dCDqD and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | <!-- ============================================== Start Original Page A ===============================================--> |
2 | ||
3 | ||
4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
5 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
6 | <head> | |
7 | <!--Google Analytics Asynchronous Code --> | |
8 | <script type="text/javascript"> | |
9 | var _gaq = _gaq || []; | |
10 | _gaq.push( | |
11 | ['_setAccount', 'UA-xxxxxxxx-1'], | |
12 | ['_setDomainName', '.mydomain.com'], | |
13 | ['_trackPageview'] | |
14 | ); | |
15 | ||
16 | (function() { | |
17 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
18 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
19 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
20 | })(); | |
21 | ||
22 | </script> | |
23 | <!--Google Analytics Asynchronous Code END--> | |
24 | ||
25 | <!-- Google Website Optimizer Control Script --> | |
26 | <script> | |
27 | function utmx_section(){}function utmx(){} | |
28 | (function(){var k='2195434349',d=document,l=d.location,c=d.cookie;function f(n){ | |
29 | if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n. | |
30 | length+1,j<0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash; | |
31 | d.write('<sc'+'ript src="'+ | |
32 | 'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com' | |
33 | +'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime=' | |
34 | +new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+ | |
35 | '" type="text/javascript" charset="utf-8"></sc'+'ript>')})(); | |
36 | </script> | |
37 | <!-- End of Google Website Optimizer Control Script --> | |
38 | ||
39 | <!--Google Website Optimizer Advanced A/B Code--> | |
40 | <!-- utmx section name="Test URL" --> | |
41 | <script> | |
42 | var b = utmx('variation_content', 'Test URL'); | |
43 | function filter(v) { | |
44 | var u = v[0].contents; | |
45 | if (b && u.substr(0,7) == 'http://' && b.substr(0, 7) != 'http://') { | |
46 | u = u.substr(7); | |
47 | } | |
48 | return u; | |
49 | } | |
50 | utmx('url', 'Test URL', 0, filter); | |
51 | </script> | |
52 | <!--Google Website Optimizer Advanced A/B Code END--> | |
53 | </head> | |
54 | ||
55 | <body> | |
56 | <p>Page content</p> | |
57 | ||
58 | <!-- Google Website Optimizer Tracking Script --> | |
59 | <script type="text/javascript"> | |
60 | if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+ | |
61 | (document.location.protocol=='https:'?'s://ssl':'://www')+ | |
62 | '.google-analytics.com/ga.js"></sc'+'ript>')</script> | |
63 | <script type="text/javascript"> | |
64 | try { | |
65 | var gwoTracker=_gat._getTracker("UA-940262-17"); | |
66 | gwoTracker._trackPageview("/2195434349/test"); | |
67 | }catch(err){}</script> | |
68 | <!-- End of Google Website Optimizer Tracking Script --> | |
69 | </body> | |
70 | </html> | |
71 | ||
72 | <!-- ============================================== END Original Page A ===============================================--> | |
73 | ||
74 | ||
75 | <!-- ============================================== Start Variation Page B ===============================================--> | |
76 | ||
77 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
78 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
79 | <head> | |
80 | ||
81 | <!--Google Analytics Asynchronous Code --> | |
82 | <script type="text/javascript"> | |
83 | ||
84 | var _gaq = _gaq || []; | |
85 | _gaq.push( | |
86 | ['_setAccount', 'UA-xxxxxxxx-1'], | |
87 | ['_setDomainName', '.mydomain.com'], | |
88 | ['_trackPageview'] | |
89 | ); | |
90 | ||
91 | (function() { | |
92 | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
93 | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
94 | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
95 | })(); | |
96 | ||
97 | </script> | |
98 | <!--Google Analytics Asynchronous Code END--> | |
99 | ||
100 | </head> | |
101 | ||
102 | <body> | |
103 | <p>Page content</p> | |
104 | ||
105 | <!-- Google Website Optimizer Tracking Script --> | |
106 | <script type="text/javascript"> | |
107 | if(typeof(_gat)!='object')document.write('<sc'+'ript src="http'+ | |
108 | (document.location.protocol=='https:'?'s://ssl':'://www')+ | |
109 | '.google-analytics.com/ga.js"></sc'+'ript>')</script> | |
110 | <script type="text/javascript"> | |
111 | try { | |
112 | var gwoTracker=_gat._getTracker("UA-940262-17"); | |
113 | gwoTracker._trackPageview("/2195434349/test"); | |
114 | }catch(err){}</script> | |
115 | <!-- End of Google Website Optimizer Tracking Script --> | |
116 | </body> | |
117 | </html> | |
118 | ||
119 | ||
120 | ||
121 | <!-- ============================================== END Variation Page B ===============================================--> | |
122 | ||
123 | ||
124 | ||
125 | <!-- ============================================== Start Conversion Page ===============================================--> | |
126 | ||
127 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
128 | <html xmlns="http://www.w3.org/1999/xhtml"> | |
129 | <head> | |
130 | ||
131 | <!--Google Analytics code --> | |
132 | <script type="text/javascript"> | |
133 | ||
134 | var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
135 | document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
136 | ||
137 | </script> | |
138 | <!-- Google Analytics code END --> | |
139 | ||
140 | </head> | |
141 | ||
142 | <body class="yui-skin-sam"> | |
143 | ||
144 | <script type="text/javascript"> | |
145 | ||
146 | try { | |
147 | var pageTracker = _gat._getTracker("UA-xxxxxxxx-1"); | |
148 | pageTracker._setDomainName(".mydomain.com"); | |
149 | pageTracker._trackPageview('4-ordercomplete'); | |
150 | ||
151 | pageTracker._addTrans( | |
152 | "4342-238688", "mydomain.com", "44.0000", "0.0000", "20.0000", "MOUNTAIN VIEW", "California", "United States" | |
153 | ); | |
154 | pageTracker._addItem( | |
155 | "4342-238688", | |
156 | "29/43", | |
157 | "mydomain Rental All Risk Protection Plan - Loss,", | |
158 | "Rental Product", | |
159 | "1.0000", | |
160 | "1" | |
161 | ); | |
162 | pageTracker._addItem( | |
163 | "4342-238688", | |
164 | "29/49", | |
165 | "Motorola RAZR V3 (O2)", | |
166 | "Rental Product", | |
167 | "7.0000", | |
168 | "1" | |
169 | ); | |
170 | ||
171 | pageTracker._trackTrans(); //submits transaction to the Analytics servers | |
172 | } catch(err) {} | |
173 | ||
174 | </script> | |
175 | </body> | |
176 | <!-- Google Website Optimizer Conversion Script --> | |
177 | <script type="text/javascript"> | |
178 | if(typeof(_gat)!='object') | |
179 | document.write('<sc'+'ript src="http'+ | |
180 | (document.location.protocol=='https:'?'s://ssl':'://www')+ | |
181 | '.google-analytics.com/ga.js"></sc'+'ript>') | |
182 | </script> | |
183 | <script type="text/javascript"> | |
184 | ||
185 | try { | |
186 | var gwoTracker=_gat._getTracker("UA-940262-17"); | |
187 | gwoTracker._trackPageview("/2195434349/goal"); | |
188 | }catch(err){} | |
189 | ||
190 | </script> | |
191 | <!-- End of Google Website Optimizer Conversion Script --> | |
192 | </html> | |
193 | ||
194 | <!-- ============================================== END Conversion Page ===============================================--> |