Load Google Analytics Tracking Script From Your Functions File

This tutorial provides both the sample.js file and PHP code which enable you to load your tracking script from your functions file.

This way you have total control over both which pages you want tracked and the position the script loads on the page.

There’s 2 simple steps to take:


Comments

One response to “Load Google Analytics Tracking Script From Your Functions File”

  1. […] Load Google Analytics Tracking Script From Your Functions File – Both the sample.js file and PHP code to enable you to load your tracking script from your functions file. This way you have total control over both which pages you want tracked and the position the script loads on the page. […]

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.