Not able to customize the string returned by trackPageView in Drupal

Hi All,

I’d really appreciate your help on this.

I have a website for which I have used Piwik to keep track of javascript events, e.g., button clicks, tab clicks. For each of the event that I’d like to track, I have a line of “piwikTracker.trackPageView(‘name of the event’);” in the event handler function. It has all been working fine, until I migrate my website into the Drupal framework. Now the tracking still works, but when I check the log, it only shows the title of a particular page, instead of the event names that I have passed in as the parameter to the trackPageView() function. Help please!

I’ve tried both using the Piwik module for Drupal and embedding the tracking code directly in the page. Neither of them works.