Zen Cart Logo
Forums / All Other Contributions/Addons / Simple Google Analytics - Support

Simple Google Analytics - Support

Views: 451,137

Results 1,641 to 1,660 of 2,165
14 Oct 2011, 6:44 PM
#1641
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Simple Google Analytics - Support

EZorb:

Is there anyway to paste Microsoft/Bing adCenter conversion code into this mod so the Microsoft backend will track conversions?

If you want to integrate that, don't try to integrate with the current module. Instead, add the tracking code with the proper qualifiers to the tpl_main_page.php. You'll need to use the "if this page is the checkout success page" type of if then statement (you'll find this in the Google code or in my previous posts.)

If you add that, then customize what AdCenter provides you with, it works like a charm.

Let me know if this helps.

14 Oct 2011, 6:49 PM
#1642
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

Innovations14:

  1. On the setup page for 'Adwords Conversion Tracking Number' there is XXXXXXXXXXX. When setting up the conversion tracking through adwords, I received a full 19 line code snippet. Should I place that full snipped into the section, or find the number somewhere else?

Just copy the code, THEN pull the 19 digit number from it and insert that only into the slot provided in your Google Analytics Configuration in Zen Cart.

Innovations14:

  1. Also, for ecommerce tracking, what snippet should I paste? I guess my concern here is that they need to be dynamically created, and I wasn't sure how that was being generated on the back end for the ecommerce tracking

You don't need to paste any snippet for this to work. My module already has Ecommerce Tracking pre-integrated and all dynamic. All you have to do is let Google Analytics know you want to track ecommerce transactions ('yes I am an ecommerce site') and my module does the rest.

Innovations14:

  1. My last question is about a couple of other modules I am running. Specifically, I am using PayPal checkout and GoogleCheckout option for order processing. Will this effect any of the tracking in this module? If so, is there any fix?

So long as the user is brought back to the site after they complete the transaction, yes, it tracks just fine (no conflicts etc...)

18 Oct 2011, 12:09 PM
#1643
rebelit avatar

rebelit

New Zenner

Join Date:
Aug 2011
Location:
Brighton UK
Posts:
27
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Having had to manually install e-commerce tracking code on some non-zen sites, I really appreciate the quick & easy install this mod provides.

Thanks!

Just one question.

Is there an easy way to temporarily disable the tracking code once installed?

cheers,
Reb

18 Oct 2011, 12:29 PM
#1644
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Simple Google Analytics - Support

rebelIT:

Having had to manually install e-commerce tracking code on some non-zen sites, I really appreciate the quick & easy install this mod provides.

Thanks!

Just one question.

Is there an easy way to temporarily disable the tracking code once installed?

cheers,
Reb

I've done this temporarily but going into the admin and just removing the GA number.

18 Oct 2011, 12:34 PM
#1645
rebelit avatar

rebelit

New Zenner

Join Date:
Aug 2011
Location:
Brighton UK
Posts:
27
Plugin Contributions:
0

Re: Simple Google Analytics - Support

d'oh! Obvious really.

thanks

27 Oct 2011, 10:21 PM
#1646
worthy avatar

worthy

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Installed this excellent module no problem a few weeks ago but for some reason it is only tracking the sales of accessories or product options and not the actual products in Analytics? Any idea where I might look to fix that? Thanks!

28 Oct 2011, 2:13 PM
#1647
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

What version of the mod are you running?

Can you provide a link so I can look at the product options etc... (just a link to the cart is fine.)

Are your 'transactions' (in Google Ecommerce) increasing proportionate to attributes?

29 Oct 2011, 7:33 PM
#1648
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Just wanted to say that this was one of the easiest add-ons to install. I-dont-do sql patches. Maybe it's the metal plate in my head, but I can look at a server from the far side of a firewall and the sql database will dump all over itself. :ohmy:

But this one I just followed the crystal clear instructions, and it worked 100% first time.

Thanks.

30 Oct 2011, 4:42 AM
#1649
new2u avatar

new2u

Zen Follower

Join Date:
Sep 2009
Posts:
186
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Yes Jim,

I was just getting ready to release a new version here and will include that as on option.

Awesome, any idea when it will be ready to rock? Can't wait to be able to track this and optimize individual pages better.

31 Oct 2011, 1:34 PM
#1650
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

The new version is ready and I'll upload it here within the day.

I'll also provide a note and link to where you can get it right away in the post here as well.

31 Oct 2011, 5:10 PM
#1651
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

Ok, the newest version of Simple Google Analytics is ready for download.

I'm submitting the contribution to the Zen Cart downloads area shortly but that will take some time to activate.

For those who can't wait for it you can download it now from the following link:

http://www.zencartoptimization.com/downloads/

The newest version is 1.2.5 and here are some details on it:

  1. NEW ADDITION: Now provides the ability to track Page Load Time per Google Analytics new features.

  2. BUGFIX: Fixed bug in previous version(s) that would sometimes cause the ecommerce tracking values to miss record a transaction if it included certain characters in the name, attributes, etc..

  3. CHANGE: The new version now uses more overrides to make it even more friendly. In the previous 1.2.4 version you had to make alterations to the html_header.php file to accommodate some new changes. The new version 1.2.5 eliminates the need to do this by using the js override functionality in zen cart.

For those who may have made this change in the past, you'll need to read the upgrade instructions to make sure you REMOVE those additions to the html_header.php file.

Upgrading from 1.2.4 or higher, just (a) upload all files (no patches to apply) overwriting those in place now. (b) make the change to the html_header.php file (documented in the upgrade readme file) which has you remove the lines previously inserted.

All set.

Any questions, please post here.

Thanks!

31 Oct 2011, 5:50 PM
#1652
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple Google Analytics - Support

econcepts:

Ok, the newest version of Simple Google Analytics is ready for download.

I'm submitting the contribution to the Zen Cart downloads area shortly but that will take some time to activate.

For those who can't wait for it you can download it now from the following link:

http://www.zencartoptimization.com/downloads/

The newest version is 1.2.5 and here are some details on it:

  1. NEW ADDITION: Now provides the ability to track Page Load Time per Google Analytics new features.

  2. BUGFIX: Fixed bug in previous version(s) that would sometimes cause the ecommerce tracking values to miss record a transaction if it included certain characters in the name, attributes, etc..

  3. CHANGE: The new version now uses more overrides to make it even more friendly. In the previous 1.2.4 version you had to make alterations to the html_header.php file to accommodate some new changes. The new version 1.2.5 eliminates the need to do this by using the js override functionality in zen cart.

For those who may have made this change in the past, you'll need to read the upgrade instructions to make sure you REMOVE those additions to the html_header.php file.

Upgrading from 1.2.4 or higher, just (a) upload all files (no patches to apply) overwriting those in place now. (b) make the change to the html_header.php file (documented in the upgrade readme file) which has you remove the lines previously inserted.

All set.

Any questions, please post here.

Thanks!
Econcepts thank you for all you hard work on this and all the other modules you have created. People like you make zen cart what it is today. Thank You

1 Nov 2011, 1:36 PM
#1653
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

Glad you like them, glad to be of help, and thank you. :)

2 Nov 2011, 11:53 PM
#1654
frankcw avatar

frankcw

New Zenner

Join Date:
Nov 2008
Posts:
8
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm setting up a new website and am adding google analytics 1.2.5

When I copy & Paste the code into the tpl_main_page.php file and reload my website in my browser I get a blank page (no website). When I take it out all is well again.

What am I doing wrong?

3 Nov 2011, 4:13 AM
#1655
frankcw avatar

frankcw

New Zenner

Join Date:
Nov 2008
Posts:
8
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Frankcw:

I'm setting up a new website and am adding google analytics 1.2.5

When I copy & Paste the code into the tpl_main_page.php file and reload my website in my browser I get a blank page (no website). When I take it out all is well again.

What am I doing wrong?

I've learned about checking the cache for error log files & the log file said:
[02-Nov-2011 18:24:19] PHP Parse error: syntax error, unexpected '{' in /home/frankcw/public_html/jewelryholdersforyou/includes/templates/ashley_pink/common/tpl_main_page.php on line 187

this error is in the cache folder several times..each time I tried the module.
The code for the google analytics is pasted in at about line 370

The character '{' is in the file before & after I paste in the google analytics code. The file works without the google analytics but doesn't work with the code added.

3 Nov 2011, 4:46 AM
#1656
frankcw avatar

frankcw

New Zenner

Join Date:
Nov 2008
Posts:
8
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Frankcw:

I've learned about checking the cache for error log files & the log file said:
[02-Nov-2011 18:24:19] PHP Parse error: syntax error, unexpected '{' in /home/frankcw/public_html/jewelryholdersforyou/includes/templates/ashley_pink/common/tpl_main_page.php on line 187

this error is in the cache folder several times..each time I tried the module.
The code for the google analytics is pasted in at about line 370

The character '{' is in the file before & after I paste in the google analytics code. The file works without the google analytics but doesn't work with the code added.

I've found the problem. I had edited the file in Notepad++ and had wordwrap turned on because I had been reading some text files. I did a file compare with winmerge and it noted the carriage return difference. I copied & pasted into the file with wordwrap turned off & it works perfectly now. (I was C&P at line 187 with wordwrap turned off)

Frank

3 Nov 2011, 1:01 PM
#1657
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

Glad to hear you got it working Frank.

11 Nov 2011, 7:28 PM
#1658
bridge32 avatar

bridge32

Zen Follower

Join Date:
Jun 2011
Posts:
145
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Ok im upgrading from version 1.2.4, i followed the upgrade installation guide and got to this part:

*3a) Open the file found at: /includes/templates/[your_template]/common/html_header.php

3b) Find the lines that look like this just before the </head> tag and REMOVE them (delete). Save the file and re-upload to your server.*

Then i dont know what to do.
Do i run the install.sql file? or run the Upgrade toversion 1-2-4?
Sorry but im lost with this :blush:
P.s I have uploaded and overwritten files as required per upgrade notes.
Regards
Nic

11 Nov 2011, 8:08 PM
#1659
rabble avatar

rabble

New Zenner

Join Date:
May 2011
Posts:
7
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks for the 1.2.5 release! I've been using your 1.2.4 module with good success.

After the upgrade from 1.2.4 (no database upgrade), the code generated the following.

_gaq.push(['_setAccount', 'UA-XXXXXXX-X']);
_gaq.push(['_trackPageLoadTime']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);

Here's a point you may want to include in the upgrade instructions for people who have previously configured page load time tracking.

Remove the following code from the "Google Custom Code - After" field in the Configuration > Google Analytics Configuration

_gaq.push(['_trackPageLoadTime']);

bridge32 - No need to do anything to the database if upgrading from 1.2.4. Check your source to see that the code is still being generated correctly.

11 Nov 2011, 8:17 PM
#1660
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Simple Google Analytics - Support

Does anybody have a link to the download for version 1.2.5? Thanks!