Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Implementing Google Analytics on a Drupal site

Related Books

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

Implementing Google Analytics on a Drupal site

  1. 1. Scaling Drupal Implementing Google Analytics
  2. 2. Starting Point <ul><li>Drupal 5.2 </li></ul><ul><li>Google Analytics </li></ul><ul><li>AWStats </li></ul>
  3. 3. Drupal Google Analytics Module <ul><li>Not updated in a timely fashion when GA js is updated </li></ul><ul><li>Not recommended! </li></ul>
  4. 4. Recommended Implementation <ul><li>Load GA js on all pages via template file </li></ul><ul><li>Invoke GA js as low as possible on each page </li></ul><ul><li>Reporting results tweak </li></ul><ul><ul><li>Move GA js to web server </li></ul></ul><ul><ul><li>Load GA js from web server </li></ul></ul><ul><ul><li>Invoke GA js as high as possible on each page </li></ul></ul>
  5. 5. Implementation Validation <ul><li>AWStats </li></ul><ul><ul><li>Configure to generate accurate page view counts e.g. exclude xmlrpc.php, *.js, *.css, etc </li></ul></ul><ul><ul><li>May be higher than GA number, because of: </li></ul></ul><ul><ul><ul><li>Visitors that bounce from the site before the GA script runs </li></ul></ul></ul><ul><ul><ul><li>Visitors that disable js and cookies </li></ul></ul></ul><ul><ul><ul><li>Misc </li></ul></ul></ul>
  6. 6. Setting up a GA account <ul><li>Register at http://www.google.com/analytics/ </li></ul><ul><li>Add GA js to pages </li></ul><ul><li>GA can take up to 24 hours for data to populate at first *and* thereafter </li></ul>
  7. 7. Extending your analytics <ul><li>GA User Defined Segments </li></ul><ul><ul><li>Anonymous vs. registered vs. other </li></ul></ul><ul><li>GA Benchmarking </li></ul><ul><li>Google Webmaster Tools </li></ul><ul><li>CrazyEgg, Quantcast, Alexa, Etc </li></ul><ul><li>Voxant - video </li></ul><ul><li>Clearspring - widgets </li></ul>
  8. 8. Analytics Highpoints <ul><li>Pages per visit 5+ good, 10+ great </li></ul><ul><li>Time on site 5 minutes+ good, 10 minutes+ great </li></ul><ul><li>Bounce rate < 30% fantastic, 30% - 50% good, 50% - 70% room for improvement, 70%+ something is wrong </li></ul><ul><ul><li>Bounce rate under 5% means you have a fantastic site or something is wrong, under 1% something is definitely wrong </li></ul></ul>
  9. 9. Summary <ul><li>Always validate Google Analytics numbers </li></ul><ul><li>There is no such thing as a free lunch </li></ul><ul><li>Google Analytics is great at some point(s) in a company’s lifecycle, but eventually you’ll need to move to commercial tools </li></ul><ul><li>Test in multiple browsers to make sure the GA placement is optimal </li></ul><ul><li>When adding javascript to pages retest GA functionality </li></ul>
  10. 10. Contact <ul><li>Arman Anwar, Director of Systems Development </li></ul><ul><li>[email_address] </li></ul><ul><li>Marc Benton, Director of Product Development </li></ul><ul><li>[email_address] </li></ul><ul><li>Andy Forbes, CTO </li></ul><ul><li>[email_address] </li></ul>

×