Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 4 of 4

Thread: Google-Analytics

  1. #1

    Default Google-Analytics


    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?


  2. #2
    osCMax Developer


    Join Date
    Jul 2002
    Phoenix, AZ
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power

    Default RE: Google-Analytics

    If you put it in header php, that has all been moved to main_page.tpl.php so put it there.

  3. #3

    Default RE: Google-Analytics

    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>

  4. #4

    Default RE: Google-Analytics

    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.

Similar Threads

  1. Google Checkout
    By wptech in forum Google Checkout
    Replies: 18
    Last Post: 08-05-2007, 07:03 PM
  2. Reviews and google analytics
    By dasmurphy in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 08-15-2006, 05:28 PM
  3. google checkout ?
    By louis1st in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-29-2006, 06:24 AM
  4. Google Ads
    By battleaxe in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 06-04-2004, 01:21 PM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts