Test Guide - Cart & Conversion Tracking

This guide will help you verify that cart tracking and conversion tracking are working correctly after the Justuno embed code is active.

At a glance:
Cart Tracking
Conversion Tracking
Troubleshooting 
Quick References
Final Steps

 

Before You Begin

If you're using Shopify, BigCommerce, WooCommerce, or similar platforms and have installed the Justuno app, you do not need to install the tracking scripts manually. The app handles this automatically.

This guide is for testing that the tracking is working after the installation of all three javascript embed codes.

Need setup instructions? Refer to Justuno Setup Articles (link to documentation).


 

Test 1: Cart Tracking

What It Tracks

  • Items added to the cart

  • Quantity changes and removals

  • Cart totals and discounts

How to Test

  1. Add a product to your cart on your storefront.

  2. Open your browser's Developer Console (Right-click → Inspect → Console tab).

  3. Enter the following command and then your enter key:

_jst.profile.cartItems

You should see an array of cart items like the examples below:

If the above command returns anything other than [] or undefined then your cart tracking is working.  But do take care to check the numerical values to ensure they are correct.


Test 2: Conversion Tracking

What It Tracks

  • Order details after purchase

  • Grand total, taxes, shipping, discounts

  • Purchased products

How to Test

  1. Complete a test purchase on your store.

  2. On the Order Confirmation page, open the browser console.

  3. Enter the following command and then your enter key: 

_jst.profile.orders

You should see an array containing the completed order data like the examples below:

If the above command returns anything other than [] or undefined then your cart tracking is working.  But do take care to check the numerical values to ensure they are correct.


Troubleshooting

Problem What to Check
_jst is not defined Justuno embed code may not be installed correctly
cartItems or orders is empty Make sure cart or order actions have occurred in the session
Totals or product info incorrect Confirm your site is passing correct values to the script. Keep in mind the values shown should be in cents not dollars.  For instance, $49.99 should read as 4990.  If your test had an item for $49 in it, then you should expect to see 4990 otherwise your embed code is not sending it in cents like it should.
Order data not appearing Make sure you're testing from the actual confirmation page
 

Quick Reference

Test Command Expected Result
Cart Items _jst.profile.cartItems Array of items in the cart
Cart Totals _jst.profile.cartTotals Object with cart totals
Conversion (Order) _jst.profile.orders Array of completed order data
Final Steps 
You can now click the refresh icons under the Embed code page in Justuno. 
The status for each should change to Green if the event has occurred on site. 
Screenshot 2025-06-20 at 9.38.32 AM 

Need a second look? Our team is ready. Book time with our technical support team here or start a chat for quick assistance (see lower right corner).