Have a Shopify store? Awesome! Connecting the Terrific Pixel will only take a few minutes, and it'll let you see how customers behave in your store: which pages they visit, which products they love, and when they complete a purchase. Let's walk through it together.
Before you start: you'll need your Terrific Store ID. If you don't have it handy, just ask your Account Executive: it's a quick message away!
Step 1: Head to Customer Events settings
Go to your Shopify Admin, click Settings in the bottom left corner, then find the Customer events section:
Step 2: Create your custom pixel
Click Add custom pixel:
Give it a name you'll easily recognize, like "TerrificLive pixel." Then select Add pixel:
Step 3: Set your permissions
Go to Permission and set data collection to Marketing and Analytics. Under Data sale, choose Data collected does not qualify as data sale:
Step 4: Add the pixel code
Clear out whatever's in the code box and paste the snippet below:
This is the snippet. Just make sure to replace YOUR_STORE_ID with your actual Store ID (the one your Account Executive shared with you):
(function loadTerrificAnalytics() {
const STORE_ID = 'YOUR_STORE_ID';
const EVENTS_URL = 'https://terrific.live/api/customer-shop-event';
window.ShopifyTerrificConfig = { storeId: STORE_ID, eventsUrl: EVENTS_URL };
const script = document.createElement('script');
script.src = 'https://live-sdk.terrific.live/shopify-analytics-sdk.min.js';
script.async = true;
script.onload = function () {
analytics.subscribe('checkout_started', window.ShopifyTerrificAnalytics.handleCheckoutStarted);
analytics.subscribe('checkout_completed', window.ShopifyTerrificAnalytics.handleCheckoutCompleted);
analytics.subscribe('page_viewed', window.ShopifyTerrificAnalytics.handlePageViewed);
analytics.subscribe('product_viewed', window.ShopifyTerrificAnalytics.handleProductViewed);
analytics.subscribe('product_added_to_cart', window.ShopifyTerrificAnalytics.handleProductAddedToCart);
analytics.subscribe('product_removed_from_cart', window.ShopifyTerrificAnalytics.handleProductRemovedFromCart);
};
document.head.appendChild(script);
})();
Step 5: Save and connect
Click Save:
Once it's done saving, hit Connect:
Confirm with another Connect... and that's it!
🎉 You're all set!
That's really all there is to it. From now on, Terrific will start receiving your store's data so you can get the most out of your analytics.




