diff options
| author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-16 12:48:52 +0000 |
|---|---|---|
| committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-16 12:48:52 +0000 |
| commit | 4afd0026262dd74425d40ac78649db3d8148c883 (patch) | |
| tree | d3c3dec2debd71ebbd4419bbc2330956d8dc601e /templates/web/fixmystreet.com/header_extra.html | |
| parent | 86414debecd82fb66a03dc360944afc3ae4be3d6 (diff) | |
[fixmystreet.com] Remove friendly A/B test.
This has been running for a year, added in e17eb20.
Diffstat (limited to 'templates/web/fixmystreet.com/header_extra.html')
| -rw-r--r-- | templates/web/fixmystreet.com/header_extra.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html index 4ea87a5e1..dc0f86693 100644 --- a/templates/web/fixmystreet.com/header_extra.html +++ b/templates/web/fixmystreet.com/header_extra.html @@ -16,22 +16,4 @@ })(document); </script> -[%# We are conducting an A/B experiment %] -[% IF c.config.BASE_URL == "https://www.fixmystreet.com" AND not admin AND NOT c.req.header('User-Agent').match('Google Page Speed') %] -<script src="//www.google-analytics.com/cx/api.js?experiment=ZwMlZkAhSbK_tP_QG64QrQ"></script> -<script nonce="[% csp_nonce %]"> -var variation = typeof cxApi !== "undefined" ? cxApi.chooseVariation() : 0, - docElement = document.documentElement, - className = docElement.className; -if (!/about\/council/.test(location.pathname)) { - docElement.className = className + ' variant' + variation; -} -</script> -[% END %] -<style> -html .variant1 { display: none !important; } -html.variant1 .variant0 { display: none !important; } -html.variant1 .variant1 { display: block !important; } -</style> - [% INCLUDE 'tracking_code.html' %] |
