How to track conversation multilingual woocommerce based website?

guguk

Well-known member
Jul 19, 2019
1,150
828
113
Ottoman Empire
As you can see the topic's title i have an ecommerce website based woocommerce and im using WPML for making multi language.
Im using WPML language as directory like : domain.com/es/ - domain.com/it/ etc. BUT as you know that there have no physical directory belong these languages.

I have inserted all pages my GA tracking code via functions.php but i could not figured out yet how to insert conversation (purchase) code to thank you pages.
I have insterted conversation code to thank you page via functions.php for different website because it has one language but this situation is diferent because there have not ONE thank you page (or i guess so)
And i have crreated conversation codes for each languages.

Anyone know that solution?
Thanks a lot.
 

donvizzini

Well-known member
Babiato Lover
Trusted Seller
Trusted Uploader
May 27, 2019
369
253
63
<style>
what you need to do is create different views for each type of language and use only the google plugin to integrate with analytics. so you don't need to create anything in funcions.php and etc... you can set up conversions directly in analytics.

for example, an english view and the url yourdomain.com, a spanish view and the url yourdomain.com/es.

call me if you need more help, i can help you step by step.
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
I have no idea what you're aiming at: different languages in the 'thank you' page? And what does that have to do with Google Analytics?

Or do you want to track the 'thank you' page in Google Analytics for different languages? Why would you want to track that? If someone has bought something, you've already tracked them all the way to the check-out page. What does the 'thank you' page add to that?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu