Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript API should have trackPageView( title ) #1179

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

Javascript API should have trackPageView( title ) #1179

mattab opened this issue Feb 28, 2010 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Feb 28, 2010

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
Copy link
Contributor

pebosi commented Mar 1, 2010

Attachment:
piwik-1179.patch

@robocoder
Copy link
Contributor

(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
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

3 participants