Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save daipresents/ad3d5336b3e1a552f75cf8d515fe876e to your computer and use it in GitHub Desktop.

Select an option

Save daipresents/ad3d5336b3e1a552f75cf8d515fe876e to your computer and use it in GitHub Desktop.
Google Analyticsで計測し学習を経て、WordPressを育てる7つのコンパス
<script type="text/javascript">// <![CDATA[
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-4256542-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
// ]]></script>
<a onclick="javascript:_gaq.push(['_trackPageview', '/click/rss20']);" href="/feed"><img src="/images/rss20.png" alt="RSS2.0を購読" /></a>
<a onclick="_gaq.push(['_trackEvent', 'RSS', 'Subscribe', 'RSS2.0']);" href="/feed"><img src="/images/rss20.png" alt="RSS2.0を購読" /></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment