Back to the changelog

Open the recorder from your own button

Add data-voicegram-trigger to any button, link, or image to open the recorder, and turn the floating bubble off on pages where you do not want it. No extra code required.

Beyond opening the recorder, data-voicegram-trigger takes close and toggle as values if you want the other two behaviors. It works on elements added to the page after the widget loaded, and a modifier click or middle click on a link still opens in a new tab the way a visitor expects. A meta tag named voicegram-bubble with the content off hides the floating bubble on that page only, and it is re-checked on route changes so it works in single page apps rather than only on a full page load. The widget install screen in the dashboard gained a panel with copy-ready snippets for both.

Ricardo Lopez
Founder & CEO