<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Google Analytics without javascript!</title>
	<link>http://www.vdgraaf.info/google-analytics-without-javascript.html</link>
	<description>Search engine marketing blog by Peter van der Graaf</description>
	<pubDate>Thu, 24 Jul 2008 16:47:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-66586</link>
		<pubDate>Mon, 14 Jul 2008 07:51:23 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-66586</guid>
					<description>The newest ga.js tag is little different in the available variables it sends. This post is very old and I don't offer any support or Analytics help, but the code still works.

It should be used as an example to get you thinking differently about client-side analytics, not as a code to "copy and paste and you're done". I hope my post is a step in the right direction and feel free to create fantastic scripts to share yourself. The amount of people interested in this post is enormous, so you should get a lot of visitors by creating the sequal!</description>
		<content:encoded><![CDATA[<p>The newest ga.js tag is little different in the available variables it sends. This post is very old and I don&#8217;t offer any support or Analytics help, but the code still works.</p>
<p>It should be used as an example to get you thinking differently about client-side analytics, not as a code to &#8220;copy and paste and you&#8217;re done&#8221;. I hope my post is a step in the right direction and feel free to create fantastic scripts to share yourself. The amount of people interested in this post is enormous, so you should get a lot of visitors by creating the sequal!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jérémy</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-66401</link>
		<pubDate>Sun, 13 Jul 2008 10:29:29 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-66401</guid>
					<description>Hi, 
have you got a tutorial wich explain how to track with google tag without javascript ? I use the lastest version of google tag and I want to implement it using your server side php solution ! 

Thank you for HELP !</description>
		<content:encoded><![CDATA[<p>Hi,<br />
have you got a tutorial wich explain how to track with google tag without javascript ? I use the lastest version of google tag and I want to implement it using your server side php solution ! </p>
<p>Thank you for HELP !
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: jan</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-62208</link>
		<pubDate>Mon, 30 Jun 2008 12:45:47 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-62208</guid>
					<description>Hi,

Great Idea, Does this work for the newest GA Version Code (ga.js)?

regards, jan</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Great Idea, Does this work for the newest GA Version Code (ga.js)?</p>
<p>regards, jan
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ArsGeek &#187; Analytics Spam - Coming To An Internet Near You!</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-60772</link>
		<pubDate>Thu, 26 Jun 2008 06:48:55 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-60772</guid>
					<description>[...] (Note: I wanted to insert a handy little flow chart of how javascript analytics works but couldn&#8217;t find one! If anyone knows of one, please drop a link in the comments and I&#8217;ll add it into the post. There&#8217;s a bit more in-depth explanation of how it works here though.) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] (Note: I wanted to insert a handy little flow chart of how javascript analytics works but couldn&#8217;t find one! If anyone knows of one, please drop a link in the comments and I&#8217;ll add it into the post. There&#8217;s a bit more in-depth explanation of how it works here though.) [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Free Nulled PHP Scripts &#187; Analytics Spam - Coming To An Internet Near You!</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-60415</link>
		<pubDate>Wed, 25 Jun 2008 00:14:44 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-60415</guid>
					<description>[...] (Note: I wanted to insert a handy little flow chart of how javascript analytics works but couldn&#8217;t find one! If anyone knows of one, please drop a link in the comments and I&#8217;ll add it into the post. There&#8217;s a bit more in-depth explanation of how it works here though.) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] (Note: I wanted to insert a handy little flow chart of how javascript analytics works but couldn&#8217;t find one! If anyone knows of one, please drop a link in the comments and I&#8217;ll add it into the post. There&#8217;s a bit more in-depth explanation of how it works here though.) [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: forkmantis</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-60057</link>
		<pubDate>Mon, 23 Jun 2008 18:29:34 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-60057</guid>
					<description>Out of curiosity, does the new ga.js allow you to pass values for things such as user_agent or host, or do you still have to use custom fields for this?</description>
		<content:encoded><![CDATA[<p>Out of curiosity, does the new ga.js allow you to pass values for things such as user_agent or host, or do you still have to use custom fields for this?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Google Analytics zonder javascript - André Scholten</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-53408</link>
		<pubDate>Wed, 04 Jun 2008 08:53:22 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-53408</guid>
					<description>[...] Allereerst credits voor Peter van de Graaf die een tijdje geleden een post op zijn weblog maakte over de exacte techniek die benodigd is. Met PHP worden zo veel mogelijk gegevens verzameld die een aanroep aan Google Analytics mogelijk maken. Vervolgens wordt vanaf de webserver het Google Analytics plaatje opgevraagd en is de meting gereed. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Allereerst credits voor Peter van de Graaf die een tijdje geleden een post op zijn weblog maakte over de exacte techniek die benodigd is. Met PHP worden zo veel mogelijk gegevens verzameld die een aanroep aan Google Analytics mogelijk maken. Vervolgens wordt vanaf de webserver het Google Analytics plaatje opgevraagd en is de meting gereed. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-52577</link>
		<pubDate>Mon, 02 Jun 2008 06:38:01 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-52577</guid>
					<description>Cookie information is also communicated though the image URL and IP address can be communicated through the user defined variable and then transfered to the IP address field with a custom filter. It takes some tweaking, but identifying repeat visitors can be done.

I don't have a full list of variables, but you don't need them all.
http://www.vdgraaf.info/wp-content/uploads/tracker.txt contains the most important ones.</description>
		<content:encoded><![CDATA[<p>Cookie information is also communicated though the image URL and IP address can be communicated through the user defined variable and then transfered to the IP address field with a custom filter. It takes some tweaking, but identifying repeat visitors can be done.</p>
<p>I don&#8217;t have a full list of variables, but you don&#8217;t need them all.<br />
<a href='http://www.vdgraaf.info/wp-content/uploads/tracker.txt' >http://www.vdgraaf.info/wp-content/uploads/tracker.txt</a> contains the most important ones.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Saviz</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-52333</link>
		<pubDate>Sun, 01 Jun 2008 16:20:22 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-52333</guid>
					<description>Also do you know where I can find a list of the paremeters that need to be set and what they mean for the image analytic.  Thanks again for your blog.</description>
		<content:encoded><![CDATA[<p>Also do you know where I can find a list of the paremeters that need to be set and what they mean for the image analytic.  Thanks again for your blog.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Saviz</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-52331</link>
		<pubDate>Sun, 01 Jun 2008 16:13:35 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-52331</guid>
					<description>Peter,
This is an excellent article.  Thanks for writing it.  I am planning on incorporating this idea.  I'm working on the client side but due to certain limitation I'm not able to use Javascript as intended by Google so I'm going to use your idea of using an image.  My question is how can I ensure that the unique vs. repeat visitors are recognized.  Does the method you recommend allow that to happen. I tried this once before awhile back and image pings couldn't figure out unique vs. repeat visitors.  Can you comment on which portion of your code takes care of that.</description>
		<content:encoded><![CDATA[<p>Peter,<br />
This is an excellent article.  Thanks for writing it.  I am planning on incorporating this idea.  I&#8217;m working on the client side but due to certain limitation I&#8217;m not able to use Javascript as intended by Google so I&#8217;m going to use your idea of using an image.  My question is how can I ensure that the unique vs. repeat visitors are recognized.  Does the method you recommend allow that to happen. I tried this once before awhile back and image pings couldn&#8217;t figure out unique vs. repeat visitors.  Can you comment on which portion of your code takes care of that.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Garçon aka Martin Kopta &#187; Blog Archive &#187; links for 2008-05-21</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-48016</link>
		<pubDate>Wed, 21 May 2008 23:29:17 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-48016</guid>
					<description>[...] Linklove » Google Analytics without javascript! server side analytics enables you to measure data like rss, image or pdf visits (tags: analytics tips tutorial) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Linklove » Google Analytics without javascript! server side analytics enables you to measure data like rss, image or pdf visits (tags: analytics tips tutorial) [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ways To Identify Bad Bots That Execute Analytics Tags &#187; Slicksurface - Tech, Design &#38; SEO Blog</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-46069</link>
		<pubDate>Thu, 15 May 2008 22:00:21 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-46069</guid>
					<description>[...] The theory behind this approach is that the bots may not actually execute the Javascript, they may see the tracking code on your page, recognize it as a tracking code, grab your Google Analytics ID and do a programmatic call to Google Analytics (as described by Peter van der Graff). In this case, if you&#8217;ve set a segmentation value, they most likely won&#8217;t be programmed to detect that and as a result they&#8217;ll show up on your reports as &#8220;not set&#8221;. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] The theory behind this approach is that the bots may not actually execute the Javascript, they may see the tracking code on your page, recognize it as a tracking code, grab your Google Analytics ID and do a programmatic call to Google Analytics (as described by Peter van der Graff). In this case, if you&#8217;ve set a segmentation value, they most likely won&#8217;t be programmed to detect that and as a result they&#8217;ll show up on your reports as &#8220;not set&#8221;. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Bad Bots Confound Web Analytics By Executing Javascript Tags &#187; Slicksurface - Tech, Design &#38; SEO Blog</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-46062</link>
		<pubDate>Thu, 15 May 2008 21:40:50 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-46062</guid>
					<description>[...] That&#8217;s pretty much what I&#8217;ve seen. Some of those actions are obviously first generation Javascript-capable bots that are easily identified (BTW, Javascript-support isn&#8217;t actually required, but it makes the life of the hacker considerably easier). What&#8217;s a bit scary are the &#8220;better bad bots&#8221; that blend in with human traffic. Without taking unusual measures, the only way to tell the bot traffic from real traffic is when they slip up and don&#8217;t understand typical traffic patterns for the sites they&#8217;re sending fake traffic to, or otherwise act in ways only bots would act (like asking for the same page 1,000 times). [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] That&#8217;s pretty much what I&#8217;ve seen. Some of those actions are obviously first generation Javascript-capable bots that are easily identified (BTW, Javascript-support isn&#8217;t actually required, but it makes the life of the hacker considerably easier). What&#8217;s a bit scary are the &#8220;better bad bots&#8221; that blend in with human traffic. Without taking unusual measures, the only way to tell the bot traffic from real traffic is when they slip up and don&#8217;t understand typical traffic patterns for the sites they&#8217;re sending fake traffic to, or otherwise act in ways only bots would act (like asking for the same page 1,000 times). [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Scott</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-40901</link>
		<pubDate>Fri, 25 Apr 2008 06:14:20 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-40901</guid>
					<description>Has anyone figured out how to track user IP's and agents using this method?  I really need to be able to assign the true user IP to each request, not the server's IP.  If you're using a filter to remap a user variable, a pointer to how to modify the GA call and what to do in the GA filter panel would be appreciated :).</description>
		<content:encoded><![CDATA[<p>Has anyone figured out how to track user IP&#8217;s and agents using this method?  I really need to be able to assign the true user IP to each request, not the server&#8217;s IP.  If you&#8217;re using a filter to remap a user variable, a pointer to how to modify the GA call and what to do in the GA filter panel would be appreciated :).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-39809</link>
		<pubDate>Sat, 19 Apr 2008 06:51:36 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-39809</guid>
					<description>http://www.google.com/support/googleanalytics/bin/static.py?page=troubleshooter.cs&#38;problem=tracking&#38;selected=tracking_flash&#38;ctx=tracking_tracking_flash_55520</description>
		<content:encoded><![CDATA[<p><a href='http://www.google.com/support/googleanalytics/bin/static.py?page=troubleshooter.cs&amp;problem=tracking&amp;selected=tracking_flash&amp;ctx=tracking_tracking_flash_55520' >http://www.google.com/support/googleanalytics/bin/static.py?page=troubleshooter.cs&amp;problem=tracking&amp;selected=tracking_flash&amp;ctx=tracking_tracking_flash_55520</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-38098</link>
		<pubDate>Thu, 10 Apr 2008 09:42:37 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-38098</guid>
					<description>The Flash code was created for a company that will offer it to their customers. I don't have the rights, but I told them it would be a great linkbait for them to offer it for free. So far they reacted negatively and they want to keep it as their own USP.

It is however fairly easy to create one and I'll gladly offer some free advice. The real problem is in linking (fake) urls to different actions in your Flash animation.</description>
		<content:encoded><![CDATA[<p>The Flash code was created for a company that will offer it to their customers. I don&#8217;t have the rights, but I told them it would be a great linkbait for them to offer it for free. So far they reacted negatively and they want to keep it as their own USP.</p>
<p>It is however fairly easy to create one and I&#8217;ll gladly offer some free advice. The real problem is in linking (fake) urls to different actions in your Flash animation.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Robert</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-37929</link>
		<pubDate>Wed, 09 Apr 2008 13:13:36 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-37929</guid>
					<description>Hi Peter,

     Any chance us flashers might get a peek at your actionscript version so I don't reinvent the wheel?

Thanks
Robert</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>     Any chance us flashers might get a peek at your actionscript version so I don&#8217;t reinvent the wheel?</p>
<p>Thanks<br />
Robert
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: bmjnine</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-33741</link>
		<pubDate>Wed, 12 Mar 2008 18:05:29 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-33741</guid>
					<description>thank you -- exactly what i was looking for to track software installation. our installer program makes a URL request to report its status, and other installation variables, but the request is obviously not made through a browser, therefore, no javascript. this workaround is working well for me. i actually contacted GA support before finding this, and they said GA w/o javascript cannot be done, so there you go.

note: to use the latest version of GA ("ga.js" version, as opposed to the old "urchin.js" version), just update the utmwv=3 (instead of utmwv=1).</description>
		<content:encoded><![CDATA[<p>thank you &#8212; exactly what i was looking for to track software installation. our installer program makes a URL request to report its status, and other installation variables, but the request is obviously not made through a browser, therefore, no javascript. this workaround is working well for me. i actually contacted GA support before finding this, and they said GA w/o javascript cannot be done, so there you go.</p>
<p>note: to use the latest version of GA (&#8221;ga.js&#8221; version, as opposed to the old &#8220;urchin.js&#8221; version), just update the utmwv=3 (instead of utmwv=1).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ophir Prusak</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-32614</link>
		<pubDate>Mon, 03 Mar 2008 22:54:51 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-32614</guid>
					<description>Kudos!

I've just been looking into importing some external data in GA and this seems to be the solution I've been looking for.</description>
		<content:encoded><![CDATA[<p>Kudos!</p>
<p>I&#8217;ve just been looking into importing some external data in GA and this seems to be the solution I&#8217;ve been looking for.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tomasz</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-31547</link>
		<pubDate>Sun, 24 Feb 2008 21:38:27 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-31547</guid>
					<description>How about printing the urchin image HTML tag to the browser from PHP, wouldn't that work to get more accurate client data for Mobile browsers, non-javascript browsers etc. ? Has anyone tried this?</description>
		<content:encoded><![CDATA[<p>How about printing the urchin image HTML tag to the browser from PHP, wouldn&#8217;t that work to get more accurate client data for Mobile browsers, non-javascript browsers etc. ? Has anyone tried this?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Karthik</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-28035</link>
		<pubDate>Tue, 29 Jan 2008 04:35:03 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-28035</guid>
					<description>Fish,
I faced this problem for my flash based &lt;a href="http://www.yemkay.com/apps/siteanalytics/GANew.aspx"&gt;widget&lt;/a&gt;. A better approach is to construct the embeddable code as a iframe rather than the as a flash object. Let the iframe source be a PHP page called EmbedSource.php, which is hosted on your server. This PHP should return the HTML for the embedded flash movie. So, whenever the iframe is rendered on any of your user's page, your EmbedSource.php will get a request whose referral would be the hosting page. Use that url for tracking. If you use the user defined variable's slot, you won't get a consolidated  statistics of referrals.  

Regards,
Karthik</description>
		<content:encoded><![CDATA[<p>Fish,<br />
I faced this problem for my flash based <a href="http://www.yemkay.com/apps/siteanalytics/GANew.aspx">widget</a>. A better approach is to construct the embeddable code as a iframe rather than the as a flash object. Let the iframe source be a PHP page called EmbedSource.php, which is hosted on your server. This PHP should return the HTML for the embedded flash movie. So, whenever the iframe is rendered on any of your user&#8217;s page, your EmbedSource.php will get a request whose referral would be the hosting page. Use that url for tracking. If you use the user defined variable&#8217;s slot, you won&#8217;t get a consolidated  statistics of referrals.  </p>
<p>Regards,<br />
Karthik
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Motivator</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-27011</link>
		<pubDate>Mon, 14 Jan 2008 15:20:47 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-27011</guid>
					<description>I have installed this script and write redirects but have problem.

Script returns needed file but with incorrect name.

E.g. file: test.zip

In Opera sript returns file tracker.zip
In IE script returns file tracker.php

Any suggestions? Why?</description>
		<content:encoded><![CDATA[<p>I have installed this script and write redirects but have problem.</p>
<p>Script returns needed file but with incorrect name.</p>
<p>E.g. file: test.zip</p>
<p>In Opera sript returns file tracker.zip<br />
In IE script returns file tracker.php</p>
<p>Any suggestions? Why?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-23872</link>
		<pubDate>Wed, 12 Dec 2007 06:52:16 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-23872</guid>
					<description>Yes, it is possible to overwrite many variables with GA filters and from that point onwards all graphs based on those variables change as well. The IP is the only one I haven't tried to overwrite yet, but it is present in the filter list! Let me know if it works.</description>
		<content:encoded><![CDATA[<p>Yes, it is possible to overwrite many variables with GA filters and from that point onwards all graphs based on those variables change as well. The IP is the only one I haven&#8217;t tried to overwrite yet, but it is present in the filter list! Let me know if it works.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kristof De Jaeger</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-23776</link>
		<pubDate>Tue, 11 Dec 2007 16:08:15 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-23776</guid>
					<description>Apart from IP variable problem, this code really rocks! I'll bookmark this page to see if there's any progress on the IP.

About your temporary solution, do you mean that it's possible to send this IP variable along with $var_uservar and then create a filter in GA? And is GA able to create nice (country/location) graphics with this filter then ?</description>
		<content:encoded><![CDATA[<p>Apart from IP variable problem, this code really rocks! I&#8217;ll bookmark this page to see if there&#8217;s any progress on the IP.</p>
<p>About your temporary solution, do you mean that it&#8217;s possible to send this IP variable along with $var_uservar and then create a filter in GA? And is GA able to create nice (country/location) graphics with this filter then ?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-22316</link>
		<pubDate>Tue, 27 Nov 2007 08:59:57 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-22316</guid>
					<description>The Google Analytics image request URL doesn't yet support the IP variable (it is detected on Google's side), but I recently placed a request with Google. Hopefully they will introduce it soon.

User agent is an image variable that is normally detected by Javascript, so you can overwrite that one.

The best sollution is to save visitor IP to a variable like "User Defined" and then create a filter that ports that variable to the "Visitor IP Address"</description>
		<content:encoded><![CDATA[<p>The Google Analytics image request URL doesn&#8217;t yet support the IP variable (it is detected on Google&#8217;s side), but I recently placed a request with Google. Hopefully they will introduce it soon.</p>
<p>User agent is an image variable that is normally detected by Javascript, so you can overwrite that one.</p>
<p>The best sollution is to save visitor IP to a variable like &#8220;User Defined&#8221; and then create a filter that ports that variable to the &#8220;Visitor IP Address&#8221;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Vince</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-22206</link>
		<pubDate>Mon, 26 Nov 2007 19:36:43 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-22206</guid>
					<description>Hi Peter,

Good post! I want to setup google analytics on my (php generated) mobile pages. Since most mobile devices don't support javascript I want to implement it using your server side php solution.

Your stating that the server IP will appear since the call is made from my server, can't I just grab the necessary variables from the user such as IP, hostname, user agent etc and then do the post to google analytics?

If you have any ideas on this one let me know!

Thanks!

Vince</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Good post! I want to setup google analytics on my (php generated) mobile pages. Since most mobile devices don&#8217;t support javascript I want to implement it using your server side php solution.</p>
<p>Your stating that the server IP will appear since the call is made from my server, can&#8217;t I just grab the necessary variables from the user such as IP, hostname, user agent etc and then do the post to google analytics?</p>
<p>If you have any ideas on this one let me know!</p>
<p>Thanks!</p>
<p>Vince
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-12995</link>
		<pubDate>Wed, 19 Sep 2007 10:24:27 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-12995</guid>
					<description>@forkmantis: Yes that would work. Currently i'm doing the same from the used PHP file because I want to condition the choice to track or not on multiple variables. Referer is one of those variables, but I also check for bots and other stuff.</description>
		<content:encoded><![CDATA[<p>@forkmantis: Yes that would work. Currently i&#8217;m doing the same from the used PHP file because I want to condition the choice to track or not on multiple variables. Referer is one of those variables, but I also check for bots and other stuff.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: forkmantis</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-12945</link>
		<pubDate>Tue, 18 Sep 2007 22:18:30 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-12945</guid>
					<description>I'm using the onclick javascript to track downloaded files from links on my site.  However, our client often sends out email with links directly to the files, which bypasses GA altogether.  I found your page looking for some way to log data to GA from the server side.  I was pretty happy with your solution, except for losing the visitor data.

Your mention of mod_rewrite gave me an idea.  Rather than using mod_rewrite to invoke a server side call to GA, why not use it to ensure that the client executes the GA javascript, and collect all of the visitor info in the process?

Using RewriteCond on the HTTP_REFERER, I check to see if the request was local, or external.  If local, I can safely assume it's already been logged to GA w/ the onclick script, and not rewrite the URL.  If the referer was not from my site, then I use mod_rewrite to redirect to a "Your file download will begin shortly" wrapper page, w/ the proper GA code.  I just have a 1 second meta-refresh on the page that sends the file to the user.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using the onclick javascript to track downloaded files from links on my site.  However, our client often sends out email with links directly to the files, which bypasses GA altogether.  I found your page looking for some way to log data to GA from the server side.  I was pretty happy with your solution, except for losing the visitor data.</p>
<p>Your mention of mod_rewrite gave me an idea.  Rather than using mod_rewrite to invoke a server side call to GA, why not use it to ensure that the client executes the GA javascript, and collect all of the visitor info in the process?</p>
<p>Using RewriteCond on the HTTP_REFERER, I check to see if the request was local, or external.  If local, I can safely assume it&#8217;s already been logged to GA w/ the onclick script, and not rewrite the URL.  If the referer was not from my site, then I use mod_rewrite to redirect to a &#8220;Your file download will begin shortly&#8221; wrapper page, w/ the proper GA code.  I just have a 1 second meta-refresh on the page that sends the file to the user.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-10926</link>
		<pubDate>Thu, 30 Aug 2007 22:00:25 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-10926</guid>
					<description>I've recently build a Flash actionscript version of the GA code. Why doesn't Google create one?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve recently build a Flash actionscript version of the GA code. Why doesn&#8217;t Google create one?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-10925</link>
		<pubDate>Thu, 30 Aug 2007 21:59:08 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-10925</guid>
					<description>@Zigzo: PHP can handle quite alot and this is no heavy burden. But when will you need to use this for high traffic pages? It is mainly meant for pages that don't support javascript or visitors that don't. Normal visitors will still get the Javascript version of GA. Images that aren't loaded from a tracked page, RSS feeds, PDF, etc.</description>
		<content:encoded><![CDATA[<p>@Zigzo: PHP can handle quite alot and this is no heavy burden. But when will you need to use this for high traffic pages? It is mainly meant for pages that don&#8217;t support javascript or visitors that don&#8217;t. Normal visitors will still get the Javascript version of GA. Images that aren&#8217;t loaded from a tracked page, RSS feeds, PDF, etc.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Zigzo Weblogs</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-10924</link>
		<pubDate>Thu, 30 Aug 2007 21:26:39 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-10924</guid>
					<description>Just wanted to drop a line and say thank you for this.  I am going to implement and see how it works out.  One thing i am concerned about is when putting this on high traffic pages; how will php handle the extra load.</description>
		<content:encoded><![CDATA[<p>Just wanted to drop a line and say thank you for this.  I am going to implement and see how it works out.  One thing i am concerned about is when putting this on high traffic pages; how will php handle the extra load.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: matt</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-9739</link>
		<pubDate>Wed, 15 Aug 2007 08:27:28 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-9739</guid>
					<description>Hi, I'm about to implement your suggestions, but just wanted to say *thank you* for sharing this information.

The biggest need for non-javascript GA support is I believe for widget / blog-parts - which are increasing in popularity and use across the Internet.  Because these widgets / blog-parts are run from 3rd-person clients and widget / blog-part provider can't expect to send the entire urchin javascript to these clients, so far the only viable work-around is a non-javascript method of adding data to GA.

Please continue to share your tweaks on GA (esp. non-javascript ones)!</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m about to implement your suggestions, but just wanted to say *thank you* for sharing this information.</p>
<p>The biggest need for non-javascript GA support is I believe for widget / blog-parts - which are increasing in popularity and use across the Internet.  Because these widgets / blog-parts are run from 3rd-person clients and widget / blog-part provider can&#8217;t expect to send the entire urchin javascript to these clients, so far the only viable work-around is a non-javascript method of adding data to GA.</p>
<p>Please continue to share your tweaks on GA (esp. non-javascript ones)!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sampsa Suoninen</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-2741</link>
		<pubDate>Mon, 30 Apr 2007 10:30:48 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-2741</guid>
					<description>I haven't yet read your noscript-version, but it's very useful if you want to track users who don't enable JavaScript on your site. For RSS tracking I don't find it useful for the reasons André mentioned. Adding tracking to the RSS link on the other hand is quite useful.

For tracking PDF and other downloads, I prefer to use the onClick-event, but on some cases (like mobile users) I find your code to be quite valuable.

A job well done ;)</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t yet read your noscript-version, but it&#8217;s very useful if you want to track users who don&#8217;t enable JavaScript on your site. For RSS tracking I don&#8217;t find it useful for the reasons André mentioned. Adding tracking to the RSS link on the other hand is quite useful.</p>
<p>For tracking PDF and other downloads, I prefer to use the onClick-event, but on some cases (like mobile users) I find your code to be quite valuable.</p>
<p>A job well done ;)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-1333</link>
		<pubDate>Mon, 26 Mar 2007 15:37:09 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-1333</guid>
					<description>The script has been updated so the cookie information keeps up to date and the script keeps working (my previous example expired).</description>
		<content:encoded><![CDATA[<p>The script has been updated so the cookie information keeps up to date and the script keeps working (my previous example expired).
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Peter van der Graaf</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-823</link>
		<pubDate>Thu, 01 Mar 2007 10:43:51 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-823</guid>
					<description>Images and PDF links from within your website can be measured by adding an onclick event to the links. But I have some PDF files that score in Google, are linked to by other websites and are downloaded frequently. Without javascript execution it is harder to measure these requests. I do have server logs that show me much information, but now you can also use Analytics to report on this.

For RSS feeds this only shows you how many scripts or stand alone readers import your feed. This is important if you want to measure subscriptions, but clicks from RSS readers are more easily measured by using a separate URL or an &lt;a href="http://www.google.com/support/analytics/bin/answer.py?answer=27254&#038;hl=en" target="_blank"&gt;Analytics campaign tracker&lt;/a&gt;.

I have a more advanced version of the published script that tracks every PHP $_SERVER variable into the right Analytics image variable, but I'm still finetuning it and wanted André to at least see what I've got so far. I just have to find more time for the advanced version. And since I started my own company, time is hard to find.</description>
		<content:encoded><![CDATA[<p>Images and PDF links from within your website can be measured by adding an onclick event to the links. But I have some PDF files that score in Google, are linked to by other websites and are downloaded frequently. Without javascript execution it is harder to measure these requests. I do have server logs that show me much information, but now you can also use Analytics to report on this.</p>
<p>For RSS feeds this only shows you how many scripts or stand alone readers import your feed. This is important if you want to measure subscriptions, but clicks from RSS readers are more easily measured by using a separate URL or an <a href="http://www.google.com/support/analytics/bin/answer.py?answer=27254&#038;hl=en" target="_blank">Analytics campaign tracker</a>.</p>
<p>I have a more advanced version of the published script that tracks every PHP $_SERVER variable into the right Analytics image variable, but I&#8217;m still finetuning it and wanted André to at least see what I&#8217;ve got so far. I just have to find more time for the advanced version. And since I started my own company, time is hard to find.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gerben</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-822</link>
		<pubDate>Thu, 01 Mar 2007 10:19:37 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-822</guid>
					<description>But isn't it so, that you already can measure pdf downloads, and perhaps even image requests with the current analytics codes? 

So with the javascript?</description>
		<content:encoded><![CDATA[<p>But isn&#8217;t it so, that you already can measure pdf downloads, and perhaps even image requests with the current analytics codes? </p>
<p>So with the javascript?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: André Scholten</title>
		<link>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-813</link>
		<pubDate>Wed, 28 Feb 2007 14:06:51 +0000</pubDate>
		<guid>http://www.vdgraaf.info/google-analytics-without-javascript.html#comment-813</guid>
					<description>I was waiting for this post since the day you mentioned it on my site ;)

Interesting technique for measuring image en PDF requests, but I doubt if it will give you good reports for RSS. Some webbased RSS readers fetch your feed once every half hour for maybe a thousand readers.</description>
		<content:encoded><![CDATA[<p>I was waiting for this post since the day you mentioned it on my site ;)</p>
<p>Interesting technique for measuring image en PDF requests, but I doubt if it will give you good reports for RSS. Some webbased RSS readers fetch your feed once every half hour for maybe a thousand readers.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
