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

Google Analytics Integration

Views: 225,787

Results 441 to 460 of 660
10 Sep 2008, 9:13 PM
#441
leroyparker avatar

leroyparker

New Zenner

Join Date:
Dec 2007
Posts:
4
Plugin Contributions:
0

Google Analytics Integration

I'm not finding it in this thread but does anyone know if the latest version of this mod (v2.2.1) will work with zen-cart v1.37?

Thank,
-bill

11 Sep 2008, 9:47 AM
#442
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 Sharni,

Sharni:

Ok, I am going to have to try and nut this one out. I keep getting interrupted by my 6 month old.

The weird thing is, the next day GA was working and taking data ...

You must check the installation - GA code included 3 times:

<!--eof- site copyright display -->

<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 src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5529964-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<script type="text/javascript">
<!--
if(!gaJsHost) {
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">
<!--
if(!pageTracker) {
var pageTracker = _gat._getTracker('UA-5529964-2');
pageTracker._initData();
pageTracker._trackPageview();
}
//-->
</script>

 
</div>
<!--bof- parse time display -->
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<!--eof- banner #6 display -->
<script type="text/javascript">
<!--
if(!gaJsHost) {
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">
<!--
if(!pageTracker) {
var pageTracker = _gat._getTracker('UA-5529964-2');
pageTracker._initData();
pageTracker._trackPageview();
}
//-->
</script>

</body></html>
11 Sep 2008, 9:49 AM
#443
a_berezin avatar

a_berezin

Deceased

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

Re: Google Analytics Integration

leroyparker:

does anyone know if the latest version of this mod (v2.2.1) will work with zen-cart v1.37?
Yes, it will work with 1.3.7.

11 Sep 2008, 2:50 PM
#444
a_berezin avatar

a_berezin

Deceased

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

Re: Google Analytics Integration

dimid:

on the thank you page i don't see the ecommerce tracking code in the source code of the page
How do you viewed the source code?

14 Sep 2008, 3:42 PM
#445
foteek avatar

foteek

New Zenner

Join Date:
May 2008
Posts:
50
Plugin Contributions:
0

Re: Google Analytics Integration

Hi guys,
In the Admin Config form for this package, it asks for my "Analytics Account" and my "Adwords Conversion ID".

The Analytics account is from my GA account in the form of xxxxxx-x, but where do I get my "Adwords Conversion ID"???

Thanks,
TJ

15 Sep 2008, 2:24 AM
#446
autoleatherinc avatar

autoleatherinc

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Re: Google Analytics Integration

a_berezin:

Google Analytics Integration
Very easy install, without changed of any files, admin control.

Description

This module allow you to integrade the advanced e-commerce Analysis provided by the Google service named Google Analytics as described here:
http://www.google.com/analytics/

Affected files

Changed files

None
New files

/includes/modules/pages/checkout_success/jscript_google_analytics.php
/includes/modules/pages/checkout_success/on_load_google_analytics.js
/includes/templates/YOURTEMPLATE/jscript/jscript_google_analytics.php

Install:

  1. BACKUP! BACKUP! BACKUP! BACKUP! BACKUP! BACKUP!
  2. Unzip and upload all files to your store directory (change YOURTEMPLATE to your template directory);
  3. Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql;
  4. Go to admin>tools>Google Analytics and setting up your Google Analytics configuration;
  5. Go to your Google Analytics Settings -> Edit Settings -> Edit Main Website Profile -> E-Commerce Website : Yes

Download

The comments and wishes are welcomed.

The link is down... was it reposted somewhere in between here and the beginning of the thread?

16 Sep 2008, 10:48 PM
#448
richcolour avatar

richcolour

New Zenner

Join Date:
Dec 2007
Posts:
24
Plugin Contributions:
0

Re: Google Analytics Integration

foteek:

Hi guys,
In the Admin Config form for this package, it asks for my "Analytics Account" and my "Adwords Conversion ID".

The Analytics account is from my GA account in the form of xxxxxx-x, but where do I get my "Adwords Conversion ID"???

Thanks,
TJ

Me puzzled too!

Does it matter that I'm using 'Starter Edition' of Adwords, and not 'Standard Edition'?

19 Sep 2008, 1:29 PM
#449
visexp avatar

visexp

Zen Follower

Join Date:
Jul 2008
Posts:
106
Plugin Contributions:
0

Re: Google Analytics Integration

I have installed the add on. I went to Configuration>GA Configuration>Analytics Number and entered in my Account ID number.

When I go to my GA account it is telling me that Tracking not installed. This is the error code I get:

Tracking Not Installed (Last checked: Sep 19, 2008 6:24:49 AM )
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.

Any help as to what I've done wrong would be appreciated. Thanks.

19 Sep 2008, 5:38 PM
#450
visexp avatar

visexp

Zen Follower

Join Date:
Jul 2008
Posts:
106
Plugin Contributions:
0

Re: Google Analytics Integration

VisExp:

I have installed the add on. I went to Configuration>GA Configuration>Analytics Number and entered in my Account ID number.

When I go to my GA account it is telling me that Tracking not installed. This is the error code I get:

Tracking Not Installed (Last checked: Sep 19, 2008 6:24:49 AM )
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.

Any help as to what I've done wrong would be appreciated. Thanks.

Nevermind. It seems to have started working. No reports yet but I guess I have to wait 24 hours for that. Thanks.

2 Oct 2008, 2:59 AM
#451
yallcenter avatar

yallcenter

New Zenner

Join Date:
Oct 2008
Location:
china fujian
Posts:
1
Plugin Contributions:
0

Re: Google Analytics Integration

Thank you, to share and support

Have you ever been to www.yallcenter.com ?
There is a DIY Heaven:clap:

7 Oct 2008, 8:46 AM
#452
rehanseo avatar

rehanseo

New Zenner

Join Date:
Oct 2007
Posts:
2
Plugin Contributions:
0

Re: Google Analytics Integration

Hi,
Looking for Google Analytics. Just found some treasure in the Zen Cart backyard.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=891

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=412

Hope all out there stop all their worries and start Google Analytics.

WebMaster,
See example website with applied Google Analytics.

Online Gift and Shopping Store for Australia

17 Oct 2008, 4:01 PM
#453
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

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

Re: Google Analytics Integration

Please help. Google analytics working just fine UNTIL I switched templates. I'm now using Mother Earth and Google Analytics is reporting but there have been zero customers for the past 4 days WHICH I KNOW IS NOT ACCURATE. I had a customer email me yesterday with a question. And prior to that I had anywhere from 25 customers to over 80.

Is there something I need to do with my new template? Much much appreciated! Lynn

http://www.PetHerbalREmedies.com :huh:

18 Oct 2008, 4:47 AM
#454
scorpiowoman avatar

scorpiowoman

New Zenner

Join Date:
Nov 2006
Posts:
37
Plugin Contributions:
0

Re: Google Analytics Integration

Please help. Google analytics working just fine UNTIL I switched templates. I'm now using Mother Earth and Google Analytics is reporting but there have been zero customers for the past 4 days WHICH I KNOW IS NOT ACCURATE. I had a customer email me yesterday with a question. And prior to that I had anywhere from 25 customers to over 80.

Is there something I need to do with my new template? Much much appreciated! Lynn

You will need to copy the file

/includes/templates/THENAMEOFYOUROLDTEMPLATEFOLDER/jscript/jscript_google_analytics.php

to your new template folder

/includes/templates/THENAMEOFYOURNEWTEMPLATEFOLDER/jscript/jscript_google_analytics.php

21 Oct 2008, 8:37 PM
#455
modernm avatar

modernm

New Zenner

Join Date:
Dec 2007
Location:
Hoboken, NJ
Posts:
97
Plugin Contributions:
1

Re: Google Analytics Integration

I just switched from Simple Google Analytics to Google Analytics by Andrew 2.2.1. It seems as though quotes are not escaped when submitting product names to google analytics.

Example...

Right Bank Babies Reversible Romper "Mary Anne"

After switch over...

Right Bank Babies Reversible Romper "Mary Anne"[Size: 18-24m]

The good thing is that Analytics by Andrew included the attribute. The bad thing is the quotes don't get escaped. I am going to go poking around but in case anyone is listening, maybe there is an easy fix.

Cal

22 Oct 2008, 6:27 AM
#456
a_berezin avatar

a_berezin

Deceased

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

Re: Google Analytics Integration

This is fixed in v 2.2.3. Wait a few days. Or replace zen_output_string_protected to addslashes.

22 Oct 2008, 5:13 PM
#457
modernm avatar

modernm

New Zenner

Join Date:
Dec 2007
Location:
Hoboken, NJ
Posts:
97
Plugin Contributions:
1

Re: Google Analytics Integration

a_berezin:

This is fixed in v 2.2.3. Wait a few days. Or replace zen_output_string_protected to addslashes.

Just to confirm on line 136 replace...

'"' . zen_output_string_protected($order->products[$i]['name'] . $products_attributes_name) . '",' .

with...

'"' . addslashes($order->products[$i]['name'] . $products_attributes_name) . '",' .

Something tells me I took that too literally.

23 Oct 2008, 8:10 AM
#458
a_berezin avatar

a_berezin

Deceased

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

Re: Google Analytics Integration

You did everything correctly. But better replace ALL zen_output_string_protected.

23 Oct 2008, 6:20 PM
#459
qwert302 avatar

qwert302

Zen Follower

Join Date:
Mar 2008
Posts:
148
Plugin Contributions:
0

Re: Google Analytics Integration

Does google analytics by andrew integrate goal value into GA? I currently just have the GA code pasted into the footer and it tracks everything fine except for goal value ($).

Or is there an easy fix to get the goal value working?

Thanks.

23 Oct 2008, 10:47 PM
#460
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Google Analytics Integration

Maybe helpfull what does the options in the admin mean:

Target Address
Affiliation
Use sku/code
Use pagename
Attributes Brackets
Attributes Delimiter
Tracking Outbound
Tracking Outbound Links Prefix
Use AdWords Conversion
AdWords Conversion ID
AdWords Conversion Language
Use pagename

These are options in the admin, but there is nothing what tell what these options do