Modify the GA tracking code
I am trying to update the js tracking code to support Display Advertising which will track demographics. Apparently this only requires a single line of code:
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
ga.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’) + ‘stats.g.doubleclick.net/dc.js’;
I have found where this code is written in the plugin and changed the code, but this isn’t being reflected on the website source code. It my method even possible? Have I done something wrong?
- The topic ‘Modify the GA tracking code’ is closed to new replies.