Personalization for your IdeaSoft store
An integration measured on a live store: dataLayer reading, member identity and signup consent captured automatically.
What the ready integration gives you
Selwise campaigns, recommendations, onsite search and A/B tests run on your IdeaSoft store. The integration was measured on a live storefront: the commerce funnel is read from IdeaSoft’s dataLayer through a ready mapping, page type and sign-in state come from the page’s own variables, member identity is bound through the panel’s “custom script” slots, and the e-commerce consent box on the registration form is captured at signup. The recommendation card adds to the IdeaSoft cart itself, and the basket total is read from the store’s cart object.
- With the dataLayer on, product view, list, cart, checkout and purchase events are read through the ready mapping
- Page type comes from IdeaSoft’s route variable, sign-in and sign-out from isMember and the /cikis link
- Member identity (memberId) is bound from the Home, Product and Cart script slots — matching members from historical imports
- The “e-commerce message” consent box on the registration form is captured at signup and written to the contact list
Reading events requires the store’s dataLayer (useDatalayer) to be on. Consents withdrawn inside the member’s IdeaSoft account are reconciled through the member export.
- 1Add the scriptSettings → General Settings → Custom Script Codes → Site Tracking & Remarketing Code; this field runs on every page.
- 2Turn on the dataLayerThe store’s GTM / dataLayer setup must be on (useDatalayer = '1' in the page source). In the panel choose the IdeaSoft preset and turn on the Product, Basket, Checkout and User modules.
- 3Paste the member codeFor member identity, add the member code from the docs to the Home, Product and Cart script slots; without it no order is tied to a member.
- 4Connect the feedEnter the IdeaSoft XML feed URL and apply the “IdeaSoft (XML product export)” ready mapping; titles and variant grouping come out right.
- 5VerifySign in with a test member and open a product; product_view and user_login should appear in the event list, and Selwise.getSiteUserId() should return your member number.
Where each signal comes from
What is read by itself on your IdeaSoft store and what the theme code has to send.
| Signal | Source |
|---|---|
| Page viewAutomatic | By itself, on every page the script loads on. |
| Product, list, cart and checkout eventsAutomatic | From IdeaSoft’s dataLayer (view_item, add_to_cart, begin_checkout…) through the ready mapping. |
| OrderAutomatic | From the dataLayer purchase event, also recorded as an order; no extra code. |
| Page type, sign-in and sign-outAutomatic | From the page’s route and isMember variables and the /cikis link. |
| Basket totalAutomatic | From the store’s window.IdeaCart object (discounted total, count, currency); no extra request. |
| Member identityYou send it | The member code pasted into the Home, Product and Cart custom script slots. |
| Search termAutomatic | With Selwise search on, the search records it; otherwise read from the /arama results page. |
IdeaSoft questions
No, as long as the store’s dataLayer is on. The IdeaSoft preset maps events such as view_item, add_to_cart, begin_checkout and purchase itself; a purchase is also recorded as an order. If you do not see useDatalayer = '1' in the page source, no product, cart or purchase event arrives.
The member code reports the member number from the Home, Product and Cart script slots. A member who buys passes through a product or cart page before paying, so their identity is known there and the order is tied to them; it matches historically imported members by the same number.
Selwise sends the product number to IdeaSoft’s /cart/add_item endpoint with the store’s CSRF key. The endpoint answers 200 even on failure, so the response body is read; a stale key is refreshed once and retried, and failing that it falls back to the store’s own add-to-cart button for that product.
Yes. The “e-commerce message” box on the registration form is captured at signup and written to the contact list. Withdrawals the member later makes in their IdeaSoft account are reconciled through the member export.
Yes. Enter the feed URL and apply the “IdeaSoft (XML product export)” ready mapping. It reads the title from the rootlabel field — otherwise a size row’s card would just say “M” — and groups variants under their parent.
