Home › Forums › Support › Implement javascript on the web This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts May 20, 2020 at 2:01 am #1293353 Juan Luis Good morning, I would like to add javascript code in the purchase confirmation page in woocommerce, I have tried to do it through hook but the page in question does not locate me, any way to do it without hook? Attached url May 20, 2020 at 2:29 am #1293376 DavidStaff Customer Support Hi there, try the woocommerce_thankyou hook this gets triggered upon order completion. Heres an example of it being used: https://docs.woocommerce.com/document/custom-tracking-code-for-the-thanks-page/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In