|
||||||||||
|
|||||||
| GoogleCommunity Sponsor |
Use coupon "forum" for 50% Off! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Noogle
![]() Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
error in ecommerce transaction tracking code?
Hi,
Looking for some help from experienced users. Digged thru analytics help and a few support forums on this topic as well as google groups - still can't find the reason why my transaction data is not showing. I have installed ecommerce value tracking into my final order confirmation page (it is set up as goal page as well) Here's some of the source code for the order confirmation page ---------- <?php session_start(); $name = $_SESSION['name']; $order_amount=$_SESSION['order_amount']; ?> <title>Order Processed</title> <br> DEAR <?=$name?>! <br><br> THANK YOU FOR PLACING YOUR ORDER! <br><br> IN A FEW MOMENTS YOU WILL RECEIVE AN E-MAIL CONFIRMATION. <br><br> CLICK <a href="http://www.#*$!#*$!#*$!.com">HERE</a> TO RETURN TO HOME PAGE <br> <script src=" https://ssl.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-XXXXX-XX"; urchinTracker(); </script> <form style="display:none;" name="utmform"> <textarea id="utmtrans">UTM:T|||<?=$order_amount?>||||| </textarea> </form> <script type="text/Javascript"> __utmSetTrans() </script> ------------------- variable $order_amount has been added safely in the resulting html. I made 3 test transactions yesterday and none of those has been recorded. 2 of them were made from my IP, 1 from an IP in Florida, US. there’s been more than 24 hours since then… I made 3 test transactions yesterday and none of those has yet been recorded. also php added <input type="hidden" name="PHPSESSID" value=SESSIONIDVALUE /> to the form making it smth like <form style="display:none;" name="utmform"><input type="hidden" name="PHPSESSID" value="92dp0djftjsq07o2lcdhpbg8l2" /> <textarea id="utmtrans">UTM:T¦¦¦69.99¦¦¦¦¦ </textarea> </form> can this somehow keep __utmSetTrans() from working correctly? thanks for your time reviewing this... |
|
|
|
|
Sponsored Links
|
|
|
|
#2 (permalink) |
|
Noogle
![]() Join Date: Jan 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
I have my PHP set up in a pretty similar way to yours.
I have the __utmSetTrans() in the onload attribute of the <body> tag. Have you tried that? As per instructions: https://www.google.com/support/analy...03&ctx=sibling |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PDF Tracking Problem | alex06 | Web Browsers and Statistics | 1 | 10-02-2007 10:38 PM |
| How to use GA with your own tracking URL | Nirav | Web Browsers and Statistics | 0 | 11-01-2006 08:33 AM |
| RSS Tracking | JoeySEO | General Computer Forum | 1 | 10-23-2006 03:48 AM |
| Google Code: Summer of Code | Randy | Google and Open Source | 6 | 06-04-2005 11:38 AM |