add code to confirmation order
-
Dear my frends
I am using google listing ads plugin and now I need to copy this code to the confirmation order on my website.
I am using WordPress and woo-commerce with Woodmart theme.
please help me how to add this.
Also I installed google listing ads plugin and sync with my google merchant center account.
-
Hi @mildaco
To add the code to the order confirmation page on your website, you’ll need to use the
woocommerce_thankyou
page hook provided by WooCommerce.Here are some of the resources that might help you to achieve it:
- https://woocommerce.com/document/custom-tracking-code-for-the-thanks-page/
- https://www.businessbloomer.com/woocommerce-add-conversion-tracking-code-thank-page/
- https://stackoverflow.com/questions/72998944/add-tracking-code-to-woocommerce-thank-you-page-for-a-specific-product
- https://www.hawkdive.com/how-to-insert-google-ads-tracking-code-in-wordpress-woocommerce-thank-you-page/
I hope this helps! Please let us know how it goes or if you need further assistance.
Thank you
Is there any plugin to do that?
Hi again
Another person told me that i should copy paste it to functions.php page.
I confused!
can you tell me more information?
I want to add that this page is a <!DOCTYPE HTML> and must be added to the top of every webpage
Thank you page is a php page.
I am beginner in WordPress but please help me to fix this!
Hi @mildaco ,
Taking a step back — I reviewed the code you’re trying to add and I see that it is for “Google Customer Reviews”. That’s not a feature of Google Listings & Ads and the plugin doesn’t have a way to enable it by adding the code.If you’re unsure how you can add the code to your site’s PHP template, then I’d recommend engaging a developer for the change. Alternatively, you may search Google for “Google Merchant Center Customer Reviews Integration for WooCommerce” to find alternative plugin options for customer reviews.
I searched a lot but I find a way for Shopify only!
but there is no tutorial for Woocommerce!
I am using WordPress with Woocommerce plugin and woodmart theme!
would you help me to change this code for woocommerce?
I know that I should put this code in the woocommerce_thankyou page.
I put it but google does not accept it! you can download my woocommerce_thankyou page here! PLEASE CHECK!
I think I should change some parameters but I do not know which one of them?
If you need more information please let me know!
-
This reply was modified 1 year, 6 months ago by
mildaco.
Hi @mildaco
As we previously mentioned, this isn’t a feature of Google Listings & Ads, and the plugin doesn’t have a way to enable it by adding the code.
However, did you check the Google Merchant Center Customer Reviews Integration plugin? It will allow you to integrate the Google Customer Reviews survey opt-in on the thank you page.
Furthermore, we can’t provide support for code customization as per our support policy. Still, if you need assistance with the customization or development with your site, we recommend that you seek help from the following:
- A local web developer
- Codeable.io
- WooExperts
I hope this helps! If you have any other questions, feel free to ask.
Thank you for your reply
Yes I know this plugin but I have a small business and want to do this through a code. I am not happy with Woocommerce support and I submitted a ticket for 3 time and after 3 months & I did not received any answer form Woocommerce.
They published a lot of plugins and in my opinion woocommerce is not suitable for small business and maybe I should switch to shopify because they have all in one with best support.
I tried to change woocommerce Thankyou page and you can see the link of Thankyou.php here.
may I ask you to check if I edited correctly or not!
I know that you are not a coder but please see my file and check that my edit is correct or not!
Thank you for you support!
Hi @mildaco,
It’s truly concerning to learn that you haven’t received responses to three of your support requests. To help us investigate this, could you please provide the ticket numbers for the unanswered requests? Typically, you get a ticket number by email when you contact our support.
Just to clarify, we offer support via multiple channels (live chat, email, forum). The replies you’ve received in our forums such as this forum, are by WooCommerce Support. We strive to respond to support requests as soon as possible.
Regarding your custom code, our support staff including myself are not developers who could offer guidance on this, we only offer support for the default features and functionality of our products that do not require any custom code to function or integrate – custom code is outside the scope of our support.
We recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. Asking your question here is also okay as a member of the WooCommerce community might be able to help out.
Yes
These are ticket numbers : #6699046 #6699038 ?#6624003
3 month ago I changed my email address and after that I submitted a ticket to update my email address but nobody answered and on my Woocommerce still I am using my old email.
Thank you for you suggestion.
Hi @mildaco,
Thanks for sending the ticket #s! Normally after the prompts, if you don’t respond our system assumes the correct answer was supplied. Sorry for the confusion! The tickets are now closed, were you able to update your email address?
If not, I’ll re-open your question about Google Listings and we can get this resolved.Regarding your original question in this thread, as mentioned we can’t offer support with any custom code. I can point you to this page though: https://woocommerce.com/document/custom-tracking-code-for-the-thanks-page/.
Hope this helps!
unfortunately my email address on Woocommerce did not update and also I did not receive any answer for others tickets.
I still have problem with Woocommerce attribution to detect color and size too.
I can help you update your email. I can see you have two on file, would you like to use or ?
Please let us know and we’ll get the proper account linked so you can continue to receive support for your tickets.Thanks!
-
This reply was modified 1 year, 5 months ago by
James Huff. Reason: email addresses removed from public forum
Please update with mil***om@
Its very bad that I should track my tickets here and after 4 monthes woocommerce did not answer to my tickets! and now you publish my emails on this forum in this way!
Hi there,
I agree you should not have had to wait for those unanswered tickets. Something went amiss in our system, and we are looking into it. We really appreciate your bringing it to our attention and sharing those ticket #s so we can dig into it. I also apologize for the email going on the forum. It is now removed.
I have connected the correct email address and you will get linked to this WordPress.com account the next time the customer attempts to log in to WooCommerce.com.
You stated that you still have problem with Woocommerce attribution to detect color and size too. Can you please share more about this and link us to a screenshot if you can get a screenshot of the issue?Submit this message as a public reply once you’ve responded publicly on the forums so your reply is counted on your stats. The message will not be sent to anyone.
- The topic ‘add code to confirmation order’ is closed to new replies.