Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Web Browsers and Statistics

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 12-21-2006, 09:19 AM   #1 (permalink)
Noogle
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
seologist is on a distinguished road
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...
seologist is offline   Reply With Quote
 
Sponsored Links
Old 01-23-2007, 05:27 AM   #2 (permalink)
Noogle
 
Join Date: Jan 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
andyg1 is on a distinguished road
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
andyg1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -8. The time now is 08:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community