Skip to content
Sealmetrics

    ↑↓ to move · Enter to open · Esc to close

    Docs menu

    Integrations · Website Builders

    Wix Integration

    Add Sealmetrics cookieless analytics to Wix sites and Wix Stores via Settings > Custom Code or an embed element, with automatic event tracking.

    Privacy-first, cookieless analytics for Wix websites and Wix Stores.

    Installation

    1. Go to Settings > Custom Code (or Marketing & SEO > Custom Code)
    2. Click "+ Add Custom Code"
    3. Paste the entire contents of sealmetrics-wix.js inside <script> tags
    4. Replace YOUR_ACCOUNT_ID with your Sealmetrics Account ID
    5. Set Placement to Head
    6. Set Pages to All pages
    7. Click Apply and Publish

    Method 2: Embed Code Element

    1. Add an Embed Code element to your site
    2. Choose "Embed HTML"
    3. Wrap the script in <script> tags
    4. Set to appear on all pages via page settings

    Configuration

    Edit these values at the top of the pasted script:

    javascript
    // Required: Your Sealmetrics Account ID
    var SEALMETRICS_ACCOUNT_ID = 'YOUR_ACCOUNT_ID';
    
    // Optional: Track contact forms as lead conversions (default: false)
    var SEALMETRICS_CONTACT_AS_LEAD = false;

    Automatic Events

    EventDescription
    pageviewAll page views with content grouping
    form_submitWix form submissions (non-newsletter)
    newsletter_signupNewsletter form submissions

    Wix Stores Events

    EventDescription
    view_itemProduct page views
    add_to_cartAdd to cart button clicks
    begin_checkoutCheckout button clicks
    purchaseOrder confirmation (conversion)

    Content Groups

    Automatic detection based on URL patterns:

    URL PatternGroup
    /home
    /product-page/*, /products/*product
    /shop, /store, /all-productscatalog
    /cartcart
    /checkoutcheckout
    /thank-you, /order-confirmationthankyou
    /blog/*, /post/*blog
    /blog, /postsblog-index
    /about*about
    /contact*contact
    /services/*service
    /portfolio/*, /gallery/*portfolio
    /pricing*, /plans*pricing
    /booking/*, /schedule/*booking
    /events/*events
    /members/*, /account/*account

    Form Detection

    Newsletter Forms

    Tracked as newsletter_signup:

    • Form ID/class contains newsletter keywords
    • Forms with only an email field

    Contact Forms

    Tracked as form_submit or lead (if configured)

    Custom Events with Wix Velo

    Track custom events from Wix Velo (Corvid):

    javascript
    // In Wix Velo
    $w.onReady(function () {
      $w('#myButton').onClick(() => {
        if (typeof sealmetrics !== 'undefined') {
          sealmetrics.micro('custom_event', {
            property: 'value'
          });
        }
      });
    });

    Conversions

    Track custom conversions:

    javascript
    // Lead conversion
    sealmetrics.conv('lead', 0, {
      source: 'quote_form'
    });
    
    // Manual purchase (if not using Wix Stores)
    sealmetrics.conv('purchase', 99.99, {
      currency: 'EUR'
    });

    Advanced Wix Velo Integration

    For advanced tracking with Wix Velo:

    javascript
    // page.js
    import wixLocation from 'wix-location';
    
    $w.onReady(function () {
      // Track specific interactions
      $w('#submitButton').onClick(() => {
        if (typeof sealmetrics !== 'undefined') {
          sealmetrics.micro('form_submit', {
            form_name: 'custom_form'
          });
        }
      });
    });

    Compatibility

    • Wix Editor
    • Wix Studio (Editor X)
    • Wix Stores
    • Wix Bookings
    • Wix Events
    • Wix Blog
    • Wix Members Area
    • Wix Ascend forms

    Privacy

    • No cookies used
    • No data that identifies anyone stored; reports are aggregated
    • Designed for GDPR and ePrivacy (self-assessed, see Compliance)
    • No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see Germany)