Web analytics in practice

Analytics in the real world

    • 0
      17 May 2011

      How widespread is IPv6?

      • Edit
      • Delete
      • Tags
      • Autopost

      I've recently been asked about our tool vendor, Omniture, and their support for IPv6. It seems they currently don't support it, but are working towards it.

      Does anyone know the current proportion of mainstream traffic coming through IPv6?

      There's a bunch of data you'd lose with people coming from IPv6 endpoints. Most critically would be any Geo-IP mapping you're doing. If you're using IP addresses for visitor identification (and please don't!) you'll also have problems.
      • views
      • Tweet
    • 0
      10 May 2011

      Omniture: execute plugin code only on page views

      • Edit
      • Delete
      • Tags
      • Autopost

      Omniture uses the term "plugin" to refer to a few different things. In this example, I'm talking about the plugins placed in the s_doPlugins function in your s_code.js file. This area is run whenever Omniture code is called, whether it by an s.t() page view call, an s.tl() link call or an something like ClickMap.

      My problem was that I wanted to trigger some code to run only when there's a page view and not in any other circumstances. Useful, for example, if you want to fire off something to another analytics system only for page views, or you've got some code that only makes sense for pages.

      The trick is to test for the value of s.eo, which contains the object associated with the link. So when you do an s.tl() and pass in the linked item (usually with "this") it'll become the value on s.eo. Page views don't have this link, and items that don't define it end up with a value of "0". That means this is an effective test to see if the current call is a page view.

      Anyone know a better way to do this? Perhaps a way to definitively differentiate between the different types of call?

       

      function s_doPlugins(s) {
              // Only run this code on page views
              if (s.eo === undefined) {
                      // Your code goes here
              }
      }

       

      • views
      • Tweet
    • Search

    • Sites I Like

      • My personal blog
      • My home page
      • My LinkedIn
    • Tags

      • omniture
      • code
      • cookies
      • google analytics
      • ipv6
      • video
    • Archive

      • 2012 (4)
        • May (1)
        • April (3)
      • 2011 (6)
        • May (4)
        • April (2)
    • Contributors

      Simon Rumble
    • Obox Design
  • Web analytics in practice

    I decided to create a separate blog specifically dealing with web analytics. I often come up with cool little hacks, or interesting approaches, during the course of my work and they're likely to be of interest to other practitioners.

    Most examples of web analytics implementations presented by vendors portray a perfect world where you have everything under your control, changes happen without problems, developers can actually read whole sentences. Here in the real world, things are more complicated...

    526 Views
  • Get Updates

    Subscribe via RSS
    TwitterLinkedIn