<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Google eCommerce Tracking with osCommerce</title>
	<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/</link>
	<description>Web Development and Internet Traffic Matters</description>
	<pubDate>Sun, 01 Aug 2010 02:15:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: Mark Matanza</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-68441</link>
		<pubDate>Wed, 21 Apr 2010 21:35:37 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-68441</guid>
					<description>Disregard my previous comment, my code got stripped out.

I was trying to test to see if my values got passed to the page by using:

print_r ($orders);
print_r ($addTrans);
print_r ($products_array);

But only the $products_array is being printed out.

I'm still learning PHP, but im thinking is it because there is a $products_array and no $orders_array?

Can we do something like this? Would this be the same thing??

while ($orders = tep_db_fetch_array($orders_query)) {
$orders_array[] = array(


}

);



pageTracker._addTrans(
“”,                // Order ID
“”,           // Affiliation - Mountain View
“”,            // Total
“”,                 // Tax
“”,            // Shipping
“”,           // City - San Jose
“”,          // State - California
“”         // Country - USA
);

)

Also I noticed the Affiliation is using the customers_city value, shouldn't it be the store name?? 

Any help appreciated!

Thanks,
Mark</description>
		<content:encoded><![CDATA[<p>Disregard my previous comment, my code got stripped out.</p>
<p>I was trying to test to see if my values got passed to the page by using:</p>
<p>print_r ($orders);<br />
print_r ($addTrans);<br />
print_r ($products_array);</p>
<p>But only the $products_array is being printed out.</p>
<p>I&#8217;m still learning PHP, but im thinking is it because there is a $products_array and no $orders_array?</p>
<p>Can we do something like this? Would this be the same thing??</p>
<p>while ($orders = tep_db_fetch_array($orders_query)) {<br />
$orders_array[] = array(</p>
<p>}</p>
<p>);</p>
<p>pageTracker._addTrans(<br />
“”,                // Order ID<br />
“”,           // Affiliation - Mountain View<br />
“”,            // Total<br />
“”,                 // Tax<br />
“”,            // Shipping<br />
“”,           // City - San Jose<br />
“”,          // State - California<br />
“”         // Country - USA<br />
);</p>
<p>)</p>
<p>Also I noticed the Affiliation is using the customers_city value, shouldn&#8217;t it be the store name?? </p>
<p>Any help appreciated!</p>
<p>Thanks,<br />
Mark
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mark Matanza</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-68439</link>
		<pubDate>Wed, 21 Apr 2010 21:19:59 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-68439</guid>
					<description>Hi Ed, 

Great notes!

Would the below code work as well?


pageTracker._addTrans(
"",                // Order ID
"",           // Affiliation
"",            // Total
"",                 // Tax
"",            // Shipping
"",           // City
"",          // State
""         // Country
);

}
}</description>
		<content:encoded><![CDATA[<p>Hi Ed, </p>
<p>Great notes!</p>
<p>Would the below code work as well?</p>
<p>pageTracker._addTrans(<br />
&#8220;&#8221;,                // Order ID<br />
&#8220;&#8221;,           // Affiliation<br />
&#8220;&#8221;,            // Total<br />
&#8220;&#8221;,                 // Tax<br />
&#8220;&#8221;,            // Shipping<br />
&#8220;&#8221;,           // City<br />
&#8220;&#8221;,          // State<br />
&#8220;&#8221;         // Country<br />
);</p>
<p>}<br />
}
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: iJames</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-62433</link>
		<pubDate>Fri, 26 Mar 2010 09:10:46 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-62433</guid>
					<description>Yes, the quotes are a different encoding than what the text on my php pages likes. It's both the double quotes and the single quotes.  I did a fine and replace (three passes for double-quote, left, and right single quotes.  

Than I believe the code was correct.  Still testing...</description>
		<content:encoded><![CDATA[<p>Yes, the quotes are a different encoding than what the text on my php pages likes. It&#8217;s both the double quotes and the single quotes.  I did a fine and replace (three passes for double-quote, left, and right single quotes.  </p>
<p>Than I believe the code was correct.  Still testing&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Joe</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-57167</link>
		<pubDate>Fri, 12 Feb 2010 13:15:55 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-57167</guid>
					<description>I don't think the copy-paste issues are resolved yet - it's still giving me funny quotes</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think the copy-paste issues are resolved yet - it&#8217;s still giving me funny quotes
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jonathan Hochman</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-44177</link>
		<pubDate>Thu, 13 Aug 2009 14:45:42 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-44177</guid>
					<description>Thank you for this code!

It looks like your blog is implementing smart quotes. I got your code to work by running it through my smart quote replacement filter, http://www.hochmanconsultants.com/tools/replace-smart-quotes.shtml.  It replaces funky quotes with standard quotes.</description>
		<content:encoded><![CDATA[<p>Thank you for this code!</p>
<p>It looks like your blog is implementing smart quotes. I got your code to work by running it through my smart quote replacement filter, <a href="http://www.hochmanconsultants.com/tools/replace-smart-quotes.shtml." rel="nofollow">http://www.hochmanconsultants.com/tools/replace-smart-quotes.shtml.</a>  It replaces funky quotes with standard quotes.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ed</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-18758</link>
		<pubDate>Tue, 06 Jan 2009 04:00:10 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-18758</guid>
					<description>Eric, I believe the issues with the cutting and pasting are now resolved.</description>
		<content:encoded><![CDATA[<p>Eric, I believe the issues with the cutting and pasting are now resolved.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eric Hackathorn</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-15002</link>
		<pubDate>Mon, 17 Nov 2008 22:46:55 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-15002</guid>
					<description>For me when I tried to cut and paste the code above the funny double and single quotes threw errors in the PHP parser.</description>
		<content:encoded><![CDATA[<p>For me when I tried to cut and paste the code above the funny double and single quotes threw errors in the PHP parser.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ed</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-13661</link>
		<pubDate>Thu, 23 Oct 2008 16:27:25 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-13661</guid>
					<description>Hey there. If you're having problems with just the default Google code, then you should take a few steps back and figure out what's going on. 

Google analytics basic code is just JavaScript so it shouldn't be giving your site too hard of time. If you want to contact me you can email me a quick description of your error and email address from my contact form at my other Website kliky.com.</description>
		<content:encoded><![CDATA[<p>Hey there. If you&#8217;re having problems with just the default Google code, then you should take a few steps back and figure out what&#8217;s going on. </p>
<p>Google analytics basic code is just JavaScript so it shouldn&#8217;t be giving your site too hard of time. If you want to contact me you can email me a quick description of your error and email address from my contact form at my other Website kliky.com.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: aehageman</title>
		<link>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-13653</link>
		<pubDate>Thu, 23 Oct 2008 11:40:56 +0000</pubDate>
		<guid>http://www.kliky.net/howto/google-ecommerce-tracking-with-oscommerce/#comment-13653</guid>
					<description>First let me thank you for posting this article.
Second I can not manage to get any google code to work. Even the default code.
third no ones code seems to work. (for me)
finally your code does not work for me either.
several errors in the footer. Probably something I did.

Thanks
If you want to help me more, PLEASE contact me.</description>
		<content:encoded><![CDATA[<p>First let me thank you for posting this article.<br />
Second I can not manage to get any google code to work. Even the default code.<br />
third no ones code seems to work. (for me)<br />
finally your code does not work for me either.<br />
several errors in the footer. Probably something I did.</p>
<p>Thanks<br />
If you want to help me more, PLEASE contact me.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
