[Support request] Add hook on thank you page

Home Forums Support Add hook on thank you page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1095796

    Hello! I need to add the Google Ads tracking code to measure conversions (Purchases)

    I have contacted them and they tell me that the code should be on the thank you page (WooCommerce) in the <head> </head> tags

    The point is, I had added the code, but in the location I had placed Entire site.

    What would be the correct location for this hook to only show on the thank you page?

    Customer Support

    Hi there,

    Woo doesn’t provide a static thank you page its just the order-received endpoint for the checkout. So you would need to create or redirect to a custom thank you page.

    There are plugins available for creating custom thank yous or this article explains how to redirect to a static page:


    Then you can hook your function to that page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.