aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/fixmystreet.com/header_extra.html4
-rw-r--r--templates/web/fixmystreet.com/tracking_code.html19
2 files changed, 22 insertions, 1 deletions
diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html
index f65121445..e05bc31d2 100644
--- a/templates/web/fixmystreet.com/header_extra.html
+++ b/templates/web/fixmystreet.com/header_extra.html
@@ -9,7 +9,9 @@
var variation = cxApi.chooseVariation(),
docElement = document.documentElement,
className = docElement.className;
-docElement.className = className + ' variant' + variation;
+if (!/about\/council/.test(location.pathname)) {
+ docElement.className = className + ' variant' + variation;
+}
</script>
<style>
html .variant1 { display: none !important; }
diff --git a/templates/web/fixmystreet.com/tracking_code.html b/templates/web/fixmystreet.com/tracking_code.html
index 3b163f516..7213055d0 100644
--- a/templates/web/fixmystreet.com/tracking_code.html
+++ b/templates/web/fixmystreet.com/tracking_code.html
@@ -29,6 +29,25 @@ ga('ecommerce:send');
ga('send', 'pageview');
</script>
+
+[% IF created_report %]
+<script type="text/javascript">
+var google_conversion_id = 1067468161;
+var google_conversion_language = "en";
+var google_conversion_format = "3";
+var google_conversion_color = "ffffff";
+var google_conversion_label = "1nWDCP3t6GQQgYuB_QM";
+var google_remarketing_only = false;
+</script>
+<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
+</script>
+<noscript>
+<div style="display:inline;">
+<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/1067468161/?label=1nWDCP3t6GQQgYuB_QM&amp;guid=ON&amp;script=0"/>
+</div>
+</noscript>
+[% END %]
+
[% ELSE %]
<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "https://www.fixmystreet.com" -->
[% END %]