Javascript API should have trackPageView( title ) #1179

Closed
mattab opened this Issue Feb 28, 2010 · 2 comments

3 participants

@mattab
Piwik Open Source Analytics member

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

Attachment:
piwik-1179.patch

@robocoder

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

@mattab mattab added this to the Piwik 0.5.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment