nir0ma
Forum Replies Created
-
Forum: Plugins
In reply to: [Category Import Reloaded] wp managerHi @savvaskef1978,
There was an issue and custom taxonomy support wasn’t working as expected.
Categories where always loaded as “category” for post.
Custom taxonomy is now fully supported by 1.1.0 so check the new version.Forum: Plugins
In reply to: [Matomo Tracker] Where should I paste the Javascript code?Hi @papijo,
Matomo tracker acts as a proxy, so your javascript tracking code is not intended to be used … It’ll reveal your matomo install url which is not intended to avoid footprints.
What you need to have is :
1 – A matomo instance installed on a custom domain name (ie : http://mymatomoinstall.net), this is the “Matomo Installation Url”
2 – A custom user to get an Auth Token
3 – The tracking id of your siteAssuming you have a js code like this one :
<!– Matomo –>
<script type=”text/javascript”>
var _paq = _paq || [];
/* tracker methods like “setCustomDimension” should be called before “trackPageView” */
_paq.push([‘trackPageView’]);
_paq.push([‘enableLinkTracking’]);
(function() {
var u=”https://mymatomoinstall.com/”;
_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.async=true; g.defer=true; g.src=u+’piwik.js’; s.parentNode.insertBefore(g,s);
})();
</script>
<!– End Matomo Code –>Your matomo url is the “var u=” part and your tracking ID is the “setSiteId” number … Concerning the tracking ID you have some details here : https://matomo.org/faq/general/faq_114/
Hope this might help you to understand
Forum: Plugins
In reply to: [Matomo Tracker] High load times of piwik.php (async not working?)Hey @nicoter
Check v1.2.3, this is just a minor fix to load track.js in the footer.
To reply to your questions :
1 – Check 1.2.3 this should be ok
2 – Piwik.php is just acting as a proxy, the double call is intended. The first request call the local file and download the remote js tracking code if necessary, or serves it as is. Then the second call send the tracking request to your remote installation of matomo. In fact, most of the time, remote server is called only once (second request) as the first request is cached.
3 – Didn’t had time to check with fast velocity plugin, let me know if this is better now !Thank you 😉
- This reply was modified 7 years, 9 months ago by nir0ma.
Forum: Plugins
In reply to: [Matomo Tracker] JS tracking mode doesn’t work since v 1.2.0Hi @nicoter,
Glad this is working !For the script this is included in the header because it uses wordpress enqueue_script function. Most of optimization plugin move js to footer, and work with the plugin / or generate a custom js file and include it in the footer. Thus this was not a good criteria from my pov. But I’ll make some tests to see if I can had add the argument in the enqueue_script function to include the script in the footer … I’ll let you know 😉
Have a nice day !
Forum: Plugins
In reply to: [Matomo Tracker] High load times of piwik.php (async not working?)@nicoter
1.2.2 is here ! But I’m not sure this will fix your load times as this might a server issue (I’m not having this issue).
Let me know and if there’s a problem share your url for further investigation.
Thank you and have a nice day !Forum: Plugins
In reply to: [Matomo Tracker] JS tracking mode doesn’t work since v 1.2.0Forum: Plugins
In reply to: [Matomo Tracker] Option to ignore logged-in users@lumpysimon 1.2.2 released and there is a new option for that
Forum: Plugins
In reply to: [Matomo Tracker] async/defer confusion@lumpysimon 1.2.2 released
Please check if everything is OK 😉
Have a nice day !Forum: Plugins
In reply to: [Matomo Tracker] JS tracking mode doesn’t work since v 1.2.0Hi,
I’ll investigate and fix that asap.
To contact me just mention @niroma as you did I’ll get the notices.
I’m having the same issue with one site so I can figure out the problem. I’ll let you know if I need your url.
Thank you for your feedback 😉Forum: Plugins
In reply to: [Matomo Tracker] async/defer confusionThanks for you feedback 🙂
This can be issue with optimization plugin, async/defer options will be removed in next version as wprocket, w3 total cache and other optimization plugins will handle that.
Have a nice day- This reply was modified 7 years, 10 months ago by nir0ma.
Forum: Plugins
In reply to: [Matomo Tracker] Option to ignore logged-in usersHi,
No problem, I’ll look into this for 1.2.2 coming soon- This reply was modified 7 years, 10 months ago by nir0ma.
Forum: Plugins
In reply to: [Matomo Tracker] High load times of piwik.php (async not working?)This will be fix in 1.2.2 coming soon
Forum: Plugins
In reply to: [Matomo Tracker] JS tracking mode doesn’t work since v 1.2.0Forum: Plugins
In reply to: [Matomo Tracker] JS tracking mode doesn’t work since v 1.2.0Sorry guys didn’t have the notice about this issue. I’ll investigate and fix that quickly.
Forum: Plugins
In reply to: [Matomo Tracker] Hiding or customizing the Site IDHi @nicoter,
V1.2.0 is coming and might fix your issue.
As it wasn’t possible to hide or customize the site id, JS tracking mode will no more inline javascript but will call a js file.
The JS Tracking file loading mode will be customizable (defer, async or nothing) and it will be possible to set it to disallow in robots.txt to prevent indexing.
Hope this might solve you issue
Have a nice day !