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

Simple Google Analytics - Support

Views: 451,129

Results 561 to 580 of 2,165
26 Jan 2008, 12:24 AM
#561
banswidthjunkie avatar

banswidthjunkie

Zen Follower

Join Date:
Nov 2007
Posts:
167
Plugin Contributions:
1

Simple Google Analytics - Support

econcepts:

Good point to make to everyone here. MySQL 5+ doesn't like "blank" values in areas. It prefers "NULL". If anyone is using MySQL 5x and has this problem, you'll want to add the "NULL" in place of any "blank" spot in the SQL query.

In the next release of Google Analytics, I'll update the SQL query to include the "5x" compatible code.
Thanks.

26 Jan 2008, 10:54 PM
#562
swingandmiss avatar

swingandmiss

Zen Follower

Join Date:
Apr 2007
Posts:
138
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Nice add-on. Quick and easy to install as well. Just remember to upload ALL the files. :blush:

I'm on PHP Version 5.2.5 and I didn't have any errors at all and it's working fine. Is there something I should look out for?

27 Jan 2008, 2:01 AM
#563
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

swingandmiss:

Nice add-on. Quick and easy to install as well. Just remember to upload ALL the files. :blush:

I'm on PHP Version 5.2.5 and I didn't have any errors at all and it's working fine. Is there something I should look out for?

Glad you like the module. I got some future update plans for adding even more options in line with the ga.js tracking as they become available.

You should be fine with what you have (nothing needed to look out for). I checked your site, and it looks like the code is installed and tracking correctly.

Enjoy!

27 Jan 2008, 5:33 AM
#564
swingandmiss avatar

swingandmiss

Zen Follower

Join Date:
Apr 2007
Posts:
138
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Is there a way to check if conversion tracking is working without making a test purchase?

27 Jan 2008, 2:47 PM
#565
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

swingandmiss:

Is there a way to check if conversion tracking is working without making a test purchase?

The only way to check if a conversion is really tracking (as in shows in your reports) is to make a purchase. You can simply make a purchase then refund yourself since it's your store if you want. Or put it in test mode and make a purchase. Or add a new payment method like (COD) temporarily and then make your purchase (so no money ever changes hands but the thank you page shows) then turn off the COD payment method after you complete your test.

Keep in mind that conversion tracking will ONLY track those clicks that come DIRECTLY from a paid search ad. So, that means you have to first search on your ad in Google then click the ad (which means you pay for the click) and then complete the purchase.

If you do not first click a paid search ad to get to your site, then conversion tracking will NOT show any results.

Why? Because as Google states, "conversion tracking is for tracking the effectiveness of paid search campaigns". It works in conjunction with that. Without a paid search campaign running, conversion tracking is non-existent in reporting (as it relates to paid search).

Hope that makes sense.

To sum it all up. If you want to check to make sure Conversion Tracking is working, then you need to first find one of your paid search ads in Google (by doing a search on one of the keyword you are bidding on) then click the ad and complete a purchase. Just going directly to your site (not through a paid search ad) and completing a purchase will show "1 purchase / sale" in your analytics account, but "0" (zero) conversions based on that sale (because the sale came from a source outside of the paid search realm.)

27 Jan 2008, 7:01 PM
#566
conceptocelular avatar

conceptocelular

New Zenner

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

Re: Simple Google Analytics - Support

I have the some problem... i put the UA Number but is not working....
someone can help me?

27 Jan 2008, 8:38 PM
#567
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

conceptocelular:

I have the some problem... i put the UA Number but is not working....
someone can help me?

Got a link? What is "the same problem" referring to?

Post those and we'll get you an answer.

28 Jan 2008, 1:31 PM
#568
dbrewster avatar

dbrewster

Zen Follower

Join Date:
Jul 2005
Location:
Charlottesville, VA
Posts:
376
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Having set up Google Analytics a few times, I think there is an error in their instructions.

To get my tracking working, I have to enter the URL of the site without an http:// prefix.

---Diana

29 Jan 2008, 5:36 AM
#569
swingandmiss avatar

swingandmiss

Zen Follower

Join Date:
Apr 2007
Posts:
138
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

The only way to check if a conversion is really tracking (as in shows in your reports) is to make a purchase. You can simply make a purchase then refund yourself since it's your store if you want. Or put it in test mode and make a purchase. Or add a new payment method like (COD) temporarily and then make your purchase (so no money ever changes hands but the thank you page shows) then turn off the COD payment method after you complete your test.

Keep in mind that conversion tracking will ONLY track those clicks that come DIRECTLY from a paid search ad. So, that means you have to first search on your ad in Google then click the ad (which means you pay for the click) and then complete the purchase.

If you do not first click a paid search ad to get to your site, then conversion tracking will NOT show any results.

Why? Because as Google states, "conversion tracking is for tracking the effectiveness of paid search campaigns". It works in conjunction with that. Without a paid search campaign running, conversion tracking is non-existent in reporting (as it relates to paid search).

Hope that makes sense.

To sum it all up. If you want to check to make sure Conversion Tracking is working, then you need to first find one of your paid search ads in Google (by doing a search on one of the keyword you are bidding on) then click the ad and complete a purchase. Just going directly to your site (not through a paid search ad) and completing a purchase will show "1 purchase / sale" in your analytics account, but "0" (zero) conversions based on that sale (because the sale came from a source outside of the paid search realm.)

Yes, I understand about how it works (although good explanation!), but I was wondering if there was an easy way to fudge it.

29 Jan 2008, 6:43 PM
#570
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

shrimp-gumbo-mmmhhh:

For ecommerce- some of my orders don't have the items or amounts in them... some are Paypal and some are Credit Card (authorizenet_aim). Any idea why it is working sometimes and not others?

Thanks,

Shrimp-Gumbo

Hello,

Anybody other than me not seeing all transactions that they would expect to see?

There are many authorizenet_aim transactions that I think should definitely be on the analytics report? I guess Paypal might not show up if users don't come back to the checkout_success page.

Shrimp-Gumbo

29 Jan 2008, 7:22 PM
#571
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

shrimp-gumbo-mmmhhh:

Hello,

Anybody other than me not seeing all transactions that they would expect to see?

There are many authorizenet_aim transactions that I think should definitely be on the analytics report? I guess Paypal might not show up if users don't come back to the checkout_success page.

Shrimp-Gumbo

Econcepts....

Do you have any tricks in your Analytics book that might help me? I am seeing only a speck of where my orders are coming from and I want to see more... I cannot see Paypal, Google orders and most credit card orders.

29 Jan 2008, 7:28 PM
#572
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

shrimp-gumbo-mmmhhh:

Econcepts....

Do you have any tricks in your Analytics book that might help me? I am seeing only a speck of where my orders are coming from and I want to see more... I cannot see Paypal, Google orders and most credit card orders.

Maybe it might be helpful to make the checkout confirmation page the "checkout_sucess" page... then only Google Checkout would not be showing up in the reports... I might show more conversions but that is better than only showing 5% of conversions (other transactions show but with no money). Is there an easy way to move the code so that the "confirmation" page collects conversions?

Thanks

Shrimp-Gumbo

29 Jan 2008, 8:34 PM
#573
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Just a little more information about my issue:

The many transactions that are missing revenue amounts when clicked on do show the revenue amounts for the individual items. I am running 1.3.7

I have looked over the google_analytics.php file and don't see any issues with the google_analytics['ot_total'] ... not that it means an awful lot.

30 Jan 2008, 5:25 PM
#574
brikat avatar

brikat

New Zenner

Join Date:
Apr 2007
Posts:
50
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I just installed this mod and everything seems to be working O.K. except I'm getting warnings when going to secure pages. Can someone please give me direction on how to solve this problem?

Thanks so much,

Lisa

30 Jan 2008, 7:53 PM
#575
jaap avatar

jaap

New Zenner

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

Re: Simple Google Analytics - Support

Very nice add-on ... thanks! New zenner question re: GA ...

I'm very new to php and don't have the foggiest idea :huh: where to find the </body> tag of the create_account_success page to install conversion tracking on this page ... assuming of course that this is actually required and that your add-on only installs conversion tracking for the checkout_success page :D Can someone please help by providing a pointer?

Thanks, Jaap
https://www.canopyxchange.za.net

30 Jan 2008, 10:11 PM
#576
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

jaap:

Very nice add-on ... thanks! New zenner question re: GA ...

I'm very new to php and don't have the foggiest idea :huh: where to find the </body> tag of the create_account_success page to install conversion tracking on this page ... assuming of course that this is actually required and that your add-on only installs conversion tracking for the checkout_success page :D Can someone please help by providing a pointer?

Thanks, Jaap
www.canopyxchange.za.net

Hello Jaap,

If you installed the full version it should already be on the checkout_success page. You can do a test order and check the source on the checkout_success page to confirm.

Shrimp

30 Jan 2008, 10:14 PM
#577
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

brikat:

I just installed this mod and everything seems to be working O.K. except I'm getting warnings when going to secure pages. Can someone please give me direction on how to solve this problem?

Thanks so much,

Lisa

Lisa,

Can you give us the source code (bottom google analystics portion) from a page that is giving this error? If you installed the whole version I don't think you should be having any SSL issues. Was that the only change that you made?

Shrimp-Gumbo

30 Jan 2008, 10:33 PM
#578
jaap avatar

jaap

New Zenner

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

Re: Simple Google Analytics - Support

jaap:

Very nice add-on ... thanks! New zenner question re: GA ...
I'm very new to php and don't have the foggiest idea :huh: where to find the </body> tag of the create_account_success page to install conversion tracking on this page ... assuming of course that this is actually required and that your add-on only installs conversion tracking for the checkout_success page :D Can someone please help by providing a pointer?
Thanks, Jaap
https://www.canopyxchange.za.net

Hello Shrimp,

**Conversion tracking for "create_account_success" page **

Maybe I confused the issue by mentioning that (I think) the mod ONLY installs conversion tracking for "checkout_success" page. I may be underestimating the mod here ...

BUT I actually want to know how to track "create_account_success" page conversions (SGA setting I missed? Or else where to find </body> tag?). My store sells high-value items, the prices of which are only displayed to "logged-in" users. It is the number of user registrations that I want to track. I hope this clarifies.

Thanks, Jaap
canopyxchange.za.net

30 Jan 2008, 11:10 PM
#579
brikat avatar

brikat

New Zenner

Join Date:
Apr 2007
Posts:
50
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks Shrimp,

Here's the bottom section from the source of the Log in page:

<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-3523887-1'); pageTracker._initData(); pageTracker._trackPageview('Login'); //--> </script>

I didn't make any other changes. Does this help at all?

Lisa

30 Jan 2008, 11:22 PM
#580
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

jaap:

Hello Shrimp,

**Conversion tracking for "create_account_success" page **

Maybe I confused the issue by mentioning that (I think) the mod ONLY installs conversion tracking for "checkout_success" page. I may be underestimating the mod here ...

BUT I actually want to know how to track "create_account_success" page conversions (SGA setting I missed? Or else where to find </body> tag?). My store sells high-value items, the prices of which are only displayed to "logged-in" users. It is the number of user registrations that I want to track. I hope this clarifies.

Thanks, Jaap
canopyxchange.za.net

Jaap,

econcepts can answer best but it places a code on all pages.... checkout_success would show as an ecommerce transaction.... I think in order to determine where the users are coming from that register you would have to include an additional code that you can find in the analytics documentation... I would suggest modifying the google_analytics.php file in the templates by adding another if statement after the:

if($page_directory == 'includes/modules/pages/checkout_success')
{
$order_query = "select orders_id, " . GOOGLE_ANALYTICS_TARGET . "_city as city, " . GOOGLE_ANALYTICS_TARGET . "_state as state, " . GOOGLE_ANALYTICS_TARGET . "_country as country from " . TABLE_ORDERS . " where customers_id = :customersID order by date_purchased desc limit 1";
$order_query = $db->bindVars($order_query, ':customersID', $_SESSION['customer_id'], 'integer');
$order = $db->Execute($order_query);
$google_analytics = array();
$totals = $db->Execute("select value, class from " . TABLE_ORDERS_TOTAL . " where orders_id = '" . (int)$order->fields['orders_id'] . "' and (class = 'ot_total' or class = 'ot_tax' or class = 'ot_shipping')");
while (!$totals->EOF) {
$google_analytics[$totals->fields['class']] = number_format($totals->fields['value'], 2, '.', '');
$totals->MoveNext();
}

to check to see if the customer is on the page you desire then modify the above if statement to spit out the required code to track that page.

Good Luck!

Shrimp