This is a discussion on Google Analytics e-commerce within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I found this contrib on oscommerce: osCommerce Community Add-Ons In the installation file it gives these instructions: How to install ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I found this contrib on oscommerce: osCommerce Community Add-Ons In the installation file it gives these instructions: Quote:
I paid someone to do mine but it would also be nice to get feedback on how to do this so that I can check and troubleshoot if it doesn't work properly. Unfortunately with google you're stuck waiting 24 hours between code changes to see if your attempted fix worked or not. |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| footer is replaced with the end of main_page.tpl.php so anything that goes into footer.php should be at the bottom of main_page.tpl.php
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
| The Following User Says Thank You to met00 For This Useful Post: | ||
tcshadow (06-30-2008) | ||
|
#3
| ||||
| ||||
| tcshadow, Search the forum. I posted step by step instructions somewhere many months ago on how to install that exact contribution on OSCMAX (except the part where you modify the tracking for sales, but that is exactly the same in OSC and OSCMAX from what I remember) |
|
#4
| |||
| |||
| Quote:
I'm out of ideas... nfi how to make it work. |
|
#5
| ||||
| ||||
| Oh, ok. You should specify then that your problem is related to your OSCMAX store being run on SSL, since you say it is working ok when you are not using HTTP. You paid someone to install it and now you want to see how he did it/what he changed? You should have backed your store FULLY before leting anyone touch it, and after he is finished, compare the BEFORE with the AFTER and see exactly what files he modified, and what changes he did. |
|
#6
| |||
| |||
| I know what he did... It's not working though. He did all the right things and I have also looked through and double checked everything was done right. It simply isn't working and I suspect this is because of BTS. I have not yet heard of anyone getting analytics e-commerce tracking working properly. And if they have, they haven't been open to share how they did it. basic analytics goal tracking works fine with the old urchin code but that will be phased out within the year. The new ga.js doesn't work properly when it is installed the same way as urchin. No one seems to be able to fix this or have an interest in fixing it though. I've seen lots of advice based on assumptions but no one is willing to say "this is what I did and I can prove it works". Because it doesn't. At least it's not in the slightest straight forward. I've even installed a vanilla oscmax to try it out and it simply doesn't work. |
|
#7
| ||||
| ||||
| Can't help then, sorry. I haven't bothered with the new code, and I do not have my store setup with https. |
|
#8
| ||||
| ||||
| There are several ways to do this. Here is one simple way: 1. Edit /catalog/includes/configure_bts.php and add a new main template definition. Under this on line 19: PHP Code: PHP Code: PHP Code: PHP Code: PHP Code: PHP Code: Then edit main_page2.tpl.php. After this: PHP Code: PHP Code: 5. create a new directory 'analytics' in catalog/includes/modules/. result: catalog/includes/modules/analytics/. 6. copy the file 'analytics.php' into this directory. if necessary, change the $transaction_string and/or the $item_string , for example if you do not use the value customers_state or affiliation tag, replace this with dummy text (company name description), like: PHP Code: PHP Code: PHP Code:
__________________ Michael Sasek osCMax Developer
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
tcshadow (07-14-2008) | ||
|
#9
| |||
| |||
| Many thanks Michael, I'll give this a go tonight on my sandbox and shoot through some transactions to see how it goes. |
|
#10
| |||
| |||
| I can successfully say that michaels instructions above worked - kind of. It registered 1 sale(the ecommerce part) last night. I did 2 test transactions. Urchin used to register a conversion even from your filtered ip. It may be that this current code correctly ignores the excluded IPs when it comes to conversions. ie if you do a test order and have a filter set up it won't show... I'm going to disable my filters now and see how it works... |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google Analytics (beta) with E-commerce | michael_s | New osCommerce Contributions | 0 | 06-22-2008 02:13 PM |
| Google Analytics (beta) with E-commerce | michael_s | New osCommerce Contributions | 1 | 06-07-2008 01:43 PM |
| Google Analytics (beta) with E-commerce | michael_s | New osCommerce Contributions | 0 | 01-15-2008 02:11 AM |
| Google Analytics (beta) with E-commerce | michael_s | New osCommerce Contributions | 0 | 01-14-2008 04:42 AM |
| Google Analytics (beta) with E-commerce | michael_s | New osCommerce Contributions | 0 | 01-09-2008 04:55 AM |