<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Creyn &#187; GoogleAnalytics</title>
	<atom:link href="http://blog.creyn.pl/tag/googleanalytics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.creyn.pl</link>
	<description>Programmer&#039;s notes</description>
	<lastBuildDate>Mon, 22 Aug 2016 07:00:21 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.38</generator>
	<item>
		<title>How to add Google Analytics to WordPress blog, part 2: configure blog</title>
		<link>http://blog.creyn.pl/2016/06/13/how-to-add-google-analytics-to-wordpress-blog-part-2-configure-blog/</link>
		<comments>http://blog.creyn.pl/2016/06/13/how-to-add-google-analytics-to-wordpress-blog-part-2-configure-blog/#comments</comments>
		<pubDate>Mon, 13 Jun 2016 21:00:39 +0000</pubDate>
		<dc:creator><![CDATA[creyn]]></dc:creator>
				<category><![CDATA[Around dev world]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[GoogleAnalytics]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.creyn.pl/?p=496</guid>
		<description><![CDATA[This is the second post from the series about adding the &#8220;Google Analytics&#8221; to the &#8220;WordPress&#8221; blog. In the first post (http://blog.creyn.pl/2016/06/07/how-to-add-google-analytics-to-wordpress-blog-part-1-registration/) we have registered to the &#8220;Google Analytics&#8221; service and acquired a new &#8220;Tracking ID&#8221; for our blog. Now we have to configure our blog to include that &#8220;Tracking ID&#8221; on every page that we want to have...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">This is the second post from the series about adding the &#8220;<strong>Google Analytics</strong>&#8221; to the &#8220;<strong>WordPress</strong>&#8221; blog. In the first post (<a href="http://blog.creyn.pl/2016/06/07/how-to-add-google-analytics-to-wordpress-blog-part-1-registration/" target="_blank">http://blog.creyn.pl/2016/06/07/how-to-add-google-analytics-to-wordpress-blog-part-1-registration/</a>) we have registered to the &#8220;<strong>Google Analytics</strong>&#8221; service and acquired a new <strong>&#8220;Tracking ID&#8221; </strong>for our blog. Now we have to configure our blog to include that <strong>&#8220;Tracking ID&#8221;</strong> on every page that we want to have analytics on. This actually means that we will add it to all of our pages and posts.</p>
<p style="text-align: justify;">So let&#8217;s go to the second step: Configure blog with the Tracking ID.</p>
<h4 style="text-align: justify;">Step 2: Configure blog</h4>
<p style="text-align: justify;">In the first step, on the <strong>&#8220;Google Analytics&#8221;</strong> website (<a href="https://analytics.google.com/analytics/web/#management/Settings" target="_blank">https://analytics.google.com/analytics/web/#management/Settings</a> &gt; <strong>&#8220;Tracking Info&#8221;</strong> &gt; <strong>&#8220;Tracking Code&#8221;</strong>), right next to the <strong>&#8220;Tracking ID&#8221;</strong> we&#8217;ve found a <strong>&#8220;Tracking Script&#8221;</strong> that could be used to configure our blog.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-456" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_6.png" alt="PK_6" width="894" height="273" /></p>
<p style="text-align: justify;"><div class='warning2'></p>
<p style="text-align: justify;">For blogs hosted on the <a href="https://wordpress.com/" target="_blank">https://wordpress.com/</a> there is an instruction how to enable the &#8220;<strong>Google Analytics</strong>&#8221; and how to properly configure it. You can find it here: <a href="https://en.support.wordpress.com/google-analytics/" target="_blank">https://en.support.wordpress.com/google-analytics/</a>.</p>
<p style="text-align: justify;"></div></p>
<p style="text-align: justify;">My blog is a so called &#8220;self hosted&#8221; version. This is an installation on a hosting platform that I paid for and have more controll over my blog. There are many ways to put the tracking code on every webpage. There are many plugins to do it. I decided to try a simple one that inserts snippets of source code in the header and the footer on each webpage. As I didn&#8217;t have it before, I had to install it from the <strong>&#8220;WordPress&#8221;</strong> plugins repository. If you want to follow, please go to the &#8220;<strong>Plugins &gt; Add New</strong>&#8221; section and look for the &#8220;<strong>Header and Footer</strong>&#8221; plugin. The search engine should return many similar plugins but this is the most popular one and has the 5 star score. After installing it, we can find it in the &#8220;<strong>Settings &gt; Header and Footer</strong>&#8221; section.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-458" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_8.png" alt="PK_8" width="157" height="134" /></p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-459" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_9.png" alt="PK_9" width="575" height="253" /></p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-460" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_10.png" alt="PK_10" width="316" height="267" /></p>
<p style="text-align: justify;">From the screenshoot below you can see that it is very customizable and has many options for inserting snippets of code on dfferent pages. I&#8217;ve choosen the &#8220;<strong>&lt;HEAD&gt; Section Injection</strong>&#8221; which inserts code on <strong>&#8220;</strong><strong>Every&#8221;</strong> page of my blog.  Here you have to paste the auto generated <strong>&#8220;</strong><strong>Tracking Script&#8221;</strong> from the &#8220;<strong>Google Analytics</strong>&#8221; website.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-461" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_11.png" alt="PK_11" width="760" height="332" /></p>
<p style="text-align: justify;">After this is done we could check if the setup is correct. First go to one of your blog posts and then open the &#8220;<strong>View page source</strong>&#8221; from the browser (you can press <strong>Ctrl+U</strong> on the keyboard, it should work in most browsers). You can now see that the script was succesfully inserted on my &#8220;<a href="http://blog.creyn.pl/2015/06/14/fog-in-warsaw/" target="_blank">Fog in Warsaw</a>&#8221; blog post.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-462" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_12.png" alt="PK_12" width="638" height="248" /></p>
<p style="text-align: justify;">On the &#8220;<strong>Google Analytics</strong>&#8221; reporting page (here: <a href="https://analytics.google.com/analytics/web" target="_blank">https://analytics.google.com/analytics/web</a>) we can also see that the script is working and the statistics are send to Google. Please go to the &#8220;<strong>Reporting &gt; Real Time &gt; Conversions</strong>&#8220;. In my case there is already one visitor showing in this report.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-463" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_13.png" alt="PK_13" width="586" height="427" /></p>
<p style="text-align: justify;">The reports in other reporting sections are shown with some delay and can not be shown from the very beginning. But it will be there tomorrow. Now we could start promote our blog posts and see which one is the most popular.</p>
<p style="text-align: justify;">To sum up, I already had the &#8220;<strong>Jetpack</strong>&#8221; plugin statistics for my &#8220;<strong>WordPress</strong>&#8221; blog but I have the feeling that they are very simple and I hope that the &#8220;<strong>Google Analytics</strong>&#8221; will give me much more insight into my visitors preferences. We&#8217;ll see. And as it turned out, adding GA to my blog was very easy.</p>
<p style="text-align: justify;">C.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creyn.pl/2016/06/13/how-to-add-google-analytics-to-wordpress-blog-part-2-configure-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add Google Analytics to WordPress blog, part 1: registration</title>
		<link>http://blog.creyn.pl/2016/06/07/how-to-add-google-analytics-to-wordpress-blog-part-1-registration/</link>
		<comments>http://blog.creyn.pl/2016/06/07/how-to-add-google-analytics-to-wordpress-blog-part-1-registration/#comments</comments>
		<pubDate>Tue, 07 Jun 2016 14:00:54 +0000</pubDate>
		<dc:creator><![CDATA[creyn]]></dc:creator>
				<category><![CDATA[Around dev world]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[GoogleAnalytics]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.creyn.pl/?p=437</guid>
		<description><![CDATA[In this short series of posts I will show you how to enable the &#8220;Google Analytics&#8221; statistics on your blog. I am writing about the &#8220;WordPress&#8221; blog but this could be easilly adopted for any other blog platform and static websites that you have. The &#8220;Google Analytics&#8220; is a platform that gives a very detailed insight in the...]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;">In this short series of posts I will show you how to enable the &#8220;<strong>Google Analytics&#8221;</strong> statistics on your blog. I am writing about the <strong>&#8220;WordPress&#8221;</strong> blog but this could be easilly adopted for any other blog platform and static websites that you have. The &#8220;<strong>Google Analytics</strong><strong>&#8220;</strong> is a platform that gives a very detailed insight in the statistics of the traffic on a website. It is usefull to have more knowledge about your users, their preferences and which content of your blog is the most popular. After all you probably write a blog for someone to read and maybe you should consider writing more posts about what your readers are looking for when comming to your site.</p>
<p style="text-align: justify;">In this post I&#8217;ll focus on the first step that is needed: Registration to the &#8220;<strong>Google Analytics</strong>&#8220;.</p>
<h4 style="text-align: justify;">Step 1: Register</h4>
<p style="text-align: justify;">For the &#8220;<strong>Google Analytics</strong>&#8221; the registration process is actually very simple and it is summarized on this graphic below:</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-451 size-full" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_1.png" alt="PK_1" width="1346" height="348" /></p>
<p style="text-align: justify;">First you will need a &#8220;<strong>Google</strong>&#8221; account. I assume you have one already or know how to register for a new one. Then you need to go to the page: <a href="https://www.google.com/analytics/" target="_blank">https://www.google.com/analytics/</a> and login using that account. When logged in you need to go trought a very simple wizard process that helps you create and configure the account.</p>
<p style="text-align: justify;">First step is choosing if the setup will be for a Mobile App or a Website. In case of a blog let&#8217;s choose the &#8220;<strong>Website</strong>&#8221; option. Then you have to set an &#8220;<strong>Account Name</strong>&#8221; and &#8220;<strong>Website Name</strong>&#8220;. Those are for you to differentiate with some other analytics that you might want to have (for example a second blog or some static websites). The &#8220;<strong>Website URL</strong>&#8221; is the URL of your blog. You can copy paste the URL from your blog homepage address (like I did here). The &#8220;<strong>Industry Category</strong>&#8221; section will help Google to prepare some basic raports for you. The last thing is to choose the &#8220;<strong>Reporting Zone Time</strong>&#8220;. You can choose you country and all reports will be properly recalculated to your timezone.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-452" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_2.png" alt="PK_2" width="684" height="657" /></p>
<p style="text-align: justify;">Next thing is to allow Google to gather and share some statistics to help them to imrove their service. I allowed for all of them. And after clicking &#8220;<strong>Get Tracking ID</strong>&#8221; and accepting some &#8220;<strong>Terms of Service Agreement</strong>&#8221; you will be send to a new website and the <strong>&#8220;Tracking ID&#8221;</strong> will be generated for you.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-453" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_3.png" alt="PK_3" width="718" height="574" /></p>
<p style="text-align: justify;">The &#8220;<strong>Tracking ID</strong>&#8221; is very important. This is an identificator that allows Google to track users on your website. Below the &#8220;<strong>Tracking ID</strong>&#8221; is a section with the JavaScript code. You can just copy paste it on the web page that you want to have tracking enabled. In my case, I want to put it on every page on my blog.</p>
<p style="text-align: justify;"><img class="aligncenter size-full wp-image-455" src="http://blog.creyn.pl/wp-content/uploads/2016/06/PK_5.png" alt="PK_5" width="1276" height="624" /></p>
<p style="text-align: justify;">How to do it I will show you in the next post. For now you could play around with the nice <strong>&#8220;Google Analytics&#8221;</strong> website. They have many video tutorials and informations about each report. Even a quick look at the available options will give you the idea of the things you can learn about your visitors. And there are a lot of them.</p>
<p style="text-align: justify;">C.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creyn.pl/2016/06/07/how-to-add-google-analytics-to-wordpress-blog-part-1-registration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
