Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Javascript API should have trackPageView( title ) #1179

Closed
mattab opened this Issue · 2 comments

3 participants

@mattab
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

Attachment:
piwik-1179.patch

@robocoder
Collaborator

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

@mattab mattab added this to the Piwik 0.5.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.