Jump to content

Google Analytics not working


wildman

Recommended Posts

  • 3 weeks later...

The problem is that this google analytics addon in WHCMS don't put de code in the web site pages before </head> but puts it in the body of the page before the </ body> !!

I use an external template and i don't know if my code is good for you too.

But here is my solution that works.

I disabled the addon and edited the head.tpl file from templates directory and added just above </head>:

 

{literal}

Google's code here

{/literal}

 

That's it.

Now i have on all my pages the required code from google analytics.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated