aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fixmystreet.com/header_extra.html
blob: 64a8ee44a3831eaa6661077d4c23eac6b789c090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<meta name='theme-color' content='#ffd000'>
<link rel="Shortcut Icon" type="image/x-icon" href="/cobrands/fixmystreet.com/favicon.ico">

[%# We are conducting an A/B experiment %]
[% IF c.config.BASE_URL == "https://www.fixmystreet.com" AND not admin %]
<script src="//www.google-analytics.com/cx/api.js?experiment=ZwMlZkAhSbK_tP_QG64QrQ"></script>
<script nonce="[% csp_nonce %]">
var variation = cxApi.chooseVariation(),
    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' %]