The ability to track different aspect of site usage on your website is important, as it allows you to monitor your site’s performance and make decisions regarding your business. Jupiter and The Ken themes have basic functionality to add the standard Google Analytics code. However, tracking is not limited to Google Analytics only and you may want to have more control over Facebook, Twitter or any other third party tracking code system. This is where the Tracking Code Manager plugin comes handy. In this article we will give an introduction to the plugin and show an example of adding the Google Analytics code. For more information about the plugin click here.
To install and use the plugin follow the steps below:
Go to WordPress Admin Menu > Plugins > Add New to see the plugins installation screen. From the top right section of the screen search for Tracking Code Manager. Click the search button and you will see the plugin at the first search result. Click on the Install button and wait till the installation process finishes.
After the download and installation process is finished, click on the Activate Plugin link to activate the plugin.
Go to WordPress Admin Menu > Settings > Tracking Code Manager to see the main screen of the plugin. Click on the Settings tab at the top section to show the settings panel. There you may see a message regarding the problem of the plugin not having permission to track your website code. Click on the HERE:) link to allow the plugin to use your website.
Go to the Add New Script tab of the plugin page to add a tracking code. In this example our code is the Google Analytics code. Click on the add new script button and fill the options below:
- Name: Add a name for this code for reference in the future.
- Paste Your Code Here: Use this option to paste your Google Analytics code.
- Position Inside the Code: Use this option to decide where you want to add the code. A typical position is before
- Show Only on Device: You have an option to set which devices you want the code to show.
- Where Do You Want to Add This Code: You have a choice of adding into standard WordPress or Woocommerce plugin.
- In Which Page Do You Want To Insert This Code: Use this option to decide where you want to add the code. You have a choice to select individual pages or all pages if needed.
- Do You Want to Exclude Some Specific Pages?: Use this option to exclude the tracking code from selected pages or posts.
The final step is to click on the Save button to save the code and add it to the front end of the website.