|
|
@@ -1,29 +0,0 @@
|
|
|
-{namespace v=FluidTYPO3\Vhs\ViewHelpers}
|
|
|
-{namespace st=Opentalent\OtStats\ViewHelpers}
|
|
|
-
|
|
|
-<v:variable.set name="matomo_site_id" value="{st:matomoSiteId()}" />
|
|
|
-
|
|
|
-<f:if condition="{matomo_site_id}>0">
|
|
|
-
|
|
|
- <f:comment><!--Matomo partial: contains the integration code of matomo ...--></f:comment>
|
|
|
-
|
|
|
- <f:comment><!-- Matomo --></f:comment>
|
|
|
- <script type="text/javascript">
|
|
|
- var _paq = window._paq || [];
|
|
|
- /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
|
- _paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
|
|
|
- _paq.push(["setDomains", ["*.www.opentalent.fr"]]);
|
|
|
- _paq.push(['trackPageView']);
|
|
|
- _paq.push(['enableLinkTracking']);
|
|
|
- (function() {
|
|
|
- var u="https://stats.2iopenservice.com/";
|
|
|
- _paq.push(['setTrackerUrl', u+'matomo.php']);
|
|
|
- _paq.push(['setSiteId', '{matomo_site_id}']);
|
|
|
- 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+'matomo.js'; s.parentNode.insertBefore(g,s);
|
|
|
- })();
|
|
|
- </script>
|
|
|
- <noscript><p><img src="https://stats.2iopenservice.com/matomo.php?idsite={matomo_site_id}&rec=1" style="border:0;" alt="" /></p></noscript>
|
|
|
- <f:comment><!-- End Matomo Code --></f:comment>
|
|
|
-
|
|
|
-</f:if>
|