<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Shopping.com ROI Tracker Implementation</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Customizing ProductCart : Shopping.com ROI Tracker Implementation]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 03:41:33 +0000</pubDate>
  <lastBuildDate>Tue, 18 Nov 2014 01:45:16 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=5301</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Shopping.com ROI Tracker Implementation : I wanted to bring this thread...]]></title>
   <link>https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post22265.html#22265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=89">whizzinpc</a><br /><strong>Subject:</strong> 5301<br /><strong>Posted:</strong> 18-November-2014 at 1:45am<br /><br />I wanted to bring this thread back to life. Can anyone help finish the code for the shopping.com ROI Tracker. Only thing not working is looping through all products in the order. The way the code is now only shows the last product in the order. So its reporting incorrectly.<br><br><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- START Shopping.com ROI Tracking Code --&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;script type="text/javascript"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var _roi = _roi || &#091;&#093;;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Step 1: add base order details<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _roi.push(&#091;'_setMerchantId', 'xxxxxx'&#093;); // required<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _roi.push(&#091;'_setOrderId', '&lt;%=pOrderNumber%&gt;'&#093;); // unique customer order ID<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _roi.push(&#091;'_setOrderAmount', '&lt;%=pTotal%&gt;'&#093;); // order total without tax and shipping<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _roi.push(&#091;'_setOrderNotes', ''&#093;); // notes on order, up to 50 characters<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Step 2: add every item in the order<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // where your e-commerce engine loops through each item in the cart and prints out _addItem for each<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // please note that the order of the values must be followed to ensure reporting accuracy<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _roi.push(&#091;'_addItem',<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&lt;%=pIdProduct%&gt;', // Merchant sku<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&lt;%=pdescription%&gt;', // Product name<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '', // Category id<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '', // Category name<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&lt;%=punitPrice1%&gt;', // Unit price<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&lt;%=pquantity%&gt;' // Item quantity<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#093;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Step 3: submit transaction to ECN ROI tracker<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _roi.push(&#091;'_trackTrans'&#093;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/script&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script type="text/javascript" src="https://stat.dealtime.com/ROI/ROI2.js"&gt;&lt;/script&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- END Shopping.com ROI Tracking Code --&gt;<br></span><br>]]>
   </description>
   <pubDate>Tue, 18 Nov 2014 01:45:16 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post22265.html#22265</guid>
  </item> 
  <item>
   <title><![CDATA[Shopping.com ROI Tracker Implementation : Ok. PC doesn&amp;#039;t have a subtotal,...]]></title>
   <link>https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20243.html#20243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5301<br /><strong>Posted:</strong> 03-October-2012 at 1:49pm<br /><br />Ok. PC doesn't have a subtotal, so we have to do some math here. So for "Step 1" you'd want:<div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>&lt;%</div><div>dim lngSubtotal</div><div>lngSubtotal = ptotal - (ptaxAmount + serviceHandlingFee + Postage)</div><div>lngSubtotal = money(lngSubtotal)</div><div>%&gt;</div><div>&lt;script type="text/javascript"&gt;</div><div>var _roi = _roi || &#091;&#093;;</div><div><br></div><div>// Step 1: add base order details</div><div><br></div><div>_roi.push(&#091;'_setMerchantId', 'xxxxxx'&#093;); // required</div><div>_roi.push(&#091;'_setOrderId', '&lt;%=(pOrderNumber)%&gt;'&#093;); // unique customer order ID</div><div>_roi.push(&#091;'_setOrderAmount', '&lt;%=(lngSubtotal)%&gt;'&#093;); // order total without tax and shipping</div><div>_roi.push(&#091;'_setOrderNotes', '&lt;%=(left(pcomments,50))%&gt;'&#093;); // notes on order, up to 50 characters</div></div><div></pre></td></tr></table></div><div><br></div><div>Generating the content for "Step 2" would require some work, though.</div>]]>
   </description>
   <pubDate>Wed, 03 Oct 2012 13:49:06 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20243.html#20243</guid>
  </item> 
  <item>
   <title><![CDATA[Shopping.com ROI Tracker Implementation : It would be the subtotal before...]]></title>
   <link>https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20242.html#20242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=89">whizzinpc</a><br /><strong>Subject:</strong> 5301<br /><strong>Posted:</strong> 03-October-2012 at 1:27pm<br /><br />It would be the subtotal before shipping, tax.]]>
   </description>
   <pubDate>Wed, 03 Oct 2012 13:27:22 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20242.html#20242</guid>
  </item> 
  <item>
   <title><![CDATA[Shopping.com ROI Tracker Implementation : Oh, one more question: For this,...]]></title>
   <link>https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20241.html#20241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5301<br /><strong>Posted:</strong> 03-October-2012 at 1:18pm<br /><br />Oh, one more question: For this, would you want to push the complete order total (including shipping, taxes, etc.) or the subtotal before all of that?]]>
   </description>
   <pubDate>Wed, 03 Oct 2012 13:18:01 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20241.html#20241</guid>
  </item> 
  <item>
   <title><![CDATA[Shopping.com ROI Tracker Implementation : Hi Art,For &amp;#034;Step 1&amp;#034;...]]></title>
   <link>https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20240.html#20240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5301<br /><strong>Posted:</strong> 03-October-2012 at 1:11pm<br /><br />Hi Art,<div><br></div><div>For "Step 1" you'd want:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>// Step 1: add base order details</div><div><br></div><div>_roi.push(&#091;'_setMerchantId', 'xxxxxx'&#093;); // required</div><div>_roi.push(&#091;'_setOrderId', '&lt;%=(pOrderNumber)%&gt;'&#093;); // unique customer order ID</div><div>_roi.push(&#091;'_setOrderAmount', '&lt;%=(ptotal)%&gt;'&#093;); // order total without tax and shipping</div><div>_roi.push(&#091;'_setOrderNotes', '&lt;%=(left(pcomments,50))%&gt;'&#093;); // notes on order, up to 50 characters</div></div><div></pre></td></tr></table></div><div><br></div><div>For "Step 2", a modification to orderComplete.asp would be necessary. What you have there won't work at all, but even if corrected, at this point in the processing it would only pick up the values for the last item in the cart. To track the ROI at the item level, this bit of the script would need to be dynamically populated as orderComplete.asp loops through the items in the order, or (better) it could be generated straight off of pcCartArray.</div>]]>
   </description>
   <pubDate>Wed, 03 Oct 2012 13:11:19 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20240.html#20240</guid>
  </item> 
  <item>
   <title><![CDATA[Shopping.com ROI Tracker Implementation : Can someone let me know if this...]]></title>
   <link>https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20239.html#20239</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=89">whizzinpc</a><br /><strong>Subject:</strong> 5301<br /><strong>Posted:</strong> 03-October-2012 at 12:50pm<br /><br />Can someone let me know if this code will work on the order complete page for Shopping.com's ROI Tracker. I think I have it right except i'm not sure about the OrderID. <br><br><table width="99%"><tr><td><pre class="BBcode">&lt;script type="text/javascript"&gt;<br>var _roi = _roi || &#091;&#093;;<br><br>// Step 1: add base order details<br><br>_roi.push(&#091;'_setMerchantId', 'xxxxxx'&#093;); // required<br>_roi.push(&#091;'_setOrderId', '&lt;%=(int(pOID)+scpre)%&gt;'&#093;); // unique customer order ID<br>_roi.push(&#091;'_setOrderAmount', 'ptotal'&#093;); // order total without tax and shipping<br>_roi.push(&#091;'_setOrderNotes', 'pcomments'&#093;); // notes on order, up to 50 characters<br><br>// Step 2: add every item in the order<br>// where your e-commerce engine loops through each item in the cart and prints out _addItem for each<br>// please note that the order of the values must be followed to ensure reporting accuracy<br><br>_roi.push(&#091;'_addItem',<br>'psku', // Merchant sku<br>'pdescription', // Product name<br>'', // Category id<br>'', // Category name<br>'punitPrice', // Unit price<br>'pquantity' // Item quantity<br>&#093;);<br><br>// Step 3: submit transaction to SDC ROI tracker<br><br>_roi.push(&#091;'_trackTrans'&#093;);<br>&lt;/script&gt;<br>&lt;script type="text/javascript" src="https://stat.dealtime.com/ROI/ROI2.js"&gt;&lt;/script&gt;</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 03 Oct 2012 12:50:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/shopping-com-roi-tracker-implementation_topic5301_post20239.html#20239</guid>
  </item> 
 </channel>
</rss>