Personyze Wiki Personyze Wiki docs
Open Personyze
Docs/ Recommendation Setup & Feeds/ Product Interaction Tracking: View, Add to Cart, Purchase
Recommendation Setup & Feeds

Product Interaction Tracking: View, Add to Cart, Purchase

Personyze Interaction Event Tracking For Personyze to generate meaningful recommendations, it has to know whenever visitors interact with a product/article/video, and what type of interaction they're having. To accomplish this, you will need to…

2 min read Updated 7 days ago
×

Click anywhere to close

Recommendations learn from three events: product viewed, added to cart, and purchased. Views and carts drive the ranking; purchase does two jobs — it attributes revenue to your campaigns and completes the picture of what actually converts. (Content sites track article viewed the same way.) This page covers every way to wire these events, from zero-code to API.

Pick your route

Route Best for Setup
Platform integration Shopify / WooCommerce stores One toggle: Shopify events (and the cart extension), or the WordPress plugin’s add-to-cart and purchase toggles.
GTM dataLayer Sites already reporting GA4 ecommerce The GTM template’s Track ecommerce events checkbox translates view_item / add_to_cart / purchase pushes into Personyze interactions.
On-page detection Any site, no code Point Personyze at the elements: the product id on the page plus the add-to-cart button and order-confirmation signal. Configured in Settings → Recommendations or right inside the wizard’s Interactions step (below).
JavaScript API Single-page apps, custom carts Log events from your own code at the exact moment they happen.
REST API Server-side and offline events products_interactions — also the road for historical transactions.

The Interactions step

Every recommendations wizard carries an Interactions step that shows the same setup as Settings — with live status per event, so you can see views, add-to-carts and purchases arriving as you test:

Interactions step
The Interactions step: per-event setup and live arrival status. Click to enlarge.

Category views — feeding interests

Beyond the three product events, tracking category views builds the visitor’s interest profile, which interest-based algorithms and targeting use.

QA — proving events arrive

  1. Open Live visits, browse your store in another tab, and watch your own view / cart / purchase events appear within seconds.
  2. The wizard’s Interactions step and the campaign’s readiness panel show per-event arrival status.
  3. Product IDs must match your catalog — an event whose id isn’t in the catalog can’t attach to a product; that mismatch is the most common “tracking works but recommendations don’t learn” cause.
Did this page answer your question?
Thank you — that goes to whoever maintains this page.