Setting Up Tracking in Sealmetrics
Sealmetrics uses a single tracking pixel to collect all data: pageviews, conversions, and microconversions. This guide walks you through configuring your tracking from the dashboard.
Step 1: Find Your Pixel Code
- Log in to your Sealmetrics Dashboard.
- Go to Settings → Pixels in the sidebar.
- Select your site from the Pixel Status section.
- Copy the tracking script displayed on the page.
The pixel code looks like this:
<script src="https://t.sealmetrics.com/t.js?id=YOUR_SITE_ID" defer></script>
Replace YOUR_SITE_ID with your actual Site ID (found in Settings → Sites → [your site]).
Step 2: Install the Pixel
The Pixels page shows platform-specific installation guides for:
- WordPress — Use the Theme Editor or a plugin like "Insert Headers and Footers"
- Shopify — Edit
theme.liquidand paste before</head> - Wix — Go to Settings → Custom Code
- Next.js — Use the
Scriptcomponent withstrategy="afterInteractive" - Google Tag Manager — Create a Custom HTML tag with trigger "All Pages"
- Manual HTML — Paste the script in the
<head>of every page
For detailed installation instructions, see the Installation Guide.
Step 3: Verify Installation
The Pixel Status section on the Pixels page shows real-time status for each site:
- Active — The pixel is receiving data
- Inactive — No hits received recently
- Not installed — No hits received yet
You can also verify manually:
- Open your website in a browser
- Open DevTools (F12) → Console
- Type
typeof sealmetrics— it should return"function" - Check the Network tab for a POST to
/eventwith status 204
Step 4: Track Conversions
Conversions track goal completions with monetary value (purchases, leads, signups).
Call sealmetrics.conv() on your confirmation or thank-you page:
sealmetrics.conv('purchase', 99.99);
You can add custom properties:
sealmetrics.conv('purchase', 149.99, {
currency: 'EUR',
payment_method: 'credit_card'
});
Step 5: Track Microconversions
Microconversions track user interactions that indicate progress toward a conversion (add to cart, form starts, video plays).
sealmetrics.micro('add_to_cart');
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
price: '89.99'
});
Step 6: Use the Pixel Builder (Optional)
For more complex setups, use the Pixel Builder on the Pixels page to create reusable pixel configurations:
- Click Create Pixel in the Saved Pixels section
- Choose the pixel type: Pageview, Conversion, or Microconversion
- Configure the event label, value, and custom properties
- Select your target platform: JavaScript, GTM, or Tealium
- Copy the generated code from the preview
Saved pixels can be edited or deleted at any time.
Privacy Considerations
Sealmetrics does not use cookies or store personal data. When tracking conversions and microconversions:
- Never include personal identifiers (order IDs, user IDs, emails) in properties
- Only track event types and aggregate values
If you have questions, contact support@sealmetrics.com.