EP 4 Usage-based Pricing and Variable Consideration

Listen on Spotify

Podcast Synopsis

"Usage-Based Pricing and Variable Consideration" makes it clear why consumption models are growing. Listen in to understand the constraint principle explained, when to recognize usage revenue and how to grow your business using the usage-based pricing model.

Subscribe for New Resources

Stay ahead with the latest articles and industry perspectives. Get notified as soon as new insights are published.
// RevVenue Session ID Manager function getSessionIdFromIframe() { var iframes = document.querySelectorAll('iframe'); for (var i = 0; i < iframes.length; i++) { var src = iframes[i].src; if (src && src.includes('bolt.host')) { var match = src.match(/session_id=([^&]+)/); if (match) return match[1]; } } return null; } function injectSessionId() { var sessionId = localStorage.getItem('revvenue_session_id'); if (!sessionId) return; var iframes = document.querySelectorAll('iframe'); iframes.forEach(function(iframe) { var src = iframe.src; if (src && src.includes('bolt.host') && !src.includes('session_id')) { iframe.src = src + (src.includes('?') ? '&' : '?') + 'session_id=' + sessionId; } }); } // Poll the bolt iframe URL for a session ID every 2 seconds function startSessionPolling() { setInterval(function() { var sessionId = getSessionIdFromIframe(); if (sessionId) { localStorage.setItem('revvenue_session_id', sessionId); console.log('Session ID captured:', sessionId); } }, 2000); } document.addEventListener('DOMContentLoaded', function() { injectSessionId(); startSessionPolling(); });