1
0
mirror of https://github.com/kremalicious/krtmn.git synced 2024-12-22 01:03:28 +01:00

update readme, add piwik

This commit is contained in:
Matthias Kretschmann 2016-04-27 17:19:54 +02:00
parent 25613db412
commit 367fec3bff
2 changed files with 20 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# krt.mn
My own url shortener based on [yourls - Your Own URL Shortener](http://yourls.org/) ([Google Code](http://code.google.com/p/yourls/))
> My own url shortener based on [YOURLS - Your Own URL Shortener](http://yourls.org/) ([GitHub](https://github.com/YOURLS/YOURLS))
It has a public front page under http://krt.mn with the latest shortened url. The backend is a completely restyled interface based on the YOURLS default styles (which are quite ugly). Here's what it looks like in the admin area:
It has a public front page under https://krt.mn with the latest shortened url. The backend is a completely restyled interface based on the YOURLS default styles (which are quite ugly). Here's what it looks like in the admin area:
![](http://f.cl.ly/items/2M0C2N1z0q3S0J0O0c2J/krtmn-admin-screen.png)
@ -20,5 +20,5 @@ As the original YOURLS you're free to do whatever you want with this. But using
## Acknowledgements
Many thanks to:
- Ozh Richard ([@ozh](https://twitter.com/ozh)) for creating yourls
- Fort Awesome ([@fortaweso_me](https://twitter.com/fortaweso_me)) for creating the [Font Awesome icon font](http://fortawesome.github.com/Font-Awesome)

View File

@ -46,6 +46,23 @@ $items = yourls_api_stats( 'last', 1 );
</footer>
</article>
<!-- Piwik -->
<script>
var _paq = _paq || [];
_paq.push(["setDomains", ["*.krt.mn"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.kremalicious.com/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 5]);
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="//analytics.kremalicious.com/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<script>
var _gaq=[['_setAccount','UA-1441794-9'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];