Results 1 to 4 of 4

Google-Analytics

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 ...

      
  1. #1
    New Member
    Join Date
    Jun 2006
    Posts
    7
    Rep Power
    0


    Default Google-Analytics

    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    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.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Jun 2005
    Posts
    3
    Rep Power
    0


    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>
    </form>

  4. #4
    New Member
    Join Date
    Nov 2005
    Posts
    14
    Rep Power
    0


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

Bookmarks

Posting Permissions

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