summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2018-08-26 21:50:46 +0200
committerAndras Timar <andras.timar@collabora.com>2018-08-26 21:50:46 +0200
commit48d4955e831f043979857cdfe3e733b3545baea3 (patch)
tree10082cf30ece2c4ae2761564c0f41ed40a3797c7 /help3xsl/online_transform.xsl
parent7b856f6bac23ab235b2b62bef99a6fa9e14becbc (diff)
[cp] remove TDF Piwik tracker
Change-Id: Icabdcae5d5828417d3540bf36f6bb747001189e3
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl22
1 files changed, 1 insertions, 21 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 9369a19c9c..13c20bd02a 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -144,7 +144,7 @@
<base href="{$install}"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<xsl:if test="$online">
- <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org *.google.com *.googleapis.com"/>
+ <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google.com *.googleapis.com"/>
</xsl:if>
<title><xsl:value-of select="$titleL10N"/></title>
<link rel="shortcut icon" href="{$target}media/navigation/favicon.ico" />
@@ -267,26 +267,6 @@
</script>
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="$online">
- <!-- Piwik -->
- <script type="text/javascript">
- <![CDATA[
- var _paq = _paq || [];
- /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
- _paq.push(['disableCookies']);
- _paq.push(['trackPageView']);
- _paq.push(['enableLinkTracking']);
- (function() {
- var u="//piwik.documentfoundation.org/";
- _paq.push(['setTrackerUrl', u+'piwik.php']);
- _paq.push(['setSiteId', '68']);
- var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
- g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
- })();
- ]]>
- </script>
- <!-- End Piwik Code -->
- </xsl:if>
</body>
</html>
</xsl:template>