Personalization for your ikas store

Installed with one script tag on your ikas storefront. Product views and page type are read by themselves; cart events are sent from the theme.

What the ready integration gives you

Selwise campaigns, recommendations, onsite search and A/B tests run on your ikas store. Setup is one script tag in the theme’s custom code field that runs on every page. Product views are read from the product code on the page, and ikas’s English paths (/products/, /categories/, /cart) are recognized by the default patterns. ikas has no ready dataLayer mapping, no ready feed mapping and no reader for the store’s cart, so cart events and the basket total are sent from the theme’s cart code.

  • Product views by themselves: the product code is read from JSON-LD or data-ikas-product-id, data-product-code, data-product-id
  • English paths (/products/, /categories/, /cart, /checkout, /search) are recognized as page types with no extra setting
  • Every variant row in the feed is its own product, added to cart with its own code; the grouping key is set in the mapping
  • “Add to cart” on recommendation and search cards clicks the button in that product’s own tile on the page

On ikas, add/remove-from-cart events and the basket total do not arrive by themselves; the theme’s cart code sends them with window.selwiseLayer.push, basket.total included. Without a basket total the goal bar is not drawn.

Setup
  1. 1Create the channelOpen a web channel for your store in the panel and get your site key.
  2. 2Add the scriptIn the ikas panel, add it through theme editing or the custom code field so it runs on every page before the closing body tag; the field name depends on the ikas version.
  3. 3Turn on the data layerIn the Data Layer settings turn the data layer on and choose the ikas preset; enter page type patterns if your URLs are Turkish.
  4. 4Send cart and ordersSend cart events with basket.total from the theme code, and the order with trackOrder on the confirmation page.
  5. 5Map the feed and variantsEnter the feed URL and map its fields; set the “Add-to-Cart Code” if the cart expects a variant code, and the grouping key for a variant catalogue.
Technical documentation →

Where each signal comes from

What is read by itself on your ikas store and what the theme code has to send.

SignalSource
Page viewAutomaticBy itself, on every page the script loads on.
Product viewAutomaticFrom the product code on the page: Product JSON-LD or data-ikas-product-id, data-product-code, data-product-id.
Page typeAutomaticEnglish paths by the default patterns; Turkish URLs need patterns.
Add and remove from cartYou send itNot by itself; sent with window.selwiseLayer.push.
Basket totalYou send itThe store’s cart is not read; only a sent basket.total counts as measured.
OrderYou send itA trackOrder call on the order confirmation page.
User identityYou send itA Selwise.identify call.
Search termYou send itWith Selwise search on, the search records it; for the store’s own search a search_query event is sent.

ikas questions

With one script tag added through theme editing or the custom code field in the ikas panel, running on every page before the closing body tag. The field name depends on the ikas version. You confirm it also loads on the order completion page by typing window.Selwise in that page’s console.

Try it on your ikas store

We’ll define the scope and modules together.