[wp-hackers] Inserting Google Analytics into RSS with a plugin

Jeremy Clarke jer at simianuprising.com
Wed Jul 15 19:30:57 UTC 2009

That's a fair point. Anyone tried it with automattic stats?

On Wed, Jul 15, 2009 at 3:13 PM, Beau Lebens<beau at dentedreality.com.au> wrote:
>> I was thinking that it would be easy enough to insert the GA tracking
>> code into the footer of each post in the RSS feed (with a few extra
>> variables to segment the resulting data). Obviously some readers would
>> fail to use the javascript and others might strip it, but in many
>> cases it *should* work as expected, especially for people reading RSS
>> inside their browsers (which is a lot of people as I understand it).
>> So it wouldn't get every visitor, but it would at least increase our
>> readership numbers and stop us from guessing blindly about them.
> Any remotely security-conscious feed reader (even if it's
> browser-based) will strip remote JavaScript from being loaded inline.
> You might be able to emulate something with an image/tracking-pixel
> based solution tho?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Jeremy Clarke
Code and Design | globalvoicesonline.org

More information about the wp-hackers mailing list