Inserting SAS Page Tag Code

Once you have put one or more operational clickstream collection servers in place, the SAS page tag code needs to be inserted into the pages of interest for data collection. The data that is collected by this code is said to be tracked. The SAS Data Surveyor for Clickstream Data provides a robust page tag that enables the tracking of the following page components:
  • page loads (even if forward and back buttons are used)
  • link clicks
  • form data elements such as POST data (turned off by default)
  • cookie data elements such as name/value pairs and standard cookies
  • meta tag data
  • user-defined data elements such as name/value pairs
  • rich Internet application events (such as Flash and AJAX)
  • predefined data elements. For more information, see Predefined Data Elements
Most of the time, you insert a full SAS page tag that includes both the required lines and optional lines. This full tag enables you to customize your use of the clickstream collection server and collect additional types of data. For information about the various ways to insert the page code, see the sections in the remainder of this chapter.