mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 04:52:49 +00:00
Track download links
bzr-revno: 56
This commit is contained in:
parent
be8139fb19
commit
bf5ebee130
18
conf.py
18
conf.py
@ -681,23 +681,25 @@ RSS_TEASERS = False
|
||||
#"""
|
||||
EXTRA_HEAD_DATA = """
|
||||
<link href="/assets/css/ekko-lightbox.css" rel="stylesheet">
|
||||
<script src='//www.google.com/recaptcha/api.js'></script>
|
||||
<script type='text/javascript'>
|
||||
<script src="//www.google.com/recaptcha/api.js"></script>
|
||||
<script type="text/javascript">
|
||||
var Countly = Countly || {};
|
||||
Countly.q = Countly.q || [];
|
||||
Countly.app_key = "53ec944e2cab9356d3577dd1e260dc113fbf210f";
|
||||
Countly.url = "https://stats.openlp.io";
|
||||
Countly.q.push(['track_sessions']);
|
||||
Countly.q.push(['track_pageview']);
|
||||
Countly.q.push(["track_sessions"]);
|
||||
Countly.q.push(["track_pageview"]);
|
||||
Countly.q.push(["track_links", document.getElementById("download-section")]);
|
||||
|
||||
//load countly script asynchronously
|
||||
(function() {
|
||||
var cly = document.createElement('script'); cly.type = 'text/javascript';
|
||||
var cly = document.createElement("script");
|
||||
cly.type = "text/javascript";
|
||||
cly.async = true;
|
||||
//enter url of script here
|
||||
cly.src = 'https://cdn.jsdelivr.net/countly-sdk-web/latest/countly.min.js';
|
||||
cly.src = "https://cdn.jsdelivr.net/countly-sdk-web/latest/countly.min.js";
|
||||
cly.onload = function() { Countly.init() };
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(cly, s);
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(cly, s);
|
||||
})();
|
||||
</script>
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user