Personalization for your Ticimax store
Installed with one script tag on your Ticimax 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 Ticimax 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 page type from URL patterns. Ticimax has no ready dataLayer mapping and no reader for the store’s cart, so cart events and the basket total are sent from the theme’s cart code. This page says what comes by itself and what you send.
- Product views by themselves: the product code is read from JSON-LD or the data-product-code, data-stock-code and data-productid attributes
- The Ticimax preset recognizes product pages by [data-productid] and .productDetail
- “Add to cart” on recommendation and search cards clicks the button in that product’s own tile on the page
- Campaign, recommendation, search and experiment surfaces all run on the same script; no plugin is installed
On Ticimax, 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: an unmeasured cart is never counted as zero.
- 1Create the channelOpen a web channel for your store in the panel and get your site key.
- 2Add the scriptIn the Ticimax panel, add it to the theme’s custom code / footer script field so it runs on every page before the closing body tag, order confirmation included.
- 3Turn on the data layerIn the Data Layer settings turn the data layer on, choose the Ticimax preset and enter page type patterns for Turkish URLs.
- 4Send cart and ordersSend cart events with basket.total from the theme code, and the order with trackOrder on the confirmation page.
- 5Connect the feedEnter the product feed URL and map its fields; the product code must match between orders and the feed.
Where each signal comes from
What is read by itself on your Ticimax store and what the theme code has to send.
| Signal | Source |
|---|---|
| Page viewAutomatic | By itself, on every page the script loads on. |
| Product viewAutomatic | From the product code on the page: Product JSON-LD or data-product-code, data-stock-code, data-productid. |
| Page typeAutomatic | From URL patterns and page markers; Turkish paths (/urun/, /kategori/, /sepet) need patterns. |
| Add and remove from cartYou send it | Not by itself; sent with window.selwiseLayer.push when the cart action completes. |
| Basket totalYou send it | The store’s cart is not read; only a sent basket.total counts as measured. |
| OrderYou send it | A trackOrder call on the order confirmation page. |
| User identityYou send it | A Selwise.identify call. |
| Search termYou send it | With Selwise search on, the search records it; for the store’s own search a search_query event is sent. |
Ticimax questions
No. Selwise is one script tag in the theme’s custom code field that runs on every page; campaigns, recommendations, search and experiments all run on it. The tag has to be printed by the server: the panel’s verification step reads the raw HTML and does not see a tag added later by JavaScript.
No. Ticimax has no ready dataLayer mapping and no cart reader. Add and remove from cart, basket total (basket.total) included, are sent from the theme’s cart code with window.selwiseLayer.push. Product views and page type are read by themselves.
Selwise does not call the Ticimax cart API; it clicks the add button or form in that product’s own tile on the page. It works when the product is also on the page as the store’s own product tile; otherwise nothing is added. A generic button unrelated to the product code is never clicked, so the wrong product is never added.
There is no ready mapping for Ticimax. On the panel’s Product Feed screen you enter the feed URL and map the fields. If your cart expects a code other than the product code, you also fill the “Add-to-Cart Code” row.
With a trackOrder call on the order confirmation page, only on the page printed after a successful payment. When the order’s product codes match the feed, the reports show which recommendation, search or campaign touched the order.
