diff options
-rw-r--r-- | templates/web/fixmystreet.com/header_extra.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html index e05bc31d2..0d53550eb 100644 --- a/templates/web/fixmystreet.com/header_extra.html +++ b/templates/web/fixmystreet.com/header_extra.html @@ -4,6 +4,7 @@ <script src="[% start %][% version('/cobrands/fixmystreet.com/js.js') %]"></script> [%# We are conducting an A/B experiment %] +[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %] <script src="//www.google-analytics.com/cx/api.js?experiment=ZwMlZkAhSbK_tP_QG64QrQ"></script> <script> var variation = cxApi.chooseVariation(), @@ -13,6 +14,7 @@ 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; } |