Hello Sergio,
Thank you for creating this plugin! After reviewing and seeing it infringes the Matomo trademark and as supported by the WordPress Plugins Trademark Enforcement guidelines: https://make.www.ads-software.com/plugins/2019/08/08/trademark-enforcement/ we would request your support and make the following changes to your plugin in the next month:
* Rename the plugin from “Matomo Tracking, by Sergio Santos” to “Include Tracker for Matomo, by Sergio Santos”
* In the first sentence of the description, write:
This plugin lets you integrate your existing Matomo On-Premise into WordPress. If you don't already have a working Matomo (either <a href='https://matomo.org/matomo-on-premise/'>On-Premise</a> or <a href='https://matomo.org/hosting/'>Matomo Cloud</a>), use the <a href='https://www.ads-software.com/plugins/matomo/'>Matomo Analytics</a> plugin instead.
Would you be able to make these changes as soon as possible?
Thank you for your understanding and quick help.
Best regards,
Hi
I think that the plugin uses old file names, piwik.php (instead of matomo.php). The same with *.js.
See this script excerpt that is produced by this plugin:
(function() { var u=”https://severindietschi.ch/matomo/”
_paq.push([“setTrackerUrl”, u+”piwik.php”])
_paq.push([“setSiteId”, “1”])
var d=document, g=d.createElement(“script”), s=d.getElementsByTagName(“script”)[0]
g.type=”text/javascript”; g.defer=true; g.async=true; g.src=u+”piwik.js”
s.parentNode.insertBefore(g,s)
})()
It seems like logging the username is a unique value and could / should be stored in the UserID which Matomo created to identify a unique visitor and has different properties than customVar.
Is there a reason this id info was chosen to exist in SetCustomVariable in this plugin instead?
https://developer.matomo.org/guides/tracking-javascript-guide
]]>Hi,
can you add the feature to dissable cookies like mentionend in the Matomo doc’s.
// Add this line before the trackPageView() call
_paq.push(['disableCookies']
https://matomo.org/faq/general/faq_157/
I am thinking about a checkbox in the settings area to check if you don’t want to set cookies.
]]>Hi
I changed
echo ‘((“https:” == document.location.protocol) ? “https” : “http”) + “://’ . $options[‘address’] . ‘/”; ‘;
to
echo ‘”https://’ . $options[‘address’] . ‘/”; ‘;
because if the Piwik server supports SSL it should be reached over HTTPS always, otherwise the 1st trial call via HTTP would send url-params in clear over the wire even if the server switches to HTTPS.
Indeed the check would be useful on ssl_compat = false side, as the piwik HTTP call from a page over HTTPS usually raise the mixed-content blocking by the browser.
So in short I think you should just drop the check and make the call straight over HTTPS if supported.
thx
]]>Hi,
Wonderfully simple plugin – it took but seconds to install and get working because it just uses the site ID. Recommended.
One question, though: would it be possible to add an option to use the Piwik proxy “piwik.php” (as shown on the Piwik site)? That way, the tracker does not give away the location of the server that collects the statistics.
Thnx!
]]>It would be nice to have an option to put the script in the head.
]]>Hi,
I have correctly installed the plugin
but nothing happen.
What have I to do ?
https://www.innovasoftspa.it/piwik
Thanks
]]>It should be useful to add an option in the backend to support the Do Not Track browser’s feature.
I usally do something like this:
function do_not_track() {
if( ! function_exists('apache_request_headers') ) {
return false;
}
$h = apache_request_headers();
return isset( $h['DNT'] ) && $h['DNT'] === '1';
}
if( ! do_not_track() ) {
echo print_piwik();
}
For more informations:
]]>Yesterday I updated many pages to the latest version 1.0.7. Today I saw that Piwik has recorded no more statistics. After the update all plugin settings are lost. There are only default settings and tracking is off! Horrible.
]]>While working on an article, I encountered the following problem today which might be a result of the parsing error in the third message below:
Warning: session_start() [function.session-start]: open(/tmp/sess_0b3fd19e5d4de1ef17aa0d1040b52380, O_RDWR) failed: Permission denied (13) in /mysite/wp-content/plugins/akeebabackupcore/helpers/AkeebaBackupWP.php on line 43
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /mysite/wp-content/plugins/akeebabackupcore/helpers/AkeebaBackupWP.php:43) in /mysite/wp-content/plugins/akeebabackupcore/helpers/AkeebaBackupWP.php on line 43
Parse error: syntax error, unexpected T_STATIC in /mysite/wp-content/plugins/piwik-tracking-by-mente-binaria/models/options.class.php on line 95
Warning: Unknown: open(/tmp/sess_0b3fd19e5d4de1ef17aa0d1040b52380, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
————————–
Afterwards I was unable to display anything in wp-admin. My initial workaround was to disable the file options.class.php via ftp access, which gave me access to the wp-dashboard again. Thereafter I encountered the message with the parsing error in line 95 once more. So I disabled the plugin in the dashboard.
Is there a typo in line 95 or is it possibly a conflict with Akeeba Backup?
https://www.ads-software.com/plugins/piwik-tracking-by-mente-binaria/
]]>Hi,
I have a problem with an installation of Piwik listening on a non-standard port. When I add the address of the Piwik installation to the Piwik Tracking Settings, the URL is modified and the colon that separates the port number is suppressed.
For example, an URL like https://www.domain.com:8081/piwik is saved as https://www.domain.com8081/piwik
Thanks,
Carlos
https://www.ads-software.com/plugins/piwik-tracking-by-mente-binaria/
]]>Adds the username of the logged in User to the Piwik Log as CustomVariable.
\MB_PiwikTracking_ViewFrontendScript function output
> added in Line 31:
if (is_user_logged_in()) {
$currentUser = wp_get_current_user();
$trackerName = ‘_paq.push([“setCustomVariable”,1,”User”,”‘.$currentUser->user_nicename.'”,”visit”]);’;
}
else {
$trackerName=”;
}
after <!– Piwik –>
<script type=”text/javascript”>var _paq = _paq || [];
<?php echo $trackerName;?>
according to Piwik doc, Customvariable must be set before calling trackPageView.
https://www.ads-software.com/plugins/piwik-tracking-by-mente-binaria/
]]>in views/frontend/script.class.php line 37
‘”https://”‘ should be ‘”https://’ ( removed the second ” )
Greetings from Austria
Christian
https://www.ads-software.com/plugins/piwik-tracking-by-mente-binaria/
]]>