<?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>PadiCode &#187; Analytics</title> <atom:link href="http://padicode.com/blog/category/analytics/feed/" rel="self" type="application/rss+xml" /><link>http://padicode.com/blog</link> <description>Just another WordPress weblog</description> <lastBuildDate>Thu, 08 Jul 2010 07:27:06 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>The most misleading report in Google Analytics</title><link>http://padicode.com/blog/analytics/misleading-report-google-analytics/</link> <comments>http://padicode.com/blog/analytics/misleading-report-google-analytics/#comments</comments> <pubDate>Wed, 07 Jul 2010 19:22:58 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[bounce rate]]></category> <category><![CDATA[google analytics]]></category> <category><![CDATA[reports]]></category> <category><![CDATA[top landing pages]]></category> <category><![CDATA[web analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=582</guid> <description><![CDATA[I see many times people looking at the above report and when they spot a big bounce rate  they panic. They start screaming the page is good for nothing as only 17% of the people stay on the website while the others are leaving. Sorry to tell you, but no, it&#8217;s not really like that. [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://padicode.com/blog/wp-content/uploads/2010/07/bounce-rate1.png"><img
class="alignnone size-full wp-image-585" title="bounce rate" src="http://padicode.com/blog/wp-content/uploads/2010/07/bounce-rate1.png" alt="" width="563" height="290" /></a></p><p>I see many times people looking at the above report and when they spot a big bounce rate  they panic. They start screaming the page is good for nothing as only 17% of the people stay on the website while the others are leaving.</p><p>Sorry to tell you, but no, it&#8217;s not really like that.</p><p>First, bounce rate is not calculated in reference to page views but to visits. To look at the above report and say that <strong>83.33% of  1681 people bounced is simply wrong</strong>. Just as it is to say that 83.33% of 1427 bounced (if you relate to unique views).<span
id="more-582"></span></p><h2>So, how to interpret the above report</h2><p>If you are really interested to find out how many people bounced from this page we need to find out first how many people landed on it. Bounce rate is reported only to people (actually, visit sessions) who land on a page. People that visit it by coming from another page on the same website are not counted for bounce rate (they didn&#8217;t bounce in the first place).</p><p>So, go to &#8220;Top landing pages&#8221; and check the numbers for the page you are interested in. Here is what we get for the above page:</p><p><a
href="http://padicode.com/blog/wp-content/uploads/2010/07/bounce-rate-2.png"><img
class="alignnone size-full wp-image-586" title="bounce rate 2" src="http://padicode.com/blog/wp-content/uploads/2010/07/bounce-rate-2.png" alt="" width="531" height="177" /></a></p><p>Just 5 people bounced. Really, no need to panic. <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>So, before doing radical changes on your website to improve bounce rate just make sure you got it right. Bounce rate can be a deceiving metric. If you really are interested in measuring it right, try implementing the <a
href="http://padicode.com/blog/analytics/the-real-bounce-rate/">real bounce rate in Google Analytics</a>.</p><p>Here is another article on the same topic: <a
href="http://www.youshouldtestthat.com/why-bounces-is-a-better-metric-than-bounce-rate">Why Bounces is a Better Metric than Bounce Rate</a>.</p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/misleading-report-google-analytics/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>A web analyst&#8217;s technical checklist for (re)launching a website</title><link>http://padicode.com/blog/analytics/web-analyst-technical-checklist/</link> <comments>http://padicode.com/blog/analytics/web-analyst-technical-checklist/#comments</comments> <pubDate>Wed, 30 Jun 2010 18:47:34 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[a/b testing]]></category> <category><![CDATA[Behavioral Targeting]]></category> <category><![CDATA[checklist]]></category> <category><![CDATA[Conversion Rate]]></category> <category><![CDATA[segmentation]]></category> <category><![CDATA[web analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=559</guid> <description><![CDATA[When (re)launching a website, every department of a company focuses on 2 big objectives: How not to loose what we have gained so far How to make things better than before Everybody is planing and working like crazy for the above objectives, then the new website gets launched and suddenly, all eyes are on you: [...]]]></description> <content:encoded><![CDATA[<p>When (re)launching a website, every department of a company focuses on 2 big objectives:</p><ul><li><strong>How not to loose what we have gained so far</strong></li><li><strong>How to make things better than before</strong></li></ul><p>Everybody is planing and working like crazy for the above objectives, then the new website gets launched and suddenly, all eyes are on you: the web analyst. After all, who else can answer those questions better than you?</p><p>It&#8217;s not a very good idea to wait till everything finishes and get the tracking going at the end&#8230; nope, not wise at all. You&#8217;d rather make sure you will be able to answer the above questions in detail and some more. Based on a project we have recently worked on, here&#8217;s our web analyst&#8217;s technical checklist for (re)launching a website:<span
id="more-559"></span></p><h2>Prepare for (advanced) web analytics</h2><p><a
href="http://padicode.com/blog/wp-content/uploads/2010/06/100043823_a730ba854b.jpg"><img
class="alignright size-medium wp-image-572" title="100043823_a730ba854b" src="http://padicode.com/blog/wp-content/uploads/2010/06/100043823_a730ba854b-300x300.jpg" alt="by geishaboy500 @ flickr" width="210" height="210" /></a> Start by finding out the expectations for the website of the other departments. Work with the dev team from day one to make sure that your web analytics tool will be able to report on the established KPIs.</p><p><em><strong>Tip:</strong></em> Number one priority for the projects we worked on was to be sure that we can track both micro and macro conversions.</p><p>We use the following checklist:</p><ul><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">The back-end allows for global tracking settings. This way you make sure that each page has the tracking code placed properly.</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">The global tracking can be overwritten on specific pages of the website directly from the backend</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">All actions on the website have designated <strong>Thank You</strong> pages (makes  conversions tracking a breeze)</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">Error pages are being tracked as well (404, 503, etc.)</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">Outgoing and download links can be tagged manually and/or automatically</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">eCommerce data is accessible through JavaScript (we usually request a JS array containing the eCommerce data)</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">Custom Variable data is available through JavaScript arrays (mostly used by advanced solutions like Omniture or WebTrends)</li></ul><p>When all implementations are finished, use a tool like <a
href="http://webanalyticssolutionprofiler.com/">WASP</a> to check that everything works like it is supposed to. The website should not go live unless everything is tracked accordingly. Having all that in place will offer an infrastructure that will make future tracking implementations easy.</p><p>Things don&#8217;t stop here though. Your job is not only to analyze but rather to help improve. So, the next step is to&#8230;</p><h2>Prepare for A/B testing</h2><p>Sooner or later, if you haven&#8217;t already, you are going to start A/B testing. Checkout the main tools out there for their technical requirements in order to do A/B or multivariate testing and see if the new platform will be able to handle them. Get your specs to the dev team before the work gets started as after might be too late. In case you will go with Google Website Optimizer, you will need the following:</p><ul><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">The possibility to add JavaScript snippets to any page&#8217;s footer and header;</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">The possibility to add <strong>invalid</strong> JavaScript to the body of any page;</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">The possibility to add JavaScript codes to Thank You pages or instances.</li></ul><p>Have this and you&#8217;ll be able to roll out any A/B testing campaigns in minutes. Make no mistake about it: with any website redesign testing ideas pour in like nothing you&#8217;ve seen before.</p><h2>Prepare for personalization</h2><p>This is something that very few people actually prepare for. A/B testing is not the only method out there for increasing conversion rates. Personalizing the experience for different segments of traffic and behavioral targeting have great results for boosting up conversions. So, what are the basic things you can do for having a website platform that can customize itself based on user behavior:</p><ul><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">Make a list of the possible segments of traffic you might consider for targeting</li><li
style="list-style-image: url(wp-content/uploads/2010/06/checked.gif);">Ask your developers to create a framework in which you can populate cookies with data specific to those segments</li></ul><p>What is important is just to have the framework in place&#8230; no need to populate the cookies with anything for now. However, when you will want to start behavioral targeting campaigns you should be able to do it easy and fast.</p><p>Ok, this is what we have been using so far. What about you. What do you have in your checklist for (re)launching a website?</p><p>Other great resources on the web about website (re)launch checklists, not necessarily related to analytics:</p><ul><li><a
href="http://boagworld.com/business-strategy/pre-launch-checklist">Website Prelaunch Checklist</a></li><li><a
href="http://www.boxuk.com/blog/the-ultimate-website-launch-checklist">The Ultimate Website Launch Checklist</a></li><li><a
href="http://blog.avangate.com/checklist-website-launch/">Checklist before (re)launching a website for the win!</a></li></ul><div
id="_mcePaste" style="position: absolute; left: -10000px; top: 658px; width: 1px; height: 1px; overflow: hidden;"><h1><a
href="http://www.boxuk.com/blog/the-ultimate-website-launch-checklist">The  Ultimate Website Launch Checklist</a></h1></div> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/web-analyst-technical-checklist/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>The power of user recency</title><link>http://padicode.com/blog/analytics/user-recency/</link> <comments>http://padicode.com/blog/analytics/user-recency/#comments</comments> <pubDate>Wed, 12 May 2010 07:00:19 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[Behavioral Targeting]]></category> <category><![CDATA[Conversion Rate]]></category> <category><![CDATA[google analytics]]></category> <category><![CDATA[recency]]></category> <category><![CDATA[returning visitors]]></category> <category><![CDATA[web analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=460</guid> <description><![CDATA[Web analytics tools are not about accuracy. No matter how much you try you will never get 100% accurate data. Don&#8217;t worry about it&#8230; you don&#8217;t even need it. The power of the data stays in trends and they can be satisfied with 95% or 90% or even less accuracy. However, one thing is 100% [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://padicode.com/blog/wp-content/uploads/2010/04/1358194906_9b32588751_m.jpg"><img
class="alignright size-full wp-image-530" title="1358194906_9b32588751_m" src="http://padicode.com/blog/wp-content/uploads/2010/04/1358194906_9b32588751_m.jpg" alt="by pshutterbug@flickr" width="240" height="161" /></a>Web analytics tools are not about accuracy. No matter how much you try you will never get 100% accurate data. Don&#8217;t worry about it&#8230; you don&#8217;t even need it. The power of the data stays in trends and they can be satisfied with 95% or 90% or even less accuracy.</p><p>However, one thing is 100% sure in any web analytics tool out there. When a user is being identified as a returning user, you can bet on it that that&#8217;s how it is. Don&#8217;t get me wrong here. There are returning visitors that your tool sees as new ones (they delete their cookies) but all identified as returning are definitely users that have previously visited your website.<span
id="more-460"></span></p><p>No more accuracy excuses in this area. Time to get to do some analytics work. <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Segment only for returning visitors data and let&#8217;s dive in for some insights. Here are some questions most of the web analytics tools can answer:</p><h2>How often do returning visitors come to my website?</h2><p>Here is how a tool like Google Analytics presents us this information:</p><div
id="attachment_465" class="wp-caption alignnone" style="width: 504px"><a
href="http://padicode.com/blog/wp-content/uploads/2010/04/ga-recency.png"><img
class="size-full wp-image-465 " title="ga-recency" src="http://padicode.com/blog/wp-content/uploads/2010/04/ga-recency.png" alt="" width="494" height="287" /></a><p
class="wp-caption-text">Recency Report in Google Analytics with &quot;Returning Visitors&quot; segment activated</p></div><p>Once you know how often they visit you, use this indicator to know how frequent to update the marketing campaigns to leverage a better retention. In the above image 40% of the traffic visited at least 1 day before the last visit. 10% of the visitors visited at least 8 days before.</p><p>The next thing would be segment the website traffic only for those visitors and see if they have a higher conversion rate. If yes, that&#8217;s the response for how often to update the blog or send a newsletter.</p><h2>What&#8217;s the conversion rate for your returning visitors?</h2><p>Do the returning visitors convert better than the new ones? If yes, a good strategy could be to boost up retention marketing campaigns.</p><p>When I say returning visitors I am not talking about visitors who have purchased something from you and now are coming to the website for support. Those visitors should be filtered out. Most of the analytics tools allow you to do that by using <a
href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html">custom variables</a>.</p><p>After finding the conversion rate for your returning visitors dive in to find out the following:</p><ul><li>how often does a visitor comes to your website before converting?</li><li>how many days between the first visit and the visit when he became a customer?</li><li>do returning visitors bounce more or spend less on the website?</li></ul><h2>What are the entry points of returning visitors?</h2><div
id="attachment_467" class="wp-caption alignright" style="width: 213px"><a
href="http://padicode.com/blog/wp-content/uploads/2010/04/ga-menu.png"><img
class="size-full wp-image-467 " title="ga-menu" src="http://padicode.com/blog/wp-content/uploads/2010/04/ga-menu.png" alt="" width="203" height="315" /></a><p
class="wp-caption-text">Go to Top Landing Pages while having activated the &quot;Returning Visitors&quot; advanced segment</p></div><p>I guess homepage will be the biggest hit here, but look deeper. You might discover some low hanging fruits. It can be a good idea to recheck the copy of the landing pages that are main entry points for returning visitors.</p><p>Tackle homepage as well. Some little JavaScript hacks and you will be able to offer a different heading copy or call to action to your returning visitors. Test. Experiment. Write to us <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>One thing is for sure: returning visitors don&#8217;t have the same behavior as new ones. Don&#8217;t believe? Just compare the data in your analytics tool. Now, that we got this straight, don&#8217;t you think it&#8217;s not very efficient to offer the same website experience both to new users as to returning ones?</p><h2>How can you act on it?</h2><p>Well, if you just own a blog, there are at least 2 WordPress plugins you can use to differentiate between new visitors and returning ones:</p><ul><li><a
href="http://wordpress.org/extend/plugins/what-would-seth-godin-do/">What would Seth Godin do?</a> (love this plugin name)</li><li><a
href="http://wordpress.org/extend/plugins/published-articles-since-last-visit/">Published articles since last visit </a>(I contributed to the development of this plugin as well)</li></ul><p>If you own a complex website things can be easy as well. We are <a
href="http://padiact.com/index.php?page=register">rolling out beta accounts</a> to our behavioral targeting platform which you could use to do just that: offer a different user experience to returning visitors.</p><p>So, how would you like to treat your returning visitors?</p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/user-recency/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>When to use custom variables in Google Analytics</title><link>http://padicode.com/blog/analytics/custom-variables/</link> <comments>http://padicode.com/blog/analytics/custom-variables/#comments</comments> <pubDate>Tue, 27 Apr 2010 17:58:06 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[Conversion Rate]]></category> <category><![CDATA[custom variables]]></category> <category><![CDATA[google analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=518</guid> <description><![CDATA[Custom variables make advanced web analytics possible and, when done right, can offer amazing insights on the behavior of your visitors. The concept behind custom variables is quite easy: when you know with high confidence that a user is part of a certain segment of traffic, you tag that user with a label that suits [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://padicode.com/blog/wp-content/uploads/2010/04/rubik-cube.jpg"><img
class="alignright size-medium wp-image-522" title="rubik cube" src="http://padicode.com/blog/wp-content/uploads/2010/04/rubik-cube-300x187.jpg" alt="Rubik cube by kirtaph@flicker" width="243" height="151" /></a>Custom variables make advanced web analytics possible and, when done right, can offer amazing insights on the behavior of your visitors. The concept behind custom variables is quite easy: when you know with high confidence that a user is part of a certain segment of traffic, you tag that user with a label that suits your interests.</p><p>Google Analytics changed the game of web analytics by making it accessible to everyone, but can it get you reports like the conversion rate of all the visitors that were once referred by a friend through a provided form on your website? What about the number of visitors that purchased on your website after downloading one of your whitepapers? No, it can&#8217;t, not out of the box. However, using custom variables and some little implementations on your website, the above reports are piece of cake.</p><p>What makes custom variables really good? It&#8217;s the fact that you can set them up to be persistent across sessions. So if a user downloads a pdf file today and comes and convert on your website next week, Google Analytics will be able to report that he is part of the segment of users who once downloaded a pdf. You will know his behavior across different visiting sessions.<span
id="more-518"></span></p><h2>How to start with custom variables</h2><p>One starting point can be to tag the users that micro-convert on your website. Most of the times the micro conversions happen through a form and forms make custom variables really easy to implement.</p><p><strong>Why micro-conversions?</strong> Because it already shows engagement from your visitors.</p><p><strong>What to look for?</strong> How many of the people who micro-converted got to eventually macro-convert <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> e.g. How many of the users who downloaded the trial came back to the website and bought it? How many days after? <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Yes, Google Analytics can give you this.</p><p>If the terms of micro conversions and macro conversions are still strangers to you,<a
href="http://www.kaushik.net/avinash/2008/03/excellent-analytics-tip-13-measure-macro-and-micro-conversions.html"> check out this great explanatory tutorial</a> provided by Avinash Kaushik.</p><h2>How to do it</h2><p>Just forward to your dev team the following 2 resources and they&#8217;ll know how to continue from there:</p><ul><li><a
href="http://www.lunametrics.com/blog/2010/04/15/google-analytics-custom-variables-part/">Custom Variables, Part II: The Code</a> &#8211; LunaMetrics ninjaness</li><li><a
href="http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html">Custom Variables Documentation</a></li></ul><p>Attention: Custom variables are addictive. Once you start using them, you won&#8217;t be able to stop  <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><div
id="_mcePaste" style="position: absolute; left: -10000px; top: 106px; width: 1px; height: 1px; overflow: hidden;"><h2><a
title="Permanent Link: Custom Variables, Part II: The  Code" rel="bookmark" href="http://www.lunametrics.com/blog/2010/04/23/custom-variables-part-ii-code/">Custom Variables, Part II: The Code</a></h2></div> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/custom-variables/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Form tracking and optimization</title><link>http://padicode.com/blog/analytics/form-tracking-and-optimization-2/</link> <comments>http://padicode.com/blog/analytics/form-tracking-and-optimization-2/#comments</comments> <pubDate>Tue, 06 Apr 2010 09:15:29 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[form abandonment]]></category> <category><![CDATA[form tracking]]></category> <category><![CDATA[google analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=439</guid> <description><![CDATA[On the web there are 2 main ways a visitor can interact with your website: through links and forms. Think of it as an asymmetric dialogue. Through links you offer information to the user while through forms the user sends information to you. Being asymmetric is what sucks about it, but than again, if there [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://padicode.com/blog/wp-content/uploads/2010/04/form-ex1.png"><img
class="alignright size-medium wp-image-444" title="form-ex" src="http://padicode.com/blog/wp-content/uploads/2010/04/form-ex1-300x238.png" alt="" width="240" height="190" /></a>On the web there are 2 main ways a visitor can interact with your website: through links and forms. Think of it as an asymmetric dialogue. Through links you offer information to the user while through forms the user sends information to you. Being asymmetric is what sucks about it, but than again, if there would have been an easier way, I am sure it would of have been implemented.</p><p>Most web analytics tools tend to track the outcomes of a visitor actions: the pages that load after users click a link or fill in a form. While for links I believe that is the right way to go, with forms things stay different. No matter how well optimized, there is always going to be an abandonment rate. With forms, things are a little bit more complex. So, how do we track them?</p><h2>Tracking form errors</h2><p>Tracking form filling errors is the first thing you wanna do when you want to know more about the performance of your forms. Make sure you have implemented a form validation method though. Check <a
href="http://www.elated.com/articles/form-validation-with-javascript/">this tutorial</a> on how to do it if you haven&#8217;t done it yet.<br
/> <span
id="more-439"></span><br
/> Each time a user gets an error make sure you trigger a JavaScript snippet as well that will send the data to your web analytics tool. If it is Google Analytics, use events to track the error. Here is how it could look like:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//use the following code inside your JavaScript validation function</span>
pageTracker._trackEvent<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'Form Errors'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Field Name'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'Field Error'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">//replace Field Name &amp;amp; Field Errors with their respective values</span></pre></div></div><h2>Funnel vs last filled-in field</h2><p>One of the pitfalls of tracking forms is that some analysts see forms as being funnels.Tracking them as such will get you a huge amount of data which will be not that easy to analyze. Wouldn&#8217;t it be easier to track only where users drop of, therefore the last filled-in field of the form? You&#8217;ll get less code to write (hint: <a
href="http://www.javascriptkit.com/javatutors/event5.shtml">onunload javascript function</a>) within your forms and cleaner data to analyze. Double win.</p><p>Another trick can be to use a heat map tool for your form pages. <a
href="http://www.crazyegg.com/">Crazy Egg</a> worked the best for me in the past.</p><h2>Tracking and flagging success</h2><p>A major issue with forms that use the POST method is that many times the &#8220;Thank you&#8221; page has the same URL as the form itself. Most web analytics tools track URL&#8217;s so you won&#8217;t be able to make the difference between a user loading up the form and a user completing the form. 2 things I suggest to do here:</p><ul><li>use custom tagging for successful form filling</li><li>flag the visitors who have filled up a form with success so you can track their behavior from that point on</li></ul><p>Here is one way to do it using Google Analytics on the page containing the form:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">//the following example is based in php 
//can be replicated for any other scripting language 
<span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span> 
<span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span> 
<span style="color: #003366; font-weight: bold;">var</span> pageTracker <span style="color: #339933;">=</span> _gat._getTracker<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;UA-xxxxx-x&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//use your own UA ID </span>
<span style="color: #339933;">&lt;?</span>php <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>formsuccess<span style="color: #009900;">&#41;</span> 
<span style="color: #009900;">&#123;</span> 
   $pagename<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;form-end&quot;</span><span style="color: #339933;">;</span>
   echo <span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;pageTracker._setCustomVar(1, <span style="color: #000099; font-weight: bold;">\&quot;</span>Form<span style="color: #000099; font-weight: bold;">\&quot;</span>, <span style="color: #000099; font-weight: bold;">\&quot;</span>Submitted<span style="color: #000099; font-weight: bold;">\&quot;</span>, 2);&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #006600; font-style: italic;">//flag the visitors   </span>
<span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> $pagename<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;form-start&quot;</span><span style="color: #339933;">;</span> <span style="color: #339933;">?&gt;</span> 
pageTracker._trackPageview<span style="color: #009900;">&#40;</span><span style="color: #339933;">&lt;?</span>php echo <span style="color: #009900;">&#40;</span>$pagename<span style="color: #009900;">&#41;</span> <span style="color: #339933;">?&gt;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span> 
<span style="color: #000066; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span>err<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><h2>Optimizing forms</h2><p>When it comes to optimizing forms there is a great resource out there on the web. His name is Luke Wroblewski.</p><p><a
style="float: right; margin: 0 0 0 10px;" href="http://www.lukew.com/resources/web_form_design.asp"><img
src="http://www.lukew.com/ff/content/webformdesign_med.gif" border="0" alt="web form design" /></a>He has a great <a
href="http://www.lukew.com/ff/">blog dedicated to forms</a> and user interactions. When it comes to form design I highly recommend Luke&#8217;s book about Web form usability, visual design, and interaction design considerations: <a
href="http://www.lukew.com/resources/web_form_design.asp">Web Form Design: Filling in the Blanks</a>.</p><p><br
style="clear: both;" /></p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/form-tracking-and-optimization-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Back to the basics: search engines &amp; user engagement</title><link>http://padicode.com/blog/analytics/search-engines-user-engagement/</link> <comments>http://padicode.com/blog/analytics/search-engines-user-engagement/#comments</comments> <pubDate>Tue, 09 Mar 2010 19:40:41 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[google analytics]]></category> <category><![CDATA[segments]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=409</guid> <description><![CDATA[There&#8217;s been a lot of web ink spilled on the subject of measuring user engagement. It is true there is no magic formula for measuring it, but take my word for it: when a user buys something from your web store, fills up a lead form, subscribes to your RSS feed or comments on your [...]]]></description> <content:encoded><![CDATA[<p>There&#8217;s been a lot of<em> web ink <img
src='http://padicode.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em> spilled on the subject of measuring user engagement. It is true there is no magic formula for measuring it, but take my word for it: when a user buys something from your web store, fills up a lead form, subscribes to your RSS feed or comments on your latest blog post, that user <strong>engages</strong> with your website.</p><p>Try to answer the following question: how well is your website doing when it tries to engage visitors that have a clear focus? I am talking about those visitors that land on your website by searching for a specific keyword on search engines, unrelated to your brand.</p><h2>1. Start by setting goals for each action you deem means engagement</h2><p>The following video will offer you clear details on how to do exactly that:<br
/> <object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowscriptaccess" value="always" /><param
name="src" value="http://www.youtube.com/v/cGqq4bvrxPU&amp;hl=en_US&amp;fs=1&amp;" /><param
name="allowfullscreen" value="true" /><embed
type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/cGqq4bvrxPU&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object><br
/> <span
id="more-409"></span><br
/> Here are a bunch of examples of actions on your website that can define user engagement:</p><ul
style="margin-top: 0;"><li>buying a product</li><li>filling up a form</li><li>subscribing to newsletter or RSS</li><li>sending you feedback</li><li>commenting on an article</li><li>recommending you to a friend</li><li>tweeting your content</li></ul><h2>2. Define a <em>non-brand keywords visits</em> segment: that is, visitors that land on your website when searching with keywords unrelated to your brand</h2><p>If you have never created segments before, check out<a
href="http://www.youtube.com/watch?v=wu8YzF0AM14&amp;feature=PlayList&amp;p=AFDC0271A9E3C759&amp;index=0"> this video tutorial</a>.If you are familiar with segments, dive right just in and define one just like in the following image:</p><div
id="attachment_410" class="wp-caption alignnone" style="width: 515px"><a
href="http://padicode.com/blog/wp-content/uploads/2010/03/non-branded-keywords-segment.png"><img
class="size-full wp-image-410 " title="non-branded-keywords-segment" src="http://padicode.com/blog/wp-content/uploads/2010/03/non-branded-keywords-segment.png" alt="" width="505" height="230" /></a><p
class="wp-caption-text">Replace &quot;your-brand-name&quot; with a keyword specific only to your brand</p></div><h2>3. Check out for winners and losers</h2><p>It is time to check out how well your website is doing when it comes to engaging your visitors. Apply the above segment to your Google Analytics data and dive in the following report: <em>Traffic Sources &gt; Keywords. </em>Filter for<em> non-paid</em> traffic and look at the Goal statistics, just like in the image below:</p><div
id="attachment_411" class="wp-caption alignnone" style="width: 517px"><a
href="http://padicode.com/blog/wp-content/uploads/2010/03/non-branded-traffic.png"><img
class="size-full wp-image-411 " title="non-branded-traffic" src="http://padicode.com/blog/wp-content/uploads/2010/03/non-branded-traffic.png" alt="Check out the conversion rates for each keyword" width="507" height="497" /></a><p
class="wp-caption-text">Check out the conversion rate for each keyword</p></div><p>That&#8217;s about it. Now that you know, how do you plan to improve performance?</p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/search-engines-user-engagement/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>The anatomy of a web analytics decision</title><link>http://padicode.com/blog/analytics/web-analytics-decisions/</link> <comments>http://padicode.com/blog/analytics/web-analytics-decisions/#comments</comments> <pubDate>Mon, 01 Mar 2010 15:42:23 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[avinash kaushik]]></category> <category><![CDATA[eric peterson]]></category> <category><![CDATA[web analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=369</guid> <description><![CDATA[&#8230;or the scientific approach to actionable web analytics Web analytics masters like Eric Peterson, Avinash Kaushik, Anil Batra and many others have been advocating since always for actionable web analytics. They have dedicated blogs and entire books on how not to be a reporting monkey but rather be an web analytics ninja. The road to [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://padicode.com/blog/wp-content/uploads/2010/02/2587147000_764ba55dc9.jpg"><img
class="alignright size-medium wp-image-382" title="2587147000_764ba55dc9" src="http://padicode.com/blog/wp-content/uploads/2010/02/2587147000_764ba55dc9-300x300.jpg" alt="" width="240" height="240" /></a></p><h3 style="margin-bottom: 20px;">&#8230;or the scientific approach to actionable web analytics</h3><p>Web analytics masters like Eric Peterson, Avinash Kaushik, Anil Batra and many others have been advocating since always for <strong>actionable web analytics</strong>. They have dedicated blogs and entire books on how <strong>not</strong> to be a reporting monkey but rather be an web analytics ninja.</p><p>The road to web analytics ninjaness ain&#8217;t easy. Whenever you think you get a big WOW from your web analytics data don&#8217;t just run to the IT department and tell them everything they did is plain wrong. Take a deep breath and try to answer some questions before.</p><h2>How reliable is the source of your discovery?</h2><p>This one gave me shame moments for a couple of times so far. On my dashboard I have a big widget for the conversion rate. One day, entering the web analytics solution it showed a huge drop. I got everybody in the company fired up, just to realize that nothing happened to the conversion rate. It was just a bug in our website that affected the way we measured a couple of our metrics.<br
/> <span
id="more-369"></span><br
/> Now, whenever I get WOW or OMG moments, the first thing I do is to do a WASP debugging of the pages are guilty for my WOW moment. I make sure everything is still measured correctly.</p><h2>Have the claims been verified by other departments?</h2><p>In the above scenario, when I got everybody fired up with my conversion rate drop, just before entering the CEO and giving the awful news,  the sales department told me that according to their reports, for the same day sales were up and not down. The marketing department told me that no special marketing campaigns are on so the traffic should be the same&#8230; All of them suggested me to calm down, drink some tea and go double check.</p><p>Since then, whenever I analyze revenue reports in my analytics application, I make sure to <strong>double check it with the other departments</strong>. If they confirm, now it&#8217;s the moment to get excited.</p><h2>Is this how websites work?</h2><p>This question actually helped me quite some times so far. Here is an example: A report is showing that a page has 100% bounce rate however people visiting that page bought a product in the same session. How is that possible? No, this is not how websites work. If a user bounces than he can&#8217;t convert: he is not on your website anymore. So there must be something wrong with this report</p><p>Actually, it isn&#8217;t. What is wrong is the way some people look at it. Bounce rate is calculated only for landing pages. Let&#8217;s say that page has been seen by 1000 visitors out of which 5 coming from search engines directly to the page and the others coming to it from other pages in the website. If all the 5 visitors coming from Google bounce, than we have 100% bounce rate. However, any of the other 995 users might of have bought something.</p><p>If things just don&#8217;t make sense, try to figure them out. If they don&#8217;t make sense to you, they won&#8217;t to your management as well.</p><h2>What else could be explained with the data you get?</h2><p>This is a classic one. When you see that the time spent on your website increases it doesn&#8217;t necessary means that users decided to look into more products of your website. It can also mean they don&#8217;t find what they are looking for. The same goes for increases or decreases of the pages/visit rate.</p><p>Whenever you are ready to take a decision based on the data, question yourself  if the same data can&#8217;t explain for other behaviors of your users as well.</p><h2>Where does the other evidence point to?</h2><p>The metrics you get for your website visitors are interconnected. When one metric is affected bet on it that other metrics will be affected as well. What does it mean when pages/visit increases but time spent on website doesn&#8217;t? What about the other way around? What if the drop in bounce rate has a very small impact on time on website? Does it mean people really stopped bouncing or might there be another explanation?</p><p>Whenever you want to act based on the web analytics data you have, make sure that any other metric you take to analyze, fits in your theory.</p><h2>Are you taking it personal?</h2><p>This is a tough one. As mastering the web analytics ninja way of life, your intuition becomes stronger as well; sometimes too eager to adopt new things. If during your experience the conversion rate increased only by working on the funnel, it doesn&#8217;t mean that&#8217;s the only way it can be increased.</p><p>Always question your personal beliefs and share them with seniors. Don&#8217;t take their word for it (they have their own personal beliefs) but rather use their arguments to see if your belief can still stand up.</p><h2>Conclusions</h2><p>Be scientific about it. Web analytics should not be treated as a walk in the park but again, it&#8217;s not rocket science for MIT graduates as well. Be skeptical.</p><p>What other questions/methods are you using to validate your web analytics actions?</p><p>This article idea came out while going through the <a
href="http://www.skeptic.com/">Skeptical Magazine</a>, which I recommend to any geek out there.</p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/web-analytics-decisions/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Who are your Newsletter Subscribers?</title><link>http://padicode.com/blog/analytics/newsletter-subscribers-profiles/</link> <comments>http://padicode.com/blog/analytics/newsletter-subscribers-profiles/#comments</comments> <pubDate>Mon, 15 Feb 2010 15:43:43 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[Behavioral Targeting]]></category> <category><![CDATA[email marketing]]></category> <category><![CDATA[google analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=350</guid> <description><![CDATA[Understanding who your newsletter subscribers are, is a must. The simple fact that they subscribed it means that they are interested, they care, they want to know more about you. If your newsletter quality will raise to their expectations, it will be much easier to convert them from subscribers to clients. So, who subscribes to [...]]]></description> <content:encoded><![CDATA[<p>Understanding who your newsletter subscribers are, is a must. The simple fact that they subscribed it means that they are interested, they care, they want to know more about you. If your newsletter quality will raise to their expectations, it will be much easier to convert them from subscribers to clients.</p><h2>So, who subscribes to your newsletter?</h2><p>In order to make a profile of the visitors who subscribe to your newsletter, first add a Goal to your Google Analytics implementation. A goal would be the URL of the page that says &#8220;Thank you for subscribing&#8221;. In case you use double opt-in, which I highly recommend, it is the URL address of the page that confirms the subscription.</p><p>Here is how your goal setup should look like:</p><div
id="attachment_354" class="wp-caption alignnone" style="width: 532px"><a
href="http://padicode.com/blog/wp-content/uploads/2010/02/newsletter-subscribing-goal.png"><img
class="size-full wp-image-354" title="newsletter-subscribing-goal" src="http://padicode.com/blog/wp-content/uploads/2010/02/newsletter-subscribing-goal.png" alt="Setting up a Google Analytics Goal for newsletter subscribing" width="522" height="222" /></a><p
class="wp-caption-text">Creating a Google Analytics Goal for newsletter subscribing</p></div><br
/> <span
id="more-350"></span><br
/> Gather data for one or 2 weeks (or until you have at least 100 new subscribers) and than you can run deep into profiling the newsletter subscribers. It will help you better understand the behavior of your visitors and come up with strategies to increase your subscribers list (without spamming that is).</p><h2>Define a new segment for newsletter subscribers</h2><p>In case you are not familiar with user segments in Google Analytics, take a look at this <a
href="http://www.youtube.com/watch?v=yvkvMjPJXmM">video tutorial</a>. Here is how your new segment should look like (that is if your Goal for newsletter subscribers is defined as Goal 1):</p><p><div
id="attachment_353" class="wp-caption alignnone" style="width: 528px"><a
href="http://padicode.com/blog/wp-content/uploads/2010/02/newsletter-subscribers-segment.png"><img
class="size-full wp-image-353" title="newsletter-subscribers-segment" src="http://padicode.com/blog/wp-content/uploads/2010/02/newsletter-subscribers-segment.png" alt="" width="518" height="386" /></a><p
class="wp-caption-text">Defining a segment for newsletter subscribers</p></div><p>Now, all you need to do is get back to your Analytics data, apply the newly created segment and see what you find out about the people who subscribe to your newsletter. Try to answer the following questions:</p><ul><li>Are they mostly new or returning visitors (<strong>Dashboard &gt; Visitors &gt; New vs Returning</strong>)</li><li>How many pages and how much time do they spend on the website before subscribing (<strong>Dashboard &gt; Visitors &gt; Visitor Trending</strong>)</li><li>What are the pages that are most persuasive in convincing users to subscribe (<strong>$index metric in Dashboard &gt; Content &gt; Top content</strong>)</li><li>What are the most common traffic sources for the visitors that decide to subscribe (<strong>Dashboard &gt; Traffic Sources</strong>)</li></ul><h2>How much potential are you wasting?</h2><p>After understanding your newsletter subscribers, the next step would be to see how many visitors of your website have the same behavior with your newsletter subscribers. In other words, <strong>how many people are most likely to become subscribers</strong>.</p><p>Back to the drawing board (that is the segment creating page). Generate a new segment that would define the behavior of your subscribed users. Let&#8217;s say the conclusion you get from the above study is that your newsletter subscribers are <em>new users that come mostly from search engines and visit at least 4 pages a session</em>. <strong>Create a segment for it and apply it to your website data</strong>.</p><p>Now you have the number of visitors that subscribe to your newsletter and the number of visitors that are most likely to subscribe. Check out the conversion rate from one to the other? <strong>Let&#8217;s improve on that</strong>.</p><h2>The next best thing would be to act on it</h2><p>In case you use MailChimp for delivering your newsletter, we have a free solution for you. Today we have just launched a public limited edition of our <a
href="http://padicode.com/behavioral-targeting">real time behavioral targeting platform, <strong>PadiAct</strong></a>. After defining your segment of visitors who are most likely to subscribe to your newsletter, using PadiAct, you can ask these visitors to subscribe to your newsletter. It can and it will skyrocket your subscribing rate. <a
href="http://padicode.com/blog/analytics/google-analytics-mailchimp/">Here is how it has worked</a> for one of our clients.</p><p>In case you don&#8217;t use MailChimp but you are still very interested in making this work for you as well, <a
href="http://padicode.com/blog/contact/">drop us a message</a> and we&#8217;ll see what can be done.</p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/newsletter-subscribers-profiles/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Google Analytics Implementation Checklist</title><link>http://padicode.com/blog/analytics/google-analytics-implementation-checklist/</link> <comments>http://padicode.com/blog/analytics/google-analytics-implementation-checklist/#comments</comments> <pubDate>Tue, 19 Jan 2010 22:04:10 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[ga-implementation-checklist]]></category> <category><![CDATA[google analytics]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=270</guid> <description><![CDATA[No matter if you are just about to start a new website and want to track it using the power of Google Analytics or you are one of the early adopters of the powerful web analytics platform, an implementation checklist might be handy. This series of articles comes from my own need in having a [...]]]></description> <content:encoded><![CDATA[<p>No matter if you are just about to start a new website and want to track it using the power of Google Analytics or you are one of the early adopters of the powerful web analytics platform, an implementation checklist might be handy. This series of articles comes from my own need in having a clear checklist when starting any new client with web analytics consultancy.</p><p>First thing is first. As the owner of the website, make sure you own the analytics data for it. I&#8217;ve seen many cases where consultants create the Google Analytics profile on their username and share it with the owner of the website with read only rights. When the website owner wanted to switch the consultant guess what happened?</p><p>Yep, losing your analytics data is not cool at all. So, the owner of the website should be the one who creates the Google Analytics profile and shares it with as many consultants he wishes to. You can start by using your already existing Google account or<a
href="https://www.google.com/accounts/NewAccount?service=analytics"> create a new one.</a></p><p>So, here are the checklist chapters:</p><ul><li><a
href="http://padicode.com/blog/analytics/google-analytics-tracking-code/">Implement the right tracking code and make sure you track your whole website</a></li><li><a
href="http://padicode.com/blog/analytics/tracking-traffic-sources/">Accuracy in tracking traffic sources</a></li><li><a
href="http://padicode.com/blog/analytics/goals-funnels-google/">Setting up goals, funnels and ecommerce tracking</a></li><li><a
href="http://padicode.com/blog/analytics/filters-segments-bounce-rate/">Bonus tracking tips and hacks</a> (filters, segments and others)</li></ul><p>Here is the short version of the checklist:</p><p
style="text-align: center;"><object
style="margin: 0px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=googleanalyticsimplementationchecklist-100119154737-phpapp02&amp;stripped_title=google-analytics-implementation-checklist" /><param
name="allowfullscreen" value="true" /><embed
style="margin: 0px;" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=googleanalyticsimplementationchecklist-100119154737-phpapp02&amp;stripped_title=google-analytics-implementation-checklist" allowscriptaccess="always" allowfullscreen="true"></embed></object></p><p>Let me know your feedback on it or if you would like me to cover any other aspects as well.</p> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/google-analytics-implementation-checklist/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>GA Checklist: The mighty Tracking Code</title><link>http://padicode.com/blog/analytics/google-analytics-tracking-code/</link> <comments>http://padicode.com/blog/analytics/google-analytics-tracking-code/#comments</comments> <pubDate>Sun, 17 Jan 2010 16:51:58 +0000</pubDate> <dc:creator>Claudiu</dc:creator> <category><![CDATA[Analytics]]></category> <category><![CDATA[ga-implementation-checklist]]></category> <category><![CDATA[google analytics]]></category> <category><![CDATA[tracking code]]></category><guid
isPermaLink="false">http://padicode.com/blog/?p=267</guid> <description><![CDATA[After creating a profile for your website in Google Analytics, the next step is to add the tracking code to your website. Google Analytics uses 2 different tracking codes: the old one, called urchin.js, quite limited in functionality and the new one called ga.js which Google continues to improve to higher standards quite frequently. My [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://padicode.com/blog/wp-content/uploads/2010/01/tracking-code.png"><img
class="alignright size-full wp-image-301" title="tracking-code" src="http://padicode.com/blog/wp-content/uploads/2010/01/tracking-code.png" alt="" width="279" height="151" /></a>After creating a profile for your website in Google Analytics, the next step is to add the tracking code to your website. Google Analytics uses 2 different tracking codes: the old one, called urchin.js, quite limited in functionality and the new one called ga.js which Google continues to improve to higher standards quite frequently. My recommendation is to use or switch to the <strong>ga.js code</strong>.</p><p>The tracking code is customizable in order to fit the need of any website. It has 3 mandatory elements (the javascript file, the identification code and the tracker) and lots of optional elements. In order to make sure you&#8217;ll get accurate tracking when generating your tracking code you need to see what fits your website from the following:</p><ul><li>Your website uses subdomains;</li><li>You use different domains for the same website (using this will also track subdomains);</li><li>You want to track traffic from mobile devices as well (for advanced users).</li></ul><p><span
id="more-267"></span>Google Analytics offers a great wizard on how to manage all of the above scenarios. (click the <strong>Check Status</strong> link in your website settings inside Google Analytics)</p><p><strong>Bonus</strong>: Google has pushed the boundaries of the tracking codes and developed what they call asynchronous tracking code which will make the loading time for code much faster. It is in beta, but if you are an advanced user and have no problems in understanding javascript implementation documentation I highly suggest to <a
href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html">give it a try</a>.</p><h2>Tracking your whole website</h2><p>Most of the times I diagnosed websites for the presence of the tracking code I found pages that simply weren&#8217;t tagged. This is one of the main reasons for which many website owners get their own domain as traffic source in the referring sites report in Google Analytics, but we will get back to this later.</p><p>If you have a small website you can use one of the following free services on the web: <a
href="http://www.sitescanga.com/">SiteScanGa</a> by Epikone or <a
href="http://www.gpablo.com">GPablo</a> (haven&#8217;t tried this one).</p><p>If you have a large website, things can get a little bit more complicated or more expensive. One of the options you have is to purchase a <a
href="http://webanalyticssolutionprofiler.com/buy.htm">Market Research licence for WASP</a>. If you can afford it, I recommend it especially if you use other analytics providers than Google Analytics as well.</p><p>For the free but  a little bit more technical way to do this, John Mueller has a <a
href="http://johnmu.com/analytics-everywhere/">great tutorial for it</a>.</p><h2>Troubleshooting</h2><p>Having your own domain as referrer? This is the issue that gets to be very frustrating. Most of the times it happens, as I said earlier, because some pages in the website haven&#8217;t been tagged. All the visitors that continue browsing the website after entering through those pages will be considered as referred by your domain, which technically is correct. Here are other situations when you get your own website as a referrer:</p><ul><li>temporary redirects for entrance points in the website(302)</li><li>faulty cross-domains tracking</li><li>faulty encoding when passing referring sources data</li><li>session expiration issues (visitors forgetting their browser open with your page for more than 30 minutes)</li></ul><p>This article is part of the <a
href="http://padicode.com/blog/analytics/google-analytics-implementation-checklist">Google Analytics Implementation Checklist</a> series. Here are the articles from the rest of the series:</p><ul><li><a
href="http://padicode.com/blog/analytics/tracking-traffic-sources/">Accuracy in tracking traffic sources</a></li><li><a
href="http://padicode.com/blog/analytics/goals-funnels-google/">Setting up goals, funnels and ecommerce tracking</a></li><li><a
href="http://padicode.com/blog/analytics/filters-segments-bounce-rate/">Bonus tracking tips and hacks</a> (filters, segments and others)</li></ul> ]]></content:encoded> <wfw:commentRss>http://padicode.com/blog/analytics/google-analytics-tracking-code/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 16/22 queries in 0.205 seconds using disk

Served from: padicode.com @ 2010-07-30 13:20:55 -->