Difference between revisions of "How do I modify the order snippet to work in ColdFusion?"
From Market Ruler Help
(Created page with 'Make sure the variable is surrounded by a <nowiki><cfoutput></nowiki> tag: <nowiki><cfoutput> <script type="text/javascript"> (function(){var d=document,u=((d.location.protoc…') |
(No difference)
|
Revision as of 18:43, 29 September 2009
Make sure the variable is surrounded by a <cfoutput> tag:
<cfoutput> <script type="text/javascript"> (function(){var d=document,u=((d.location.protocol=='https:')?'s':'')+'://www.conversionruler.com/bin/js.php?siteid=XXXX'; d.write(unescape('%3Cscript src=%22http'+u+'%22 type=%22text/javascript%22%3E%3C/script%3E'));})(); </script><script type="text/javascript"> var cramount0 = '#ORDER_AMOUNT#', crtext0 = '#ORDER_NUMBER#'; cr_track('3'); </script><noscript><div style="position: absolute; left: 0"><img src="https://www.conversionruler.com/bin/tracker.php?siteid=XXXX&nojs=1&actn=3&cramount0=#ORDER_AMOUNT#&crtext0=#ORDER_NUMBER#" alt="" width="1" height="1" /></div></noscript> </cfoutput>
The ORDER_AMOUNT and ORDER_NUMBER variables should be your variables for order amount and order number, respectively. If you have any further questions, contact us.