@mattab opened this Issue on February 28th 2010 Owner

The current JS Tracking API is missing an easy way to dynamically record a page view with a custom title.

Currently, one can do

onClick on a photo {
  tracker.setDocumentTitle ("clic photo");
  tracker.trackPageView();

when a click is made on a photo eg.

He would then also have the standard Javascript tracker in the footer to record the call.

Instead, one should be able to do

onClick on a photo {
  tracker.trackPageView(title);
}

This title would overwrite other titles set by calling setDocumentTitle() previous to this call.

@pebosi commented on March 1st 2010 Contributor

Attachment:
piwik-1179.patch

@robocoder commented on March 1st 2010 Contributor

(In [1879]) fixes #1179 - add trackPageView(customTitle) to JavaScript API

This Issue was closed on March 1st 2010
Powered by GitHub Issue Mirror