Jump to content

Universal Analytics integration


Recommended Posts

Hi,

I tried to setup the API Google Analytics module with no success.

The V1.3 says Cannot retrieve test results and the v3.0 It keeps saying Google API Authorization granted but access token cannot be retrieved

 

Anyway, I have to integrate manually some Google Analytics to optimize it.

I tried to add my script to header.tpl in <head></head>, but everytime the code is moved at the bottom, juste before </body>, with the other JS.

 

My template is default-bootstrap.

My Prestashop is 1.6.0.5

 

Any option ?

 

Thank you

Link to comment
Share on other sites

  • 3 weeks later...

You can put here: /themes/default-bootstrap/header.tpl

 

<!DOCTYPE HTML>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="{$lang_iso}"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"><![endif]-->
<!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"><![endif]-->
<html lang="{$lang_iso}">
    <head>
                <meta name="google-site-verification" content=xxxxxxxxxxxxxxxxxxxxx

                <meta charset="utf-8" />

                <title>{$meta_title|escape:'html':'UTF-8'}</title>

Link to comment
Share on other sites

  • 1 month later...

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...