SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    e-commerce data is not rendering in GA analytics

    The site is www.http://businessobjectsexpert.wispubs.com/

    The e-commerce data is not rendering in GA analytics, here is what we have:

    <script type='text/javascript'>
    var main_property_id = 'UA-XXXXXXXX-1';
    var event_track_lag_milliseconds = 100;
    var customVariable =null;
    var url_override = null;
    var eCommercePage = false;
    var transaction = [];
    var items = [[]];
    </script>

    <script src="scripts/one_tracker_gatc.1.1.js" type="text/javascript"></script>


    On receipt page, the following code is generated:

    <script type='text/javascript'>
    var main_property_id = 'UA-XXXXXXXX-1';
    var event_track_lag_milliseconds = 100;
    var customVariable =null;
    var url_override = null;
    var eCommercePage = false;
    var transaction = [];
    var items = [[]];
    </script>

    <script type='text/javascript'>
    eCommercePage = true;
    transaction = ['1234f67c-085d-4324-b742-060e5a871953','kb','395.00','','','AnyCity','ST','US'];;
    items = [['1234f67c-085d-4324-b742-060e5a871953','BOE-PAID','BusinessObjects Expert','bobj_experts','XXX.00','1']];
    </script>

    <script src="scripts/one_tracker_gatc.1.1.js" type="text/javascript"></script>


    Can you let me know if all params look correct - i.e. - main_property_id, etc. I did make a small change to javascript rendered on receipt page, which may resolve issue.

    Any help or guidance is appreciated. Thank you.

  2. #2
    SitePoint Member Daniel O.'s Avatar
    Join Date
    Nov 2010
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dumb question for you but sometimes I surprise myself; have you enabled "eCommerce Tracking" on Google Analytics?

    Just checking the basics... you can just answer with a simple "yes, of course I have".

    -Daniel O.
    eCommerce Developer
    Shopping Carts for Websites - Online Store Designers
    Opening an Online Store - eCommerce Developer

  3. #3
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "yes I do have it enabled."..Please, don't mind questions like that..Thanks for looking at it. Any replies or suggestions welcome. Thanks Daniel, DJKay

  4. #4
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We got it working now. Thanks, Mary Kay


Tags for this Thread

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
  •