Is it possible to use translation in group names, so for example if I have "developers", internally (that is, in the database), the group is called "developers", however in the user homepage, or for example in mentions the translation will be used.
Can a specific route include specific js - Piwik tracking
@pichalite And voila!
_paq.push(['trackSiteSearch', ajaxify.data.search_query,, ajaxify.data.matchCount]);
Piwik now gets the search query and the number of results.
And, yup, there it was on line 25 staring me in the face:
result.search_query = validator.escape(data.query);
Thanks for helping an 'old guy out.
rod last edited by rod
I celebrated just a bit too soon. I think I need to tweak it a bit. Piwik isn't getting the count correct. Recording "1" for all returns, more than 1 and even for zero. I'll keep chipping away at this.
All is good. The correct information is being fed to Piwik. Thanks all for your help.
If you are interested, it would be great if you wrote a guide to set up Piwik for NodeBB
I'm thinking of adding a "tutorials" category for stuff like this
@psychobunny Considering how helpful this community has been it would be my pleasure to contribute back in this tiny way. I will take ownership of writing up a document on how to make Piwik and NodeBB work in harmony.
Awesome I went ahead and created a tutorials category, hope to see that full of guides in the near future