Note:
- We do not support Parent/Sub-market configurations
- B2B set ups
- Offline store catalog integrations
Shopify users can integrate their Ometria account with Shopify Markets to provide a more localised experience for international markets.
This integration means you can make use of the following features:
- Your Shopify markets (i.e. regions) are mapped to stores in Ometria
- See the which of your products are available in each market
- See product pricing in the same currency as your Shopify Market settings for product and product recommendation template blocks.
You'll be able to pull all of your historical Shopify Market data for product availability and pricing.
Getting started
You'll need to consult with Ometria before integrating with Shopify Markets.
If you're interested, please reach out to your Customer Success Representative to discuss enablement.
There is no charge for this integration.
Enabling Market Scopes in Shopify
Once you've consulted with Ometria about your integration, we'll ask you to prepare your Shopify Markets account for integration.
In Shopify, you'll need to navigate to the 'Ometria' app and turn on Enable Market:
Markets with shared domains
Some Shopify accounts are set up with multiple markets sharing the same domain.
In this case, make sure you've configured the country/region redirection setting.
theme.liquid configuration
- In Shopify, go to Online Store > Edit Code > theme.liquid
- Update the following fields for Shopify Markets:
site: {{localization.country.iso_code|json}}shop_currency: {{localization.country.currency.iso_code|json}}
You'll also need to make a few updates to your theme.liquid file to make sure that the URLs added to abandoned baskets are specific to the store the contact visited, and not your default store.
Go to: Shopify Admin > Online Store > Themes > Edit Code > theme.liquid
Modify the ometria.raw_data object by adding the property: locale_domain: true,
Example:
namespace:"uk",
ometria.raw_data = {
cart_count: {{ cart.item_count | json }},
cart_total: {{ cart.total_price | json }},
cart: [],
collection_count: {{ collection.products_count | json }},
collection_handle: {{ collection.handle | json }},
collection_id: {{ collection.id | json }},
current_page: {{ current_page | json }},
customer_email: {{ customer.email | json }},
customer_id: {{ customer.id | json }},
customer_phone: {{ customer.phone | json }},
is_combined_listing: true,
locale_domain: true,
page_handle: {{ page.handle | json }},
product_id: {{ product.id | json }},
search_count: {{ search.results_count | json }},
search_terms: {{ search.terms | json }},
shop_currency: {{ localization.country.currency.iso_code | json }},
shop_locale: {{ shop.locale | json }},
site: {{ localization.country.iso_code|json }},
template: {{ template | json }},
tracking_consent: preferences.marketing,
};Overlays for Shopify Markets
If you'd like to use the same overlays for each Shopify store, choose the default store option when creating your overlay version.
See: Overlays: Stores
If you'd like to create a separate overlay for each of your stores (i.e. Shopify regions), follow these steps:
Stores with unique URLs
Select the corresponding store and customise your overlay as needed.
Stores that share the same URL
E.g. www.example.com/en-eu
You'll need to use overlay tags to differentiate your stores.
Create a tag for each store with the corresponding two letter ISO 3166-1 alpha-2 code, e.g. GB for the United Kingdom, AR for Argentina, etc.
See: Setting tags for overlays
Once you've set your tags, apply them to each overlay and select the corresponding store.
Swym integration
If you're using Ometria's integration with Swym and want to support prices, currency and URL by market, you'll need to switch to Swym's Wishlist Plus plan.
Please get in touch with your Swym representative to find out more.
This Wishlist Plan plan supports market data for the following events:
- Wishlist
- Back in Stock
- Price Drop
Comments
0 comments
Article is closed for comments.