diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-06-18 10:13:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 10:13:14 +0300 |
commit | 8838d5597d2fd5c6c8e50e8ef25033d3366bd4ca (patch) | |
tree | f631ac4f31eb8daaea54f547d4eeee3d1c63a3f6 /CHANGELOG.md | |
parent | b4cf4587cd49a80f2c29a1592ef0e100c9927630 (diff) |
Mention few more changes in changelog (#16085)
We might always support them, but also possible we remove them in say 5 years. Therefore better to document it.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a69fdb8092..985bb5fd19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,15 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)* * The JS Tracker init method `piwikAsyncInit` has been deprecated and `matomoAsyncInit` should be used instead. * The JS object `window.Piwik` has been deprecated and `window.Matomo` should be used instead. +#### Recommendations for Matomo JS tracker + +The following changes are recommendations and don't have to be done as we will still support them for many years. However, it could change in the future. + +* If using the `piwik_ignore` css class to ignore outlinks we recommend replacing it with `matomo_ignore` +* If using the `piwik_download` css class to mark a link as download we recommend replacing it with `matomo_download` +* If using content tracking, we recommend replacing the following CSS classes should they be used `piwikTrackContent`, `piwikContentPiece`, `piwikContentTarget`, and `piwikContentIgnoreInteraction` with `matomoTrackContent`, `matomoContentPiece`, `matomoContentTarget`, and `matomoContentIgnoreInteraction`. +* We also encourage using the `matomo.js` JS tracker file instead of `piwik.js` and `matomo.php` tracker endpoint instead of `piwik.php` endpoint. + ### HTTP APIs #### Breaking changes in HTTP API |