TAG customers based on the language (Weglot) they use on the Website: Shopify

Job ID: 31527685

Budget: $250 – $750 USD

On this website : www.shapeheart.ch

I would like to TAG the customer on Shopify based on the language they use on Weglot
Weglot.getCurrentLang()
https://developers.weglot.com/

The goal for me is to be able to send to Switzerland customer an email in German or French based on which language they've used on the website. The easiest way to do that is to have a [TAG] on customer directly written in the shopify database. Then Omnisend will automatically know the language preference.

So the mission is basically to retrieve the current language used by the customer
And to write a TAG based on this language (FR for French, EN for English, DE for German, ES for spanish, IT for Italian)

Best,
Related categories: PHP Website Design Prestashop HTML Shopify