diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-07-17 06:30:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-17 06:30:49 +0300 |
commit | b6b66f05bc0992915c3335aacd2a24284a564722 (patch) | |
tree | 26c58f5af66c852d340fdd497f697b662d53a7da /CHANGELOG.md | |
parent | e4cefc4496a272b158436e7dfe15fb2c70de09ce (diff) |
Added API method to get a single goal (#10305)
* added method to get a goal
* always fetch goal directly to not having to iterate over all goals
* added new changelog entry for devs
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cace52ee3c..322877da61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The Product Changelog at **[piwik.org/changelog](http://piwik.org/changelog)** l ### New APIs * Multiple JavaScript trackers can now be created easily via `_paq.push(['addTracker', piwikUrl, piwikSiteId])`. All tracking requests will be then sent to all added Piwik trackers. [Learn more.](http://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers) * It is possible to get an asynchronously created tracker instance (`addTracker`) via the method `Piwik.getAsyncTracker(optionalPiwikUrl, optionalPiwikSiteId)`. This allows you to get the tracker instance and to send different tracking requests to this Piwik instance and to configure it differently than other tracker instances. + * Added a new API method `Goals.getGoal($idSite, $idGoal)` to fetch a single goal. ### Internal change * `piwik.js`, if you call the method `setDomains` note that that the behavior has slightly changed. The current page domain (hostname) will now be added automatically if none of the given host alias passed as a parameter to `setDomains` contain a path and if no host alias is already given for the current host alias. |