Jump to content

Google analytics module not loading header.tpl?


Recommended Posts

I'm running the latest version of google analytics module 2.1.1 and was modifying the header.tpl in the module foler to get adwords to work. The adwords code was not loading at all.  After many order attempts I checked ganalytics.php.


All it does is this:

public function hookHeader()
                if (Configuration::get('GA_ACCOUNT_ID'))
                        return $this->_getGoogleAnalyticsTag();

What happened to hooking the header.tpl? Why is header.tpl even there if it's not being used.

root@www:/usr/share/nginx/html/modules/ganalytics# grep -ri header.tpl

It doesn't return anything


Am I understanding something wrong?

Edited by zeki893 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...