Usage example

Insert the following code into your html:

      <script>

        const script = document.createElement('script');
        script.src = "./flowentory.js";
        script.async = true;

        document.head.append(script);

        const _flowStore = window._flowStore || [];
        _flowStore.push([{ event: "view_item" }]);

      </script>