Solved

Out of Stock Notification for Bilingual Store

  • 24 February 2022
  • 3 replies
  • 53 views

Badge +3

If my store is Bilingual (using languify) , can I setpu bilingual out of stock pop-up 

 

For example:

In language A UI: only shows language A OOS popup

In language B UI: only show language B OOS popup ?

icon

Best answer by alex.hong 24 February 2022, 23:28

View original

3 replies

Userlevel 6
Badge +51

Hi there @pmjchan,

We use IP Geolocation when gathering the location data of the profiles in your account. When someone clicks through a Klaviyo email, subscribes via a Klaviyo signup form, or are otherwise captured by our web tracking snippet, we will identify the person and use the IP they are on to set his/her location. Based on this data, you are able to segment profiles according to their location, thus using the appropriate language for the emails they will receive. 
Another way you can target profiles with different languages is by creating a separate signup for each region you are trying to target. you can have the signup forms be a different language and also have those profiles go to a specific list that is for that language. For example, you can make a sign up that is in Spanish, that will only show in Mexico or Spain, and you can have the profiles that sign up to it added to a "Spanish List" and have a Spanish Welcome Flow sent out to those members. 

?name=Screen+Shot+2019-08-12+at+12.16.19+PM.png

Another thing you can do is give people the option to choose what language they want to sign up for on the signup form and make different flows for each language that is available.
Here are some documents that explain these further:
When and How Klaviyo Sets a Profile Location
Creating a Location Based Segment
Klaviyo's Support for Multiple Language

 

Hope this helped,

Alex

Badge +3

Thanks ! Noted on the pop-up function yet how about the Back in stock subscription pop-up ?

can we ensure the right language is displayed on a bilingual site ?

 

Userlevel 6
Badge +51

Hi there @pmjchan,

Our current back-in-stock system does not support multi-language sites at this time. This has been brought to our product development team. Hopefully, we can offer a solution to this in the future.

At this time, if you would like to use our back-in-stock system across different languages we suggest building a custom back-in-stock form. You can completely forego Klaviyo's back-in-stock feature by building your own email collection form and then making a request to Klaviyo's back-in-stock client-side endpoint. All you need to do is capture an email address and then use the variant and product IDs. This will record a Subscribed to Back in Stock event exactly as our existing feature would work. Here's an example request template

$.ajax({    type: "POST",    url: "https://a.klaviyo.com/onsite/components/back-in-stock/subscribe",    data: {        a: "ACCOUNT_ID",        email: "EMAIL",        variant: VARIANT_ID,        product: PRODUCT_ID,  // Product must be present in Klaviyo catalog to record event.        platform: "shopify",        subscribe_for_newsletter: false,  // Optional with "g". Defaults to false if omitted.        g: "LIST_ID",  // Optional with "subscribe_for_newsletter".    },    success: function(response){        console.log(response)    }})

This does require building a custom solution, but also provides total control over the user experience. You can also reference our API guide for more information.

Additionally, since this is a custom code form we would not be able to further troubleshoot and you would need to discuss it with your developer or a Klaviyo partner.

 

Thank you,

Alex

 

Reply