Re: [Tiki-devel] Removing piwik code from tiki.org sites
Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
When the custom CSS at tiki.org got wiped a while back (due to some
editing quirk) I made this page to keep a history of the L&F custom
code. You could edit the page as you edited the L&F custom code to keep
the record current. Maybe the same should be done for the other sites
unless somebody has a better idea. A tracker could also be used now that
versions are kept.
-- Gary
On 8/20/2021 4:02 PM, Bsfez Tiki via TikiWiki-devel wrote:
> Hello,
>
> I’m not sure where this should be recorded so it will be here. ;-)
>
> I see we have a piwik code on tiki.org <http://tiki.org> websites
> Having no one using it (and it’s pretty old) I removed it.
>
> "Custom code just before the closing </body> tag"
>
> *tiki.org <http://tiki.org>*
> https://tiki.org/tiki-admin.php?page=look#contentadmin_look-5
> <https://tiki.org/tiki-admin.php?page=look#contentadmin_look-5>
>
> {literal}
> <!-- Piwik -->
> <script type="text/javascript">
> var _paq = _paq || [];
> _paq.push(['trackPageView']);
> _paq.push(['enableLinkTracking']);
> (function() {
> var u="https://piwik.tiki.org/ <https://piwik.tiki.org/>";
> _paq.push(['setTrackerUrl', u+'piwik.php']);
> _paq.push(['setSiteId', 10]);
> 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>
> <noscript><p><img src="https://piwik.tiki.org/piwik.php?idsite=10
> <https://piwik.tiki.org/piwik.php?idsite=10>" style="border:0;" alt=""
> /></p></noscript>
> <!-- End Piwik Code -->
> {/literal}
>
>
> *doc.tiki.org <http://doc.tiki.org>*
> https://doc.tiki.org/tiki-admin.php?page=look#contentadmin_look-5
> <https://doc.tiki.org/tiki-admin.php?page=look#contentadmin_look-5>
>
> <script type="text/javascript">
> var _paq = _paq || [];
> _paq.push(["trackPageView"]);
> _paq.push(["enableLinkTracking"]);
> (function (d) {
> var p = d.location.protocol || 'https:';
> var u = p + "//piwik.tiki.org/ <http://piwik.tiki.org/>";
> _paq.push(["setTrackerUrl", u + "piwik.php"]);
> _paq.push(["setSiteId", 2]);
> var g = d.createElement("script")
> g.type = "text/javascript";
> g.async = true;
> g.defer = true;
> g.src = u + "piwik.js";
> d.body.append(g);
> })(document);
> </script>
> <noscript><p><img src="https://piwik.tiki.org/piwik.php?idsite=2
> <https://piwik.tiki.org/piwik.php?idsite=2>" style="border:0;" alt=""
> /></p></noscript>
>
> *dev.tiki.org <http://dev.tiki.org>*
> https://dev.tiki.org/tiki-admin.php?page=look#contentadmin_look-5
> <https://dev.tiki.org/tiki-admin.php?page=look#contentadmin_look-5>
>
> {literal}
> <!-- Piwik -->
> <script type="text/javascript">
> var pkBaseURL = (("https:" == document.location.protocol) ?
> "https://piwik.tiki.org/ <https://piwik.tiki.org/>" :
> "http://piwik.tiki.org/ <http://piwik.tiki.org/>");
> document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js'
> type='text/javascript'%3E%3C/script%3E"));
> </script><script type="text/javascript">
> try {
> var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
> piwikTracker.trackPageView();
> piwikTracker.enableLinkTracking();
> } catch( err ) {}
> </script><noscript><p><img src="//piwik.tiki.org/piwik.php?idsite=1
> <http://piwik.tiki.org/piwik.php?idsite=1>" style="border:0" alt=""
> /></p></noscript>
> <!-- End Piwik Tag -->
> {/literal}
>
> This can’t hurt speed I guess ;-)
> Bernard
>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel