This is a discussion on Google-Analytics within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi I want to put my google-analytics code into my oscmax v2 - have read that in osc you just ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi I want to put my google-analytics code into my oscmax v2 - have read that in osc you just put the code in the header.php - but I can't seem to find a header.php in my oscmax. Anybody knows how to install the google analytics code in a oscmax store? Regards Johnny |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| If you put it in header php, that has all been moved to main_page.tpl.php so put it there.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| I have google analytics installed on my OSCMax installation. I've included the Google code in my footer include which is called on the main_page.tpl.php file. To make use of GA's eCommerce options, however, additional code is required. Has anyone installed the kind of thing described here: http://www.google.com/support/analyt...amp;topic=7282 Essentially, you need to be able to plug a transcation's info into a form on the checkout_success.php page. The information in [] is that which needs to be called up: <body onLoad="javascript:__utmSetTrans()"> <form style="display:none;" name="utmform"> <textarea id="utmtrans">UTM:T|[order-id]|[affiliation]| [total]|[tax]| [shipping]|[city]|[state]|[country] UTM:I|[order-id]|[sku/code]|[productname]|[category]|[price]| [quantity] </textarea> </form> |
|
#4
| |||
| |||
| i have tried to add google analytics to my store but im having problems with it and my SSL. anyhow i gave up on that since i am also not quite sure if i want to share those information with google. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google Checkout | wptech | Google Checkout | 19 | 08-05-2007 07:03 PM |
| Reviews and google analytics | dasmurphy | osCMax v2 Installation issues | 0 | 08-15-2006 05:28 PM |
| google checkout ? | louis1st | osCMax v2 Features Discussion | 1 | 06-29-2006 06:24 AM |
| Google Ads | battleaxe | osCMax v1.7 Discussion | 0 | 06-04-2004 01:21 PM |