by robm » Sun May 04, 2008 10:16 am
Although Yahoo docs state it should be placed in the head section, try putting the code in the backoffice in the textbox "Text at the top of the thank you page" under:
Commerce Setup -> Order System -> Thank You
and it should work just fine. The javascript code will still be parsed near the top of the page, which will run the same as if it was placed in the head section.