Archived topic
Implement javascript on the web
1 reply · Started by Juan Luis on May 20, 2020
Viewing posts 1–2 of 2
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
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/
This archived topic is closed to new replies.