Skip to content

Commit

Permalink
updated the google analytics tracking code to track subdomains as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Mar 8, 2013
1 parent c853099 commit a66e757
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
20 changes: 10 additions & 10 deletions index.html
Expand Up @@ -786,23 +786,23 @@
[[About this site|AboutThisSite]]
[img[feed-icon-14x14.png]] [[RSS feed|RSSFeed]]</pre>
</div>
<div title="MarkupPostBody" creator="YichunZhang" modifier="YichunZhang" created="201107251537" modified="201203210502" changecount="4">
<div title="MarkupPostBody" creator="YichunZhang" modifier="YichunZhang" created="201107251537" modified="201303080631" changecount="5">
<pre>&lt;p/&gt; &lt;p/&gt;
&lt;script type=&quot;text/javascript&quot;&gt;

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24724974-1']);
_gaq.push(['_setDomainName', 'agentzh.org']);
_gaq.push(['_trackPageview']);

var ga_f = function() {
var _gaf = (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);
};
setTimeout(ga_f, 200);
});
setTimeout(_gaf, 0);

&lt;/script&gt;
</pre>
&lt;/script&gt;</pre>
</div>
<div title="MarkupPostHead" creator="YichunZhang" modifier="YichunZhang" created="201107240506" modified="201107251537" changecount="4">
<pre></pre>
Expand Down Expand Up @@ -10501,17 +10501,17 @@

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24724974-1']);
_gaq.push(['_setDomainName', 'agentzh.org']);
_gaq.push(['_trackPageview']);

var ga_f = function() {
var _gaf = (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);
};
setTimeout(ga_f, 200);
});
setTimeout(_gaf, 0);

</script>

<!--POST-SCRIPT-END-->
</body>
</html>
28 changes: 14 additions & 14 deletions index.xml
Expand Up @@ -6,22 +6,29 @@
<description>yet another idiot who loves programming</description>
<language>en</language>
<copyright>Copyright 2013 YichunZhang</copyright>
<pubDate>Fri, 08 Feb 2013 19:43:53 GMT</pubDate>
<lastBuildDate>Fri, 08 Feb 2013 19:43:53 GMT</lastBuildDate>
<pubDate>Fri, 08 Mar 2013 06:31:10 GMT</pubDate>
<lastBuildDate>Fri, 08 Mar 2013 06:31:10 GMT</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>TiddlyWiki 2.6.2</generator>
<item>
<title>StyleSheet</title>
<description>body {&lt;br&gt; font-size: 1.2em;&lt;br&gt;}</description>
<link>http://agentzh.org/#StyleSheet</link>
<pubDate>Fri, 08 Feb 2013 19:43:53 GMT</pubDate>
<title>MarkupPostBody</title>
<description>&amp;lt;p/&amp;gt; &amp;lt;p/&amp;gt;&lt;br&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br&gt;&lt;br&gt; var _gaq = _gaq || [];&lt;br&gt; _gaq.push(['_setAccount', '&lt;a tiddlylink=&quot;UA-24724974-1&quot; refresh=&quot;link&quot; target=&quot;_blank&quot; title=&quot;External link to http://agentzh.org/#UA-24724974-1&quot; href=&quot;http://agentzh.org/#UA-24724974-1&quot; class=&quot;externalLink null&quot;&gt;UA-24724974-1&lt;/a&gt;']);&lt;br&gt; _gaq.push(['_setDomainName', 'agentzh.org']);&lt;br&gt; _gaq.push(['_trackPageview']);&lt;br&gt;&lt;br&gt; var _gaf = (function() {&lt;br&gt; var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;&lt;br&gt; ga.src = ('https:' == document.location.protocol ? '&lt;a target=&quot;_blank&quot; title=&quot;External link to https://ssl&quot; href=&quot;https://ssl&quot; class=&quot;externalLink&quot;&gt;https://ssl&lt;/a&gt;' : '&lt;a target=&quot;_blank&quot; title=&quot;External link to http://www&quot; href=&quot;http://www&quot; class=&quot;externalLink&quot;&gt;http://www&lt;/a&gt;') + '.google-analytics.com/ga.js';&lt;br&gt; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);&lt;br&gt; });&lt;br&gt; setTimeout(_gaf, 0);&lt;br&gt;&lt;br&gt;&amp;lt;/script&amp;gt;</description>
<link>http://agentzh.org/#MarkupPostBody</link>
<pubDate>Fri, 08 Mar 2013 06:31:10 GMT</pubDate>

</item>
<item>
<title>ContactMe</title>
<description>&lt;a tiddler=&quot;ContactMe&quot; commandname=&quot;permalink&quot; class=&quot;button command_permalink&quot; title=&quot;Permalink for this tiddler&quot; href=&quot;javascript:;&quot;&gt;permalink&lt;/a&gt;&lt;br&gt;&lt;br&gt;You're welcome to mail me via &lt;code&gt;agentzh@gmail.com&lt;/code&gt;. This mail address is also my MSN account.&lt;br&gt;&lt;br&gt;I'm quite active in the &lt;a target=&quot;_blank&quot; title=&quot;External link to http://nginx.org/mailman/listinfo/nginx&quot; href=&quot;http://nginx.org/mailman/listinfo/nginx&quot; class=&quot;externalLink&quot;&gt;nginx&lt;/a&gt; and &lt;a target=&quot;_blank&quot; title=&quot;External link to http://nginx.org/mailman/listinfo/nginx-devel&quot; href=&quot;http://nginx.org/mailman/listinfo/nginx-devel&quot; class=&quot;externalLink&quot;&gt;nginx-devel&lt;/a&gt; mailing lists. I'm also keeping an eye on the PerlChina, lua-l and erlang-questions mailing lists as well ;)&lt;br&gt;&lt;br&gt;If you want to ask me questions about my Nginx or &lt;a tiddlylink=&quot;OpenResty&quot; refresh=&quot;link&quot; target=&quot;_blank&quot; title=&quot;External link to http://agentzh.org/#OpenResty&quot; href=&quot;http://agentzh.org/#OpenResty&quot; class=&quot;externalLink null&quot;&gt;OpenResty&lt;/a&gt; related work, please join the &lt;a target=&quot;_blank&quot; title=&quot;External link to http://openresty.org/#Community&quot; href=&quot;http://openresty.org/#Community&quot; class=&quot;externalLink&quot;&gt;OpenResty community&lt;/a&gt; and post there.</description>
<link>http://agentzh.org/#ContactMe</link>
<pubDate>Fri, 08 Feb 2013 19:43:25 GMT</pubDate>
<pubDate>Fri, 08 Feb 2013 19:43:00 GMT</pubDate>

</item>
<item>
<title>StyleSheet</title>
<description>body {&lt;br&gt; font-size: 1.2em;&lt;br&gt;}</description>
<link>http://agentzh.org/#StyleSheet</link>
<pubDate>Fri, 08 Feb 2013 19:43:00 GMT</pubDate>

</item>
<item>
Expand All @@ -44,13 +51,6 @@
<link>http://agentzh.org/#Presentations</link>
<pubDate>Sun, 29 Apr 2012 02:47:00 GMT</pubDate>

</item>
<item>
<title>MarkupPostBody</title>
<description>&amp;lt;p/&amp;gt; &amp;lt;p/&amp;gt;&lt;br&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br&gt;&lt;br&gt; var _gaq = _gaq || [];&lt;br&gt; _gaq.push(['_setAccount', '&lt;a tiddlylink=&quot;UA-24724974-1&quot; refresh=&quot;link&quot; target=&quot;_blank&quot; title=&quot;External link to http://agentzh.org/#UA-24724974-1&quot; href=&quot;http://agentzh.org/#UA-24724974-1&quot; class=&quot;externalLink null&quot;&gt;UA-24724974-1&lt;/a&gt;']);&lt;br&gt; _gaq.push(['_trackPageview']);&lt;br&gt;&lt;br&gt; var ga_f = function() {&lt;br&gt; var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;&lt;br&gt; ga.src = ('https:' == document.location.protocol ? '&lt;a target=&quot;_blank&quot; title=&quot;External link to https://ssl&quot; href=&quot;https://ssl&quot; class=&quot;externalLink&quot;&gt;https://ssl&lt;/a&gt;' : '&lt;a target=&quot;_blank&quot; title=&quot;External link to http://www&quot; href=&quot;http://www&quot; class=&quot;externalLink&quot;&gt;http://www&lt;/a&gt;') + '.google-analytics.com/ga.js';&lt;br&gt; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);&lt;br&gt; };&lt;br&gt; setTimeout(ga_f, 200);&lt;br&gt;&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;</description>
<link>http://agentzh.org/#MarkupPostBody</link>
<pubDate>Wed, 21 Mar 2012 05:02:00 GMT</pubDate>

</item>
<item>
<title>Blogs</title>
Expand Down

0 comments on commit a66e757

Please sign in to comment.