Copying the Page Tagging Template

You should copy the Page Tagging Template folder before you modify any of the objects that it contains. When you use a copy of the template, you ensure that you keep the original template job and retain access to its default values. Perform the following steps to copy and prepare the page tagging template:
  1. Right-click the Page Tagging Template folder. Then, click Copy in the pop-up menu.
  2. Right-click the folder where you want to paste the template. Then, click Paste Special in the pop-up menu to access the Paste Special wizard. For example, you can paste the folder into the Shared Data folder if you want other users to have access to the new copy.
    Note: The decision to select Paste Special rather than Paste is very important. If you select Paste, then the paths in your copied job point to the same paths used in the original templates. Paste Special provides you the opportunity to change these paths while creating the copy.
    Click Next to work through the pages in the wizard. You should leave all the objects selected in the Select Objects to Copy page. The SAS Application Servers page enables you to specify a default SAS Application server to use for the jobs that you are copying. The Directory Paths page enables you to change the directory paths for objects such as SAS libraries. Click Finish when you complete the pages.
  3. Rename (if desired) and expand the new Page Tagging Template folder that was just copied. Then, open the properties window and rename the two jobs in the 2.1 Jobs folder. For example, you can gather Web log data that originates from a Web site designated as Site 1. In that case, you can rename the clk_0010_setup_page_tagging job to clk_0010_setup_page_tagging_Site1 and the clk_0020_page_tagging_detail job to clk_0020_page_tagging_detail_Site1.
  4. Expand the Data Sources folder and its subfolders to reveal the libraries used by the page tagging job. To distinguish these libraries from the original libraries used by the Page Tagging Template job, you can rename these libraries to include the site name. For example, you can rename the Additional Output - Tag library to Site1 - Additional Output - Tag.
  5. If you modified the directory paths when copying the multiple log templates, then open the renamed clk_0010_setup_page_tagging job and modify the Setup transformation properties. (Otherwise, proceed to step 6.) Then, in the Options tab, modify the values in the Root Directory and Template DirectoryName fields to match the directory paths that you specified when creating the copy of this template. If you did not change the default values, then no changes should be required.
  6. Run the renamed clk_0010_setup_page_tagging job. This job creates the necessary folders and sample data to support the renamed clk_0020_page_tagging_detail job.
  7. Open the job properties window in the renamed clk_0020_page_tagging_detail job. Then, edit the EMAILADDRESS parameter on the Parameters tab.
    • First, select the EMAILADDRESS row in the table.
    • Second, click Edit to access the Edit Prompt window.
    • Third, click on the Prompt Type and Value tab and enter the e-mail address to use for any failure notification messages in the Default value field.
    • Fourth, click OK to exit the job properties window.
  8. Open the properties window for the Clickstream Log transformation and specify the appropriate value in the File name field on the File Location tab.
At this point, you are ready to run the job.