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.
-
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