<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Page comments</title>
		<link>http://www.ssbits.com/home/</link>
		<atom:link href="http://www.ssbits.com/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_2013</link>
			<description>I see this is an old post, but it appear to be just what I was looking for.  So I am going to ask a dumb question - where does the tracking code actually get inserted???</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_2013</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_1225</link>
			<description>Sorry, I meant it's looking for 7 or more in the first batch and 1 or more in the second batch.

Since the first batch can be as short as 5, this is where it's failing, I've also realised that my previous post has the regex from the post, rather than mine. (Copy/paste fail)

Try this one:
&quot;/UA\-[0-9]*\-[0-9]*/&quot;

</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_1225</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_1224</link>
			<description>@Jan, the reason that the regex code didn't work, is that where the number are checked, it's looking for 7 in the first batch and only 1 at the end.

Google Analytics Tracking IDs can have more than 1 digit at the end, and less than 7 in the middle.

The following regex template should match any GA ID that you throw at it. 

I'm no regex expert, just that this works for me across the different IDs I've used it with:

/UA-[0-9]{7,}-[0-9]{1,}/</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_1224</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_999</link>
			<description>One other thing: I've changed in GoogleAnalyticsExtender.php the requirements:javascript to requirements:insertHeadTags because Google Analytics asks to put your script in the head section</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_999</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_998</link>
			<description>Ok, I found my Google Analytics code did not match the criteria of the regex so the code wasn't added. If I removed the check, everything works fine. I have to find out what the correct regex-check is.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_998</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_974</link>
			<description>Hello, thanks for this interesting module. I've tried and copied everyting to my setup. I could set the analytics code in the cms, but nothing comes up in my pages.
Any idea what i could have missed?
Tnx.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_974</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_383</link>
			<description>I have developed a module based on this paper to integrate Piwik in SilverStripe  you can found here http://code.google.com/p/silverstripe-module-piwik-analytics/</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_383</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_301</link>
			<description>moloko_man,

The security for Google Analytics is based on domain verification with Google.  If you look at the page source for a major site, like, let's say Twitter, you can see their account ID in the bottom of their page source.  However, if you tried to add that ID to your page, Google would say the domain isn't verified, and you'd have to somehow either add the verification HTML or CNAME record to the twitter Server / DNS Server, respectively.

So in short, there aren't really any security issues with storing the ID like, since it's blatantly visible on the page no matter how you use it.

Hope that helps!</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_301</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_268</link>
			<description>Very simple and nice example. Thanks for this. 

A quick question on the Google Analytics Account ID.  
Is there any security issues with storing the ID in the database or is there any reason you can't declare it in your _config.php file?</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_268</guid>
		</item>
		
		<item>
			<title></title>
			<link>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_234</link>
			<description>Hi guy van bael,
Hi Vinko,

make sure in GoogleAnalyticsExtender the last &quot;JS&quot;(line 21) and the following &quot;);&quot; (line 22) are at the beginning of the line, without white space. That should solve the problem of blank page.</description>
			<pubDate></pubDate>
			<dc:creator>RSSName</dc:creator>
			<guid>http://www.ssbits.com/tutorials/2010/quick-and-easy-google-analytics-with-siteconfig/#PageComment_234</guid>
		</item>
		

	</channel>
</rss>