• Resolved kthacker

    (@kthacker)


    I need to add a snippet from AdWords to the Order Confirmation page customers see after checking out on our site. This is not a page that I can edit, listed in my pages, but rather a child of a parent page. (/checkout/order-received/)

    How can I add the code to a specific page, or child of a parent page, if that page isn’t listed?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support 99robotsteam

    (@99robotsteam)

    Hello @kthacker – If the page is created within WordPress and unless it is a third-party plugin/service created landing page, it should be available in the list of specific pages.

    If it is created by a third-party plugin (for example WooCommerce) – You can edit the Thank You / Order-confirmation template to either redirect to a custom page that you have created in WordPress or you can use filters to add code snippets to the existing original WooCommerce page.

    We recommend going with the redirect option as it offers more customizability and also you would be able to track the snippet with more ease.

    Here is a link that should help you, should you choose either option:
    https://www.tychesoftwares.com/how-to-customize-the-woocommerce-thank-you-page/

    Alternatively, you can also use a filter to directly insert your tracking code. For this, you will need to edit your theme’s function.php file –

    Here is a link that explains the filter code snippet:
    https://docs.woocommerce.com/document/custom-tracking-code-for-the-thanks-page/

    In place of directly adding the code as mentioned in the document above, you can use the Manual option in Header Footer Code Manager for your snippet, grab the shortcode and paste it in the file as echo do_shortcode('[name_of_shortcode]');.

    Please make sure before making any kind of changes to your theme’s code, you take a backup of your site OR if you have a staging environment, It would be best to test out the changes on a staging development environment, so that your site is safe incase anything goes sideways or doesn’t work.

    Please let us know if you have any additional questions,

    Hope this helps,

    Plugin Support 99robotsteam

    (@99robotsteam)

    Hello @kthacker – We havent heard from you in over a week! Therefore we are closing this ticket. If you are still facing this issue or need help with anything else, please open up a new ticket!

    Thank you,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order Confirmation Page’ is closed to new replies.