Hey Guys,
As a proof of concept and simplicy, i have created a plugin for Google Analytics Code.
Simple Analytics 1.2
Allows you to enter your Google Analytics UA number and will automatically add the current google analytics code to the footer of your page, just before the </body> tag
Update Log
Fix: Have renamed all functions to avoid conflict with names of other functions in plugins.
Fix: Was allowing the display of analytics code after deleting ID from admin after first use. Will now delete the simpleanalytics.xml if the ID is blank in admin.
As a proof of concept and simplicy, i have created a plugin for Google Analytics Code.
Simple Analytics 1.2
Allows you to enter your Google Analytics UA number and will automatically add the current google analytics code to the footer of your page, just before the </body> tag
Update Log
Fix: Have renamed all functions to avoid conflict with names of other functions in plugins.
Fix: Was allowing the display of analytics code after deleting ID from admin after first use. Will now delete the simpleanalytics.xml if the ID is blank in admin.
Nothing is too difficult... anything is possible.
'But you tried, and you failed.. the important thing? never try'
'But you tried, and you failed.. the important thing? never try'