• Resolved rautudenis

    (@rautudenis)


    Hello,

    I tried to put the conversion tracking of google ads on “Thank you Page”, but I didn’t find that page. Can you help me? I found only “checkout page”.

Viewing 1 replies (of 1 total)
  • Plugin Author 99robots

    (@99robots)

    This is an old thread so I’ll be closing it as it was answered in other threads.

    If you’re using WooCommerce, it does not have a specific page for the Order Received (Thank You) page. Therefore, you need to either create a new page to replace that default WC /order-received url or write code to add this tracking snippet.

    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.

    OPTION 1: REDIRECT TO AN ACTUAL PAGE / NEW THANK YOU PAGE
    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/

    OPTION 2: UPDATE THEME FUNCTIONS.PHP FILE TO ADD FILTER (not recommended)
    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/

    OPTION 3: ADD SHORTCODE TO THE PAGE (if accessible)
    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Put google ads conversion tracking’ is closed to new replies.