Not sure how you would do it but some of the items in this Smashing Magazine article would be great if they could be included in the UI for the module.

For those who don't want to read the article it shows you how to use _trackEvent() to track error messages on forms as well as 404 pages so that you can easily track down where you are getting 404's and where they are coming from as well as improving forms from the results.

http://uxdesign.smashingmagazine.com/2011/10/04/improve-the-user-experie...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hass’s picture

404 and 403 tracking is already implemented. Nothing to do.

Form error tracking would be cool, but it may become a bit tricky...

Please provide a patch.

wiifm’s picture

This is something we needed a while ago,

Instead of opting for javascript to parse the page and find error messages and then track that (which is theme specific, meaning it can break at anytime), we opted to create an API for PHP to queue messages up for the user, so the next page refresh will have the required tracking in the footer.

Currently a sandbox, but looking to promote this shortly to a full project.

http://drupal.org/sandbox/wiifm/1255850

Would also be interested in feedback from the google analytics module maintainer(s) as to whether this module could be consumed by the google_analytics module, or whether it should stand as a seperate module

hass’s picture

If I remember correctly we can grab the error messages by code. As said java script is not reliable for theming reasons... But it must be. We may had such a request in past... About search results... I have not found a way to solve by code and it was highly theme dependend... Therefore never implemented.

hass’s picture

drupal_get_messages()

hass’s picture

Status: Active » Needs review
FileSize
6.78 KB

Patch attached.

hass’s picture

hass’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.