Information Technology Reference
In-Depth Information
4.
Clicking an image for mailto action
<img src=”/images/dennis.gif” onClick=”location.href='mailto:dennis.
mortensen@evcrp.com'; _s_action('17');”>
5.
Clicking an ordinary link, track multiple actions
<a href=”http://visualrevenue.com/blog/about” onclick=”_s_
action('17;18;19');”> onclick with multiple actions</a>
For version 5, which is a whole lot more flexible, you just create a wrapper func-
tion, which you call from the onclick . the following example of clicking an image uses
the wrapper from earlier:
version 5
Visit my LinkedIN profile <a onclick=”recordaction('01')“ href=” http://www
.linkedin.com/in/dennismortensen” ><img src=”/images/linkedinlogo.gif”></a>
tracking downloads and tracking exit links sections are both done automatically
by Yahoo! Web analytics. However, there might be scenarios where you would want to
collect this as distinctive actions instead, for further and more detailed analysis.
to track downloads as actions:
<a href=” http://visualrevenue.com/blog/PDF/Best-Pratices-for-Online-Travel-
and-Hospitality.pdf” onClick=”ACTION='05'”>
44
to track exit links as actions:
<a href=”http://kaushik.net/avinash/” onClick=”ACTION='09'”>
Visitor Conversion Count Methodology
as indicated multiple places in this chapter, once you set up an action you have to
decide whether it should be treated as unique or not unique in the reporting interface.
the rationale behind providing you with a choice for how you want the actions
summed up is that different types of actions require different attitudes on how to sum
them up. even for similar actions, different companies might have different and legiti-
mate reasons for summing up differently.
envision a scenario where you would want to track downloads of a PdF white-
paper as an action. Using the on-click code example from before:
<a href=” http://visualrevenue.com/blog/PDF/Best-Pratices-for-Online-Travel-
and-Hospitality.pdf” onClick=”ACTION='05'”>
i suggest that you track it as a unique action by selecting the Unique checkbox
when naming your actions, as shown in Figure 2.10.
Unique means that, should a visitor choose to download the whitepaper three
times in the same visit, the choice is only counted once. that seems good data quality;
the visitor can only read it once.
Search WWH ::




Custom Search