Personalization for your Akinon store

Measured separately on Project Zero and Omnife Next: GTM events are read, and the recommendation card adds to the Akinon basket itself.

What the ready integration gives you

Selwise campaigns, recommendations, onsite search and A/B tests run on your Akinon store. Akinon serves two different runtimes behind the same URLs — Django-based Project Zero and Next.js-based Omnife Next — and the setup depends on which one you run. The Enhanced Ecommerce events written by Project Zero’s standard GTM adapter are read through a ready mapping, and the “add to cart” on recommendation and search cards calls the Akinon basket endpoint itself.

  • Project Zero’s eeEvent, eeCart, eeCheckout and eepurchase events become product view, click, cart, checkout and purchase signals
  • Add to cart from a card: /baskets/basket/ on Project Zero, the store’s /api/client/baskets/basket/ proxy on Omnife Next
  • For sized products the card draws a size picker first and waits for the shopper’s choice
  • The goal bar reads the basket total from the same endpoint (after discounts)

If your Omnife Next store writes GA4 event names (view_item, add_to_cart), they are not read from the dataLayer by themselves; cart and checkout events are sent with window.selwiseLayer.push. The Akinon basket accepts a product only by its numeric pk; without a pk column in the feed, map the “Add-to-Cart Code”.

Setup
  1. 1Identify the stackmanage.py in the project and window.GLOBALS on the page mean Project Zero; an @akinon/next dependency and pz- prefixed elements mean Omnife Next.
  2. 2Add the scriptProject Zero: the head of templates/layout/base.html, above the GTM snippet. Omnife Next: the head field of the external-gtm widget in Omnitron, or the root layout.
  3. 3Turn on the data layerIn the Data Layer settings turn the data layer on, choose the Akinon preset and keep the external layer name dataLayer.
  4. 4Map the cart codeWithout a pk column in the feed, put the column carrying Akinon’s numeric product id into the “Add-to-Cart Code” row of the field mapping.
  5. 5Connect orders and identityAdd trackOrder to the thank-you page and Selwise.identify to a signed-in shopper’s pages; the product code must match the feed.
Technical documentation →

Where each signal comes from

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

SignalSource
Page viewAutomaticBy itself, on every page the script loads on.
Product view and clickAutomaticFrom GTM eeEvent events on Project Zero; from the product page on Omnife Next.
Add to cart and checkout stepsAutomaticFrom eeCart and eeCheckout on Project Zero; sent with selwiseLayer on an Omnife Next store that writes GA4 names.
Basket totalAutomaticRead with GET from the Akinon basket endpoint; the preset must be set to Akinon explicitly.
OrderYou send itFrom the eepurchase event or a trackOrder call on the thank-you page (recommended); an order is never counted twice.
User identityYou send itThe ready mapping has no login event; call Selwise.identify on a signed-in shopper’s page.
Search termYou send itWith Selwise search on, the search records it; for the store’s own search a search_query event is sent.

Akinon questions

Yes; both stacks were measured separately. The difference is where it is installed and how events are read: Project Zero’s GTM adapter events are read through the ready mapping. If Omnife Next writes GA4 names, product views are still read from the page, while cart and checkout events are sent with window.selwiseLayer.push.

Try it on your Akinon store

We’ll define the scope and modules together.