[piwik] Short Endpoint option #1379
No reviewers
Labels
No labels
2018.09
2019.01
2019.03
2019.06
2019.09
2019.12
2020.03
2020.06
2020.09
2020.12
2021.03
2021.07
2021.09
2022.02
2022.06
2022.09
2022.12
2023.04
2023.05
2023.09
2024.03
2024.06
2024.09
2024.12
dependencies
Hackathon 2021
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-addons#1379
Loading…
Reference in a new issue
No description provided.
Delete branch "EntropyEngineer/friendica-addons:piwik-Short-Endpoint-option"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
[piwik] Short Endpoint option
Added setting for short endpoint.
If you are concerned about the impact of browser-based privacy filters which attempt to block tracking, you can change your tracking code to use "js/" instead of "piwik.js" and "piwik.php", respectively.
link to the description of this functionality:
https://github.com/lipis/piwik/blob/master/js/README.md
Support for this option exists in current versions of piwik and matomo.
Please rebase your branch onto the latest
develop
branch to avoid having merge commits in your pull request history. Let me know if you need help doing it.@ -25,6 +25,7 @@
* 'sideid' => '',
* 'optout' => true,
* 'async' => false,
* 'shortendpoint' => false,
Please match the indentation style of the previous lines.
@ -61,3 +62,3 @@
* into the page header.
*/
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl() . '/addon/piwik/piwik.css' . '" media="all" />';
DI::page()['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl() . '/addon/piwik/piwik.css" media="all" />';
Please use the
App\Page->registerStylesheet()
method instead.@ -9,3 +9,4 @@ $a->strings["Site ID"] = "ID сайта";
$a->strings["Show opt-out cookie link?"] = "Показать ссылку opt-out cookie?";
$a->strings["Asynchronous tracking"] = "Асинхронное отслеживание";
$a->strings["Settings updated."] = "Настройки обновлены.";
$a->strings["Shortcut path to the script ('/js/' instead of '/piwik.js')"] = "Сокращенный путь к скрипту ('/js/' вместо '/piwik.js')";
These translations will get overwritten, once updates from Transifex will be pulled in. Once the addon source file is checked from their system and the strings for the addon updated, you should make sure that this translation is added there.
I understand
0d7f0c8191
to199205a07c
Thank you for your work!