Information Technology Reference
In-Depth Information
P Table 1.3 List of Available Functions in Version 5
Name
Value
Assign titles to your web pages for reporting purposes.
YWATracker.setDocumentName(“xxx”);
Group web pages for reporting purposes.
YWATracker.setDocumentGroup(“xxx”);
Assign member IDs to your visitors.
YWATracker.setMemberId(“xxx”);
Set custom actions (goals); naming is done as a setting.
YWATracker.setAction(“xxx”);
Set revenue total sum.
YWATracker.setAmount(“xxx”);
Set the order ID of a purchase.
YWATracker.setOrderId(“xxx”);
Set the tax value on a visitor's purchase.
YWATracker.setTax(“xxx”);
Set the shipping charges on a visitor's purchase.
YWATracker.setShipping(“xxx”);
Set the potential discount on a visitor's purchase.
YWATracker.setDiscount(“xxx”);
Set the unique SKU for specific products sold. Other
information is uploaded.
YWATracker.setSKU(“xxx”);
Set the number of units sold.
YWATracker.setUnits(“xxx”);
Set the individual revenue if multiple items were sold in
the same purchase session.
YWATracker.setAmounts(“xxx”);
24
This variable allows you to use custom fields and to add
your specific tracking variables to the standard variables
already available in the system.
YWATracker.setCF(1, “xxx”);
YWATracker.setCF(2, “xxx”);
This variable allows you to track the URL of a referring
campaign even though the website is set to remove the
tracking string.
YWATracker.setCmpQuery(“xxx”);
This variable helps you track websites that have different
subdomains and third-level domains. If you set the
setDomains function to equal wildcard (*) + the main
domain name, e.g., YWATracker.setDomains(“*.
abc.net”) , all the subdomains will not be counted as
exit links but as part of the main domain.
YWATracker.setDomains(“xxx”);
This variable is used for recording the location of the
Flash object. This variable should be used when the
location of the Flash object cannot be determined by
the URL.
YWATracker.setFlashUrl(“xxx”);
This variable is used to track internal search phrases and
has to be inflated on the internal search results page.
YWATracker.setISK(“xxx”);
This variable is used to track the number of internal
search results and has to be inflated on the internal search
results page.
YWATracker.setISR(“xxx”);
i expect by now that you have a clear understanding of what the tracking script
is, its flexibility, and the vast opportunities for reporting and analysis, given this type
of enhancement. We have yet to explain it in detail, so let's quickly move on to content
and advanced conversion tracking in the next chapter.
Search WWH ::




Custom Search