Title: Put google ads conversion tracking
Last modified: September 26, 2021

---

# Put google ads conversion tracking

 *  Resolved [rautudenis](https://wordpress.org/support/users/rautudenis/)
 * (@rautudenis)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/put-google-ads-conversion-tracking/)
 * 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](https://wordpress.org/support/users/99robots/)
 * (@99robots)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/put-google-ads-conversion-tracking/#post-15166364)
 * 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/](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/](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.

 * ![](https://ps.w.org/header-footer-code-manager/assets/icon-256x256.png?rev=2681303)
 * [Header Footer Code Manager](https://wordpress.org/plugins/header-footer-code-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer-code-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer-code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer-code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer-code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer-code-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [99robots](https://wordpress.org/support/users/99robots/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/put-google-ads-conversion-tracking/#post-15166364)
 * Status: resolved