Zen Cart Logo
Forums / All Other Contributions/Addons / Google Analytics Integration

Google Analytics Integration

Views: 225,776

Results 541 to 560 of 660
09 Mar 2009, 10:16
#541
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Google Analytics Integration

handicrafthut:

What i am able to rectify the problem is the code executed by zencart module is inside the comment tags, thats why not able to run.

You are mistaken, it is not in the comments. Be patient and wait a couple of days.

09 Mar 2009, 14:18
#542
bmpt avatar

bmpt

New Zenner

Join Date:
Jan 2008
Posts:
76
Plugin Contributions:
0

Re: Google Analytics Integration

I have just downloaded an installed that analytics addon by andrew, I noticed 4 files other than the sql's, however in the instructions, i believe there is only reference to two of them

Do I need to add ALL of these files or just the two that are referenced in the readme. I think the other two are something.. onload_googleanalytics.php & jscript_googleanalytics.php

29 Mar 2009, 22:54
#543
gineta avatar

gineta

New Zenner

Join Date:
Mar 2009
Posts:
19
Plugin Contributions:
0

Re: Google Analytics Integration

I install and simply the module not work.
Any idea how make manual in the footer of zent cart
What file I need to modify ?
thanks

13 Apr 2009, 23:14
#544
get_bucked avatar

get_bucked

New Zenner

Join Date:
Oct 2008
Location:
Sydney, Oz-land
Posts:
45
Plugin Contributions:
0

Re: Google Analytics Integration

Having just come accross this thread, I've been through about 40 pages and cannot actually download the mod.
The "download here" on page 1 gives a 404 error, and there's that much to-ing and fro-ing on the pages after that my head is spinning!

Can someone point me toward the proper link to download this add-on please?

Or has a way to just paste in the required google code been settled upon??

Many thanks.

15 Apr 2009, 00:46
#545
luna avatar

luna

New Zenner

Join Date:
Dec 2008
Location:
BC, Canada
Posts:
15
Plugin Contributions:
0

Re: Google Analytics Integration

get bucked:

Having just come accross this thread, I've been through about 40 pages and cannot actually download the mod.
The "download here" on page 1 gives a 404 error, and there's that much to-ing and fro-ing on the pages after that my head is spinning!

Can someone point me toward the proper link to download this add-on please?

Or has a way to just paste in the required google code been settled upon??

Many thanks.

Hi Get Bucked!

I don't know exactly what you're looking for, but here's the link where to download Google Analytics: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=891

Luna

17 Apr 2009, 23:07
#546
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Analytics Integration

I've modified this module to not require a modification to html_header.php.

To do this, perform the following steps:

  1. Remove the includes from html_header.php if you've already installed this module.
  2. Rename tpl_footer_googleanalytics.php to jscript_googleanalytics.php and move to ./jscript/

This will cause Zen Cart to auto load the file sitewide.

18 Apr 2009, 14:16
#547
jami1955 avatar

jami1955

New Zenner

Join Date:
Feb 2008
Location:
Boulder, CO, Dec 2: India
Posts:
89
Plugin Contributions:
0

Re: Google Analytics Integration

Just downloaded and installed this mod, and comparing Google's code with what gets written - some discrepency. First the 2nd half of Google's code:

<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-470188-4");
pageTracker._trackPageview();
} catch(err) {}</script>

Now the second half of the code written by this mod:

<script type="text/javascript">
<!--
if(!pageTracker) {
var pageTracker = _gat._getTracker('UA-470188-4');
pageTracker._initData();
pageTracker._trackPageview();
}
//-->
</script>

Note the difference starting in lines 2 and 3 ... is this OK?

thanks,
JSC
Boulder:unsure:

18 Apr 2009, 22:04
#548
parasols avatar

parasols

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Re: Google Analytics Integration

Hi,

I installed this on v1.3.8, have followed all the instructions but am getting the below message:
Tracking Not Installed (Last checked: Apr 18, 2009 2:33:28 PM )
The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.

Did I miss something or does it take a while for it to find the code?
I can't seem to figure out what i've done wrong

I have checked the source info on my home page and don't see the code that I installed on the bottom of tpl_main_page.php

This is the code I pasted into the file:

<!--eof- banner #6 display --> <?php require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); ?> </body>

Are there spaces between the code and </body> that are missing? Would that make a difference

however when I check the main page source I don't see this, all I see is at the end:

</div> <!--bof- parse time display --> <!--eof- parse time display --> <!--bof- banner #6 display --> <!--eof- banner #6 display -->

The other thing, when I am in the Admin Page for Zen Cart and check the source code I see the below, however the Google Analytics Web Property ID (shown below) is not the one I have for my page.... ?

</div> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-5907240-1"); pageTracker._trackPageview(); </script>

thanks in advance for your help

19 Apr 2009, 14:14
#549
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Google Analytics Integration

hello
I've set up a diffenrent template to my store(apple zen)
and since then my google analytics gives no results anymore.
I also don't know anymore which version µI'm using of google analytics . I think I've replaced all filles from the old template to apple zen.
can anyone help me with this?

my site : https://www.afro-masks.com

20 Apr 2009, 11:45
#550
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google Analytics Integration

Hi numinix,

numinix:

I've modified this module to not require a modification to html_header.php.

To do this, perform the following steps:

  1. Remove the includes from html_header.php if you've already installed this module.
  2. Rename tpl_footer_googleanalytics.php to jscript_googleanalytics.php and move to ./jscript/

This will cause Zen Cart to auto load the file sitewide.

May be you mistake and talk about other module? This module don't need any changes in html_header.

21 Apr 2009, 08:11
#551
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Google Analytics Integration

numinix:

  1. Rename tpl_footer_googleanalytics.php to jscript_googleanalytics.php and move to ./jscript/

This will cause Zen Cart to auto load the file sitewide.

Google recommends to place the GA code before the tag </body>.
The first version of the module also used the jscript autoload system. But later, I was forced to abandon this because of the many requirements of users.

04 May 2009, 21:07
#552
tiny avatar

tiny

New Zenner

Join Date:
Apr 2009
Posts:
15
Plugin Contributions:
0

Re: Google Analytics Integration

Hi all help please can you please tell mehow to set up analictics i have uploaded the files to the classic folder and thesql is working but what do i need to do know were do i put the analictics script that goole generated thank you

06 May 2009, 12:08
#553
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Google Analytics Integration

I loaded this mod some time ago. It comes up under the Admin/config/Google Analytics Configuration. And I have this marked under it.

Analytics Account UA-xxxxxx (I have numbers from profile id.)
Target Address customers Info
Affiliation Info
Use sku/code products_model Info
Use pagename false Info
Attributes Brackets [] Info
Attributes Delimiter ; Info
Tracking Outbound false Info
Tracking Outbound Links Prefix /outgoing/ Info
Use AdWords Conversion true Info
AdWords Conversion ID Info
AdWords Conversion Language en_US Info

And setup in Google Analytics and get no results. I also have set filters.

I have been going through this thread and not sure what to do next.

Kim

11 May 2009, 21:21
#554
ts232 avatar

ts232

Zen Follower

Join Date:
May 2006
Posts:
167
Plugin Contributions:
0

Re: Google Analytics Integration

This mod has been running great for me for a couple of years. On about March 24 of this year there was a change in how google analytics tracks clicks from the AdWords content network. Now it seems to show them as referrals from the ad host (content) site instead of as AdWords clicks.

There is a help section in google on this: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=57167

Has there been a change on the google side on how Analytics auto-tag works to track AdWords content clicks? I am having problems even testing this due to the difficulty of finding one of my ads out there on the content network to do a test click on.

Any suggestions? This may not be an issue with the excellent Google Analytics mod, but the community of interested users might have some ideas on this. Thanks.

17 May 2009, 12:32
#555
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Google Analytics Integration

Some time ago I switched my template to the apple zen template. I thought having replaced all my files to the apple zen template ,but still didn't get any data anymore from my google analitics program.

When I look at my google analitics acount it says under status : "tracking unknown"
Does anyone know what to do?

17 May 2009, 12:41
#556
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Google Analytics Integration

lieven23:

Some time ago I switched my template to the apple zen template. I thought having replaced all my files to the apple zen template ,but still didn't get any data anymore from my google analitics program.

When I look at my google analitics acount it says under status : "tracking unknown"
Does anyone know what to do?

my site: https://www.afro-masks.com

01 Jun 2009, 15:53
#557
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Google Analytics Integration

Sorry if i am being dim.

What is the advantage of this mod over simply pasting the Google javascript script into tpl_main_page.php?

Thanks

Nick

11 Jun 2009, 19:40
#558
newuserpaul3648 avatar

newuserpaul3648

New Zenner

Join Date:
Jun 2009
Posts:
1
Plugin Contributions:
0

Re: Google Analytics Integration

I installed this about a week ago on ZC1.38a. It seems that checkout_success is not tracking. I created a funnel from the shopping cart to the confirmation page and all pages track except checkout_success, which is the "thank you" page after payment from PayPal or my CC processor. Any ideas what is wrong?

16 Jul 2009, 16:08
#559
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: Google Analytics Integration

Can I remove this code from jscript_googleanalytics_outgoing.php file?

  /* for Internet Explorer */
  /*@cc_on @*/
  /*@if (@_win32)
    document.write("%3Cscript id='__ie_onload'  defer='defer'%3E%3C/script%3E");
    var script = document.getElementById("__ie_onload");
    script.onreadystatechange = function() {
      if (this.readyState == "complete") {
        init(); // call the onload handler
      }
    };
    return;
  /*@end @*/
24 Jul 2009, 11:30
#560
ooba_scott avatar

ooba_scott

Zen Follower

Join Date:
Jul 2009
Posts:
218
Plugin Contributions:
0

Re: Google Analytics Integration

Hi all, i have downloaded this google analytics mod....but i will be unistalling it very shortly.

It is way too complex for a 30second job!

All you need to do is edit 1 file and paste in the Code that Google provides!!

So it seems abit of a waste of time having to install the mod, configure it ....change this file, change that file..when you can do it all by changing one file.

Just thought i would share my thoughts

Scott