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

Document how to enable Content Tracking by default using CustomTrackerJs #6466

Closed
mattab opened this issue Oct 19, 2014 · 2 comments
Closed
Assignees
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 19, 2014

The goal of this issue is to be able to automatically enable Content Tracking by adding custom code at the end of piwik.js using CustomTrackerJs plugin.

Steps

  • allow enable content tracking via few lines of code appended to piwik.js
    • Modify piwik.js if necessary
@mattab mattab added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label Oct 19, 2014
@mattab mattab added this to the Piwik 2.8.1 milestone Oct 19, 2014
@mattab mattab added the Critical Indicates the severity of an issue is very critical and the issue has a very high priority. label Oct 19, 2014
@tsteur
Copy link
Member

tsteur commented Oct 19, 2014

if ('undefined' !== typeof _paq) {
    _paq.push(['trackVisibleContentImpressions']);
}

should do the trick.

@tsteur tsteur closed this as completed Oct 19, 2014
@tsteur tsteur self-assigned this Oct 19, 2014
@mattab
Copy link
Member Author

mattab commented Oct 20, 2014

Kuddos Thomas for your quick answer!

How do I customise the JavaScript Tracker code on all websites at once?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

2 participants