The
Input pane in the
Options tab
of the Clickstream Sessionize transformation contains the
Forward Fill Columns and
Complete Fill Columns options. These options can be used to propagate values that occur
in one record within a session through to other records for which
the column does not contain a value. The
Forward Fill
Columns option only propagates values into subsequent
session records. The
Complete Fill Columns option propagates values into preceding and subsequent session records.
The example
data below demonstrates the
Forward Fill Columns function. A customer visits the main page of an online store and
then remembers receiving a promotional e-mail. The customer clicks
on a link in the promotional e-mail. As a result, the Web log records
a record with the RTC and Sn parameters. The customer then proceeds
through the site and ultimately makes a purchase, as shown in the
following:
2001-07-01 0:00:00 202.192.163.153 - GET /main/index.html ….
2001-07-01 0:01:05 202.192.163.153 - GET /store/music/d.asp?rtc=123456789
&s1=a1 &s2=a2 &s3=a3 &s4=a4 ….
2001-07-01 0:01:20 202.192.163.153 - GET /store/music/artist.asp ….
2001-07-01 0:02:35 202.192.163.153 - GET /store/music/albums.asp?artist=241
2001-07-01 0:03:14 202.192.163.153 - GET /store/music/detail.asp?album=241-001 ….
Typically, the session
data would be constructed as described in the following table:
Campaign Session Data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rtc=123456789 &s1=a1
&s2=a2 &s3=a3 &s4=a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adding
the EntrySource, EntryActionID, and S1 to S4 columns to the
Forward Fill Columns dialog box results in the values
being propagated through the subsequent records of this session. This
enables us to attribute the final result of a user’s session
with a campaign. The result is shown in the following table:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rtc=123456789 &s1=a1
&s2=a2 &s3=a3 &s4=a4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|