Information Technology Reference
In-Depth Information
i am sure you noticed that an action can be set as unique. i will discuss action
naming and visitor count methods later in this chapter.
Tracking Multiple Sales Actions During the Same Visit
this might sound like an inconceivable scenario: having a customer buy a widget, and
then within the same visit, having the same customer buy another widget. i am actually
quite happy to say that this happens more often than you would think, and to an extent
where Yahoo! Web analytics has developed instrumentation to take advantage of it.
if you track multiple sales on the same page during the same visit, you have
to make sure that your ORDERID is unique. if your ORDERID value is fixed, you need to
remove the variable altogether as it will otherwise not be recorded by the second sale
action.
keep in mind that this is closely connected to your choices and attitudes regard-
ing how to count conversions in one visit (two sales or just one?). i will explore the
topic of visitor conversion count methodology later in this chapter. But as a quick note,
if you configure the sale actions on the page with multiple sale actions as Unique, then
the reporting interface will display the number of unique sale actions in all the conver-
sion reports. the only exception is the Conversion summary report, which displays the
total number of actions and the number of unique actions.
if you configure the sale actions on the page with multiple sales as not Unique,
then the reporting interface will display the total number of sale actions in all the
conversion reports. this will increase your conversion rate—not that this is bad, you
should just be fully aware of what kind of numbers you are looking at. therefore,
in order to avoid this, i strongly suggest that you always configure the sale action as
Unique if you have pages with multiple sales.
38
Tracking Multiple Occurrences of the Same Action on a Web Page
now we are ready to move beyond just looking at the visit as a whole, as we've been
doing, and into tracking multiple occurrences of the same action on the same page,
whether a fixed or a custom action. once you need to track multiple occurrences of the
same action on a web page, you are required to move beyond the fixed tracking script
introduced in Chapter 1. You are required to set up a tracking script object—which is
super exciting, as you are now able to splash the code around the page as you want. and
please take a mental note, as this is down the same alley as tracking more advanced
ajax elements, which we will talk about later in Chapter 5, “advanced instrumentation.”
Ajax
Ajax, Asynchronous JavaScript and XML, is a group of interrelated web development techniques
used for creating interactive web applications or rich Internet applications.
Search WWH ::




Custom Search