How to trigger custom code on the "webinar started" event
This article explains how to use the 'webinar started' event to run custom code as soon as your webinar begins in SystemeScale.
What you will need:
- A SystemeScale account
- A webinar funnel
Step-by-step instructions
1
Open the page editor
Navigate to your webinar funnel and open the editor for your Webinar broadcast page.
2
Access page settings
Click on Settings in the left-hand panel, then scroll down to the bottom and click on either Edit header code or Edit footer code.
3
Insert custom code
In the popup window that appears, insert your code inside the
addEventListener function using the template below:<script>
document.addEventListener('start_webinar', function () {
// insert your code here
console.log('the webinar started')
})
</script>
Once you have inserted your script, click Save to close the code popup.
βΉοΈ
How the trigger works
The code inside the
addEventListener function will automatically trigger and execute the moment the webinar countdown reaches zero on your broadcast page.Previewing and saving your changes
To check if everything is working correctly, click the preview icon (the eye symbol in the top right corner) to open the page in preview mode.
β οΈ
Warning
After confirming the trigger works in preview mode, return to the editor and click Save changes to finalize. Keep in mind that once changes are saved in the editor, the old version of the page cannot be restored.
π
Explore Sales Funnels
Discover more features and step-by-step guides to optimize your sales funnels.
Was this article helpful?

