nozavroni / csvelte

🕺🏻 CSV and Tabular Data library for PHP
http://phpcsv.com/
Other
6 stars 0 forks source link

Add Google Analytics Code to API docs #93

Closed nozavroni closed 8 years ago

nozavroni commented 8 years ago

The ApiGen cli allows you to enter a Google Analytics id to the HTML output. Sign up for Google Analytics for phpcsv.com and use the id on the API docs generated by ApiGen.

(This should have been included in the v0.1 release)

Links

I signed up for analytics under csvelte@phpcsv.com

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-83431108-1', 'auto');
  ga('send', 'pageview');

</script>
nozavroni commented 8 years ago

I guess, technically, I should have created a v0.1.1 for this and the other minor issues I want to push out before v0.2 but oh well I'll just need to remember to always do that in the future.

nozavroni commented 8 years ago

http://phpcsv.com/csvelte/apidocs/