Posts

Showing posts from 2017

How to enable Piwik by editing the WordPress theme

1. Log in to your Piwik account as the administrator:       • On the top right of the page, click your administrator username.       • Under Manage, click Tracking Code.       • Under JavaScript Tracking Code, copy the entire text in the tracking code box, including the starting         <!—Piwik—> tag and the ending <!—End Piwik Code—> tag. 2. Log in to WordPress as the administrator. 3. Under Dashboard, click Appearance, and then click Editor. The Edit Themes page appears. 4. Under Templates, click Footer (footer.php). 5. Locate the ending </body> tag. Just above the </body> tag, paste the tracking code snippet that you obtained in step 1. 6. Click Update File. Piwik is now enabled for all pages on your WordPress site. To view site statistics, log in to your Piwik account.