PiwikAnalytics::Config already has an enabled?(format) method, seemingly for this very purpose, but its never called
It's a useful feature (for me anyway), but its not actually in use.
Adding 'if Config.enabled? request.format' to the add_piwik_analytics_tracking method is all thats needed, I think.
PiwikAnalytics::Config already has an enabled?(format) method, seemingly for this very purpose, but its never called It's a useful feature (for me anyway), but its not actually in use.
Adding 'if Config.enabled? request.format' to the add_piwik_analytics_tracking method is all thats needed, I think.