♥monte22 Posted November 20, 2005 Share Posted November 20, 2005 Has anyone gotten any results from this service yet? I have had the code on my site for 2 days, and Google still says awaiting data. I just switched the code to the new version that chooses SSL or Non-SSL...maybe that is the problem. We'll see. James Quote Link to comment Share on other sites More sharing options...
wheeloftime Posted November 20, 2005 Share Posted November 20, 2005 Has anyone gotten any results from this service yet? I have had the code on my site for 2 days, and Google still says awaiting data. I just switched the code to the new version that chooses SSL or Non-SSL...maybe that is the problem. We'll see. James It can take quite some time. This is a part of the anwser I got on my email to Google support I understand that your data has not been updated in the past 24 hours. Due to system changes and the high demand of Analytics, please note that your reports may be delayed beyond 24 hours from time to time during this initial launch period. We are aware of the issue, and are working diligently to improve system performance. Thank you for your patience in the meantime Quote Link to comment Share on other sites More sharing options...
radders Posted November 20, 2005 Share Posted November 20, 2005 (edited) I had one day's worth of data on Thursday but nothing since. You just need to be patient. They say that demand exceeded expectations. Just goes to show how good the product is expected to be once fully functioning! Edited November 20, 2005 by radders Quote Link to comment Share on other sites More sharing options...
Guest Posted November 20, 2005 Share Posted November 20, 2005 (edited) There is a typo in the contrib that cause a javascript error. To fix this change onLoad="java script:__utmSetTrans()" to onLoad="javascript:__utmSetTrans()" that resides inside the body-tag in checkout_confirmation.php // Fredrik You're right. Thank you Fredrik. It will be changed into the contribution package shortly. Clement, thanks for this contribution. :thumbsup: I have a question: My catalog is non-ssl while shopping. When you login and checkout, the customer enters SSL, but it is a different domain. E.g. Person shops at http://shop.com, and checks out at https://secure-shop.com. When I set up my Analytics account, which domain name do I use? Both? Does it matter? Thanks for your help. Best, Ted Hello Ted, You always can track them as different profiles (not the most convenient). But Google provide instructions for your situation, too: Please check here: http://www.google.com/support/analytics/bi...6915&topic=2953 Has anyone gotten any results from this service yet? I have had the code on my site for 2 days, and Google still says awaiting data. I just switched the code to the new version that chooses SSL or Non-SSL...maybe that is the problem. We'll see. James I have some info into my Analytics account so I can be sure the tracking codes (basic and e-commerce) are working. The transactions were loged with all the details. The only problem is Google still has some delays updating tracked info into our accounts. Also, on the e-commerce info the products name is not displayed entirely while it is logged correctly when the name is considered too long. Our product names like: osCommerce Templated Store G00015 are displayed on google only osCommerce Templated S As you may see the distinctiv part into the name is at the end of title. So, we'll use some change of the code so we'll send to google only the last part of the product name if it exceeds a certain number of characters. Best regards, Clement Edited November 20, 2005 by osCoders Quote Link to comment Share on other sites More sharing options...
flom Posted November 20, 2005 Share Posted November 20, 2005 hey guys... i made all the changes that are being told in the ionstallation instructions. in my source i can see only the following code at the end of the checkout_success.php: <!-- end currenciesbox //--> </font></p></td> </tr> </table> <br> <p> <!-- Google Code for Default Conversion Page --> <script language="JavaScript" type="text/javascript"> <!-- var google_conversion_type = 'landing'; var google_conversion_id = XXXXXXXXX; var google_conversion_language = "de"; var google_conversion_format = "1"; var google_conversion_color = "FFFFFF"; //--> </script> <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/XXXXXXXXX/extclk?script=0"> </noscript> </p> </body> </html> What's going wrong? trying to make it work for 2 or 3 days now :( Quote Link to comment Share on other sites More sharing options...
mcbsolutions Posted November 21, 2005 Share Posted November 21, 2005 This contribution looks great. Thanks for everyone's input. I guess I need to wait to get my account. Anyone know how long it took to get one? G's message: "Google Analytics has experienced extremely strong demand, and as a result, we have temporarily limited the number of new signups as we increase capacity. In the meantime, please submit your name and email address and we will notify you as soon as we are ready to add new accounts. Thank you for your patience." Quote Link to comment Share on other sites More sharing options...
♥monte22 Posted November 22, 2005 Share Posted November 22, 2005 Got some data back from Google today...looks great. Just skimmed over it quickly, but there is a lot of great stuff that is definitely worth looking at. Really intersting to see the abandonment points during the checkout process...makes me think about streamlining the stock OSC a bit. James Quote Link to comment Share on other sites More sharing options...
Lamood Posted November 25, 2005 Share Posted November 25, 2005 I have the basic Google Anlytics code installed correctly (correct stats have been showing since 11/16/05), but the Ecommerce part of it is not showing any data. On /checkout_success.php I have the below code: <!-- footer_eof //--> <br> <?php // osCoders.biz - Analystics - start include(DIR_WS_MODULES . 'analytics/analytics.php'); // osCoders.biz - Analistics - end ?> </body> Under Google Analytics I have the Profile Setting set to Yes under the "E-Commerce Website" And I haven't received any E-Commerce Analysis. Has anyone been able to see their E-Commerce Analysis with this module? If so what I am doing wrong? Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2005 Share Posted November 25, 2005 I have the basic Google Anlytics code installed correctly (correct stats have been showing since 11/16/05), but the Ecommerce part of it is not showing any data. On /checkout_success.php I have the below code:<!-- footer_eof //--> <br> <?php // osCoders.biz - Analystics - start include(DIR_WS_MODULES . 'analytics/analytics.php'); // osCoders.biz - Analistics - end ?> </body> Under Google Analytics I have the Profile Setting set to Yes under the "E-Commerce Website" And I haven't received any E-Commerce Analysis. Has anyone been able to see their E-Commerce Analysis with this module? If so what I am doing wrong? Thanks! You have to insert a pice of code into the <BODY tag into the checkout_success.php page, too: onLoad="javascript:__utmSetTrans()" It should look like: <BODY MARGINWIDTH="0" MARGINHEIGHT="0" TOPMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" onLoad="javascript:__utmSetTrans()"> Please check that. Best regards, Clement Quote Link to comment Share on other sites More sharing options...
flom Posted November 25, 2005 Share Posted November 25, 2005 still no useful content at the end of my checkout_success.php ... doesn't anyone have an idea? it's my birthday! would be a nice gift if someone could tell me why! :D Quote Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2005 Share Posted November 25, 2005 Happy - Happy birthday to you! :thumbsup: Don't stress yourself with such things on your birthday. :) Anyway please let me know what you mean with "no useful content at the end" ? Do you see the code changes into the "html source" ? Or you say that because you don't see any data in your Analytics account report? Regards, Clement Quote Link to comment Share on other sites More sharing options...
Lamood Posted November 25, 2005 Share Posted November 25, 2005 Thanks. I added your code and will let you know if that works after the next Google update. You have to insert a pice of code into the <BODY tag into the checkout_success.php page, too: onLoad="javascript:__utmSetTrans()" It should look like: <BODY MARGINWIDTH="0" MARGINHEIGHT="0" TOPMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" onLoad="javascript:__utmSetTrans()"> Please check that. Best regards, Clement Quote Link to comment Share on other sites More sharing options...
ActiveTuning Posted November 25, 2005 Share Posted November 25, 2005 I have all the code on checkout_success.php and show no e-commerce info either... It should show all of the transactions in $ amounts and all right? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2005 Share Posted November 25, 2005 Hello David, Yes. It should show all the transactions into your account. However, we can't be sure the Analytics accounts are on full power now as Google announced some problem with the system load and noticed us all that we should expect some big delays in our reports. Just check if the form is sending correct data and everything should be ok. Best regards, Clement Quote Link to comment Share on other sites More sharing options...
Metalion Posted November 29, 2005 Share Posted November 29, 2005 (edited) I changed all of the number_format(x, 2) to number_format(x, 2, '.', '') in the code. Else values above 1000 get printed as 1,000.00 which analytics sees as 1.00. Also, for stores which sell in more than one currency some code should be added to convert the printed currency to the one used in your analytics reports. Edited November 29, 2005 by Metalion Quote Link to comment Share on other sites More sharing options...
timinark Posted November 29, 2005 Share Posted November 29, 2005 Thanks for this great contribution. On the Google side, I am not getting the same numbers as I get from my log analyser. I hope that it's just because they are not quite up to speed. Is anyone getting results from their Google Adwords campaigns. I thought that GA was to track that automatically? Is there a way to get information on content? I am not getting the information after the query string. Is this something I have to configure on GA? It's great that I am getting data, but, is there a discussion about how to make the data actionable, especially how it relates to OSC? Tim Quote Link to comment Share on other sites More sharing options...
flom Posted November 30, 2005 Share Posted November 30, 2005 (edited) Happy - Happy birthday to you! :thumbsup: Don't stress yourself with such things on your birthday. :) Anyway please let me know what you mean with "no useful content at the end" ? Do you see the code changes into the "html source" ? Or you say that because you don't see any data in your Analytics account report? Regards, Clement thanks clement :) i was absent for some days. the html results of my checkout_success.php can be viewed here: http://www.oscommerce.com/forums/index.php?sho...c=180940&st=40# it is Post #55 greets, flo Edited November 30, 2005 by flom Quote Link to comment Share on other sites More sharing options...
jaminunit Posted December 10, 2005 Share Posted December 10, 2005 Great contriubion. I was able to get the Analytics basic to work with my STS install. Add the below code to your catalog\includes\sts_display_output.php After: // Load up the <head> content that we need to link up everything correctly. Append to anything that may have been set in sts_user_code.php $template['headcontent'] .= '<meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '">' . "\n"; $template['headcontent'] .= $sts_block['headertags']; $template['headcontent'] .= '<base href="' . (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG . '">' . "\n"; Insert: if ($request_type == 'SSL') { $template['headcontent'] .= '<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">' . "\n"; $template['headcontent'] .= '</script>' . "\n"; $template['headcontent'] .= '<script type="text/javascript">' . "\n"; $template['headcontent'] .= '_uacct="UA-xxxxxx-x";' . "\n"; $template['headcontent'] .= 'urchinTracker();' . "\n"; $template['headcontent'] .= '</script>' . "\n"; } else { $template['headcontent'] .= '<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">' . "\n"; $template['headcontent'] .= '</script>' . "\n"; $template['headcontent'] .= '<script type="text/javascript">' . "\n"; $template['headcontent'] .= '_uacct="UA-xxxxxx-x";' . "\n"; $template['headcontent'] .= 'urchinTracker();' . "\n"; $template['headcontent'] .= '</script>' . "\n"; } Hope this helps... :thumbsup: Hi there I use STS aswell I just want to straiten this out. If I insert the above code into sts_display_output.php then Do I have to add the other code( as per the installation instructions) to checkout_success.php? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2005 Share Posted December 10, 2005 This is great module, saved me some work getting it all set up manually. Just one question, which is to do with the reports that you get at google. Everything seems to be working great and google is tracking the sales, however when looking at the Revenue and Transactions, under Ecommerce Analysis nothing shows up. Does this only work if you are using it with adwords for conversion tracking, or should it show up all transactions? If so does this mean that the transaction costs are not being sent to google? thnx Quote Link to comment Share on other sites More sharing options...
radders Posted December 10, 2005 Share Posted December 10, 2005 Yes it should show up amounts for e-commerce transactions even if you don't use any of those services. If you are using paypal I guess there would be other modifications to make to get those transactions to show up too. Quote Link to comment Share on other sites More sharing options...
timinark Posted December 12, 2005 Share Posted December 12, 2005 This is a great contribution. I am having one small issue. My goal tracking is not working well. I have set three goals shopping cart, create account, check out. The only one seemingly working is create account. I must have tracking installed correctly, because I am getting ecommerce numbers. Any ideas? Tim Quote Link to comment Share on other sites More sharing options...
flom Posted December 14, 2005 Share Posted December 14, 2005 hi, my contrib doesn't work. guess its due to that some code isn't executed. the end of my checkout_success.php: .. . <?php // osCoders.biz - Analystics - start include(DIR_WS_MODULES . 'analytics/analytics.php'); // osCoders.biz - Analistics - end ?> </boooooooooooody> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> as you can see for a test i changed <body to <boooooooooooody... but now look at the end of the source when accessing the page: <!-- end currenciesbox //--></font></p></td> </tr> </table> <br> <p> <!-- Google Code for Default Conversion Page --> <script language="JavaScript" type="text/javascript"> <!-- var google_conversion_type = 'landing'; var google_conversion_id = XXXXXXXXX; var google_conversion_language = "de"; var google_conversion_format = "1"; var google_conversion_color = "FFFFFF"; //--> </script> <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/XXXXXXX/extclk?script=0"> </noscript> </p> </body> </html> <body is returned correctly and not wrong as i entered it... dunno what to do. what's wrong here? furthermore if the analytics.php was included i should at least see this: <form style="display:none;" name="utmform"><textarea id="utmtrans"><?php echo $transaction_string . $item_string;?></textarea> </form> shouldn't i? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2005 Share Posted December 17, 2005 Yes it should show up amounts for e-commerce transactions even if you don't use any of those services. If you are using paypal I guess there would be other modifications to make to get those transactions to show up too. Thanks for that. We are using Worldpay but the sql query should pull the amounts from the DB like everything else, so im a bit confused why it isnt working quite right. Strange. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2005 Share Posted December 17, 2005 One thing I did notice was that in the installation instructions it says to include this in the body tag. onLoad="java script:__utmSetTrans()" However google says it should be onLoad="javascript:__utmSetTrans()" Not sure if the space in the word Javascript is making any difference, Firefox definitely thought it was, so maybe thats the cause. If so the contrib instructions need to be updated. Quote Link to comment Share on other sites More sharing options...
flom Posted December 21, 2005 Share Posted December 21, 2005 (edited) well i found out that there are no changes to my source code concerning the <booooody tag because of Simple Template System. may this also be the cause for the google code not to be executed? Edited December 21, 2005 by flom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.