← Back to Resources

Optivo Pixel Configuration Options

Advanced configuration for the Optivo pixel

Init Options

The init method accepts an optional configuration object as a second parameter:

window._OPTIVO.init('YOUR-SITE-ID', {
  conversionPage: '/thank-you',
  debug: false,
  cookieDomain: '.yourdomain.com'
});

Available Parameters

Parameter Type Description
conversionPage String URL path that triggers automatic conversion tracking
debug Boolean Enable verbose console logging for troubleshooting
cookieDomain String Set a custom cookie domain for cross-subdomain tracking

Auto-Conversion Mode

Instead of manually calling window._OPTIVO.conversion(), you can set the conversionPage option to automatically trigger conversion tracking when a visitor lands on a specific URL path.

Debug Mode

Enable debug mode during development to see detailed logging in the browser console. Remember to disable it before going live.