Hello,
I'm reall confused on how I would write this script. I need a Print Button to print as well as perform a tracking function with Google Analytics. How would I write this code?
Thanks for your help!
I know this is wong, but how would I combine the two OnClick events?Code:<script> document.write("<input type='button' " + "onClick='window.print()' " + "onClick='javascript:pageTracker._trackPageview('/hicom/coupon');" + "class='printbutton' " + "value='Print This Page'/>"); </script>



Reply With Quote

Bookmarks