Hello, after the customer places the order on the site, I need to get some data. To do this, I need to replace the highlighted terms with the corresponding variables:
Where do I use this code?
-HTML iFrame or
-Control Panel> Tracking and Analysis> Tool> Custom Code or
-Corvid?
Thanks in advance to everyone who can help.
#variables #html #wixstore #corvid #iframe
You can get info through code from the Events in Wix Stores Backend.
https://www.wix.com/corvid/reference/wix-stores-backend.Events.html
If you are looking to do it through html, then you will need to work out yourself what your bold items in your html code are actually called in Wix Stores and you can either add it through an html iframe on your page or through custom tracking in Tracking and Analytics.
https://support.wix.com/en/article/adding-html-code
https://support.wix.com/en/article/embedding-custom-code-to-your-site
Finally, as you are trying to use third party supplied html code, then you are much better suited going back to the third party that you got the code from and asking their own Support team or reading their own Support documentation about how to implement it into Wix.
Wix won’t provide you with support for code from third parties that they have not had the chance to test and make sure it runs on the Wix platform themselves.
https://support.wix.com/en/article/guidelines-and-limitations-of-the-html-code-and-embed-a-site-elements
Thanks for answering. I will read the articles and study about.
This will help me. Thank you.
Thanks Naimi, I had too much whisky already, I forgot about the Thank You page 
Is this the best way to do this still? And also where would you do this. I was doing before with in the thank you page, but I was getting order id from the url path. Would I still call the getOrder from onReady function? Also, is there any difference between the 2?
Thanks,
Tom