wa-page-view-examples

From Microformats Wiki
Revision as of 17:02, 29 October 2009 by Metafeather (talk | contribs) (New page: = Web Analytics Page View - Examples = This page captures common patterns in declaration of variables for use by Web Analytics products. == The Problem == Many web sites add JavaScript ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Web Analytics Page View - Examples

This page captures common patterns in declaration of variables for use by Web Analytics products.

The Problem

Many web sites add JavaScript variables and text to web pages that categorise the content for measurement by web analytics products such as Google Analytics.

Participants

  • Liam Clancy

Real-World Examples

Links to public web pages, either popular or insightful

Site Homepage

The most basic usecase. In the below examples the content of the webpage page is being identified as a Homepage for reporting in various products, ignoring the URL, HTML <title> or <h1> elements for this value.

Google Analytics documentation:

<script type="text/javascript">
   pageTracker._trackPageview('/homepage');
</script>

Omniture Homepage using SiteCatalyst:

<script type="text/javascript">
  s.pageName='Omniture: Homepage';
  s.channel='Home';
  s.prop6='English';
</script>

[Webtrends Homepage] using Analytics:

<script type="text/javascript">
  WT.pn = "Homepage";
</script>

and also recommends

  <META NAME="WT.pn" CONTENT="Homepage">

Bank of America Homepage using Coremetrics Web Analytics:

<script type="text/javascript">
cmCreateRegistrationTag(null, 
  'ngen-personal', 
  '20090429:0:E:16CB099F-1520-01f4-00000000BFA6871D', 
  false, 
  null,
  null,
  'homepage'); // page name argument
</script>

Existing Practices

  • Summary of common patterns discovered
  • Other attempts to solve The Problem

Proposal

  • Early drafts
  • Link to related pages as they become available
    • -brainstorming
    • - proposal
    • -microformat

See Also