homepage Welcome to WebmasterWorld Guest from 107.22.37.143
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
error in ecommerce transaction tracking code?
3 test transactions - seemingly all's correct - but no info in analytics?
Strider




msg:3195760
 1:04 pm on Dec 21, 2006 (gmt 0)

Digged thru analytics help and a few support forums on this topic - still can't find the reason why my transaction data is not showing.

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-#*$!XX-XX";
urchinTracker();
</script>

<form style="display:none;" name="utmform">
<textarea id="utmtrans">UTM:T<?=$order_amount?> </textarea>
</form>
<script type="text/Javascript">
__utmSetTrans()
</script>

-------------------

I made 3 test transactions yesterday and none of those has yet been
recorded.
Does it have to do with the time lag for ecommerce transaction tracking?

also php adds <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:T69.99 </textarea>
</form>

can this somehow keep __utmSetTrans() from working correctly?

 

Receptional




msg:3195786
 1:28 pm on Dec 21, 2006 (gmt 0)

I don't use Urchin, but if I did use Urchin, I'd assume there would be a setting that allowed me to exclude my own IP address from the stats. If I did do that on set up, that might be a problem for you now?

If urchin can't do that, then that's why I use a different package :)

Also - I only started learning PHP last week, so the rest of it I havn't a clue with... if you don't get jou in the tracking and logging forum, I'll bump this post over to the php forum. I'm sure there's one of those here somewhere...

[edited by: Receptional at 1:28 pm (utc) on Dec. 21, 2006]

Strider




msg:3195820
 2:01 pm on Dec 21, 2006 (gmt 0)

Thanks for the reply Receptional.

I did 2 fake orders from my IP and 1 from an IP address in a different country.

There is a filter in urchin for own IPs but it's not set up for this account.

I will keep posting this stuff in google groups and analytics support.

Thanks for your help

[edited by: Strider at 2:01 pm (utc) on Dec. 21, 2006]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved