Plausible comes with the perfect number of metrics out of the box, but if you need a little more, you can track custom goals, such as outbound clicks or file downloads, by adjusting the script embed and including those goals within your site settings.
Now, for additional custom event goals, you can use the global plausible
function to push an event, such as Video: Play
, with a couple properties, such as page
and video
, which is what we’re going to do.