default variables: s.pageType on 404 and 403

StephenGWills - October 24, 2007 - 15:52
Project:Omniture Integration
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Taken from http://drupal.org/node/182201

6) Error pages: "Page Not Found" or "Not Authorized" need to populate s.pageType.

#1

greggles - October 25, 2007 - 18:40
Title:Support for 404 pages needed.» default variables: s.pageType on 404 and 403
Status:active» postponed (maintainer needs more info)

What should these values be?

404 => s.pageType = errorPage?
403 => s.pageType = ?

thanks

#2

Clint Eagar - October 25, 2007 - 22:04

This is used in "pathing >> pages >> page not found" and should only be populated on 404 error pages as:
s.pageType="errorPage".

This will instruct the s_code.js to grab the URL and link it to the errorPage.

However, pre-pending all error pages with some identifier is needed for s.pageName, for example:
s.pageName="Error: Page Not Found" or s.pageName="Error: Access Denied".

This will enable a user to easily filter their most popular pages report to sort out the errors.

 
 

Drupal is a registered trademark of Dries Buytaert.