Information Technology Reference
In-Depth Information
c
arry-over until Any next Action occurs
c
arry-over until next defined Action occurs
the process becomes a bit hairy when we think about the option to carry-over
until the next defined action occurs. the system will hold the value for the custom
field, such as the From Airport field, until another defined action, such as a flight
search, occurs. the reason for doing so involves attribution; you can define and attri-
bute success to certain actions. In this example it would be of great value if you could
attribute actual bookings to searches for flights. And for that to happen, you would
have to use carry-over until next defined Action occurs.
Adding a new custom field is shown in Figure 5.5. notice the option for attri-
butes such as carry-over or no carry-over.
113
Figure 5.5 Adding a custom field
Here are the variables needed for our search for Flights form shown in Figure 5.1:
version 4
var DOCUMENTGROUP='Search'; //(All Search related pages)
var DOCUMENTNAME='Flight Search Result Page'; //(The specific flight SERP)
var ACTION='07'; // (action number for flight search)
var MEMBERID='dennis.mortensen@evcrp.com'; //(represent member ID)
var _s_cf01='NYC'; //(represent From Airport)
var _s_cf02='SFO'; //(represent To Airport)
var _s_cf03='1'; //(represent The number of Travelers)
var _s_cf04='Business'; //(represent Cabin type)
version 5
YWATracker.setDocumentGroup(“Search“); //(All Search related pages)
YWATracker.setDocumentName(“Flight SERP“); //(The specific flight SERP)
YWATracker.setAction(“07“); //(action number for flight search)
YWATracker.setMemberId(“dennis.mortensen@evcrp.com“); //(represent member ID)
YWATracker.setCF(1, “NYC“); //(represent From Airport)
YWATracker.setCF(2, “SFO“); //(represent To Airport)
YWATracker.setCF(3, “1“); //(represent The number of Travelers)
YWATracker.setCF(4, “Business“); //(represent Cabin type)
note that the variables _s_cf01 , _s_cf02 , and so on are always lowercase in the
version 4 code example.
Search WWH ::




Custom Search