<h1>{{$lang.GoogleAnalytics}}</h1>
<form action="?p={{$_GET.p}}" method="post" name="form" id="google-analitics-form">
	<fieldset>
		<table class="details">
			<tr>
				<td class="help" colspan="3">
					{{$lang.GoogleAnalyticsHelp}}<br/>
					<pre>
&lt;script type="text/javascript"&gt;
	var _gaq = _gaq || [];
	_gaq.push([ '_setAccount', '<span style="color: red">UA-1234567-8</span>' ]);
	_gaq.push([ '_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);
	})();
&lt;/script&gt;
					</pre>
				</td>
			</tr>
			<tr>
				<th class="name">{{$lang.GoogleAnalyticsDesc}}</th><td class="value"><input type="text" id="google-analitics-code" name="google_analytics" value="{{$config.google_analytics}}" /></td><td class="help"></td>
			</tr>
			<tr>
				<th class="name">{{$lang.GoogleAnalyticsECommerce}}</th><td class="value"><input type="hidden" name="google_analytics_ecommerce" value="0" /><input type="checkbox" value="1" name="google_analytics_ecommerce" {{if $config.google_analytics_ecommerce}}checked="checked"{{/if}} /></td><td class="help"></td>
			</tr>
			<tr>
				<th class="name">{{$lang.GoogleConversionDesc}}</th><td class="value"><input type="text" id="google-conversion-code-code" name="google_conversion_code" value="{{$config.google_conversion_code}}" /></td><td class="help"></td>
			</tr>
		</table>
		<iframe style="width: 100%; height: 800px; border: 3px solid #b7d94e; margin: 5px auto 0;" src="https://www.google.com/analytics/"></iframe>
		<div class="save float"><div class="save floatcontainer">
		<input type="submit" class="submit" value="{{$lang.Save}} &raquo;" name="sOption" />
		</div></div>
	</fieldset>
</form>