@bentonow/bento-nextjs-sdk
Version:
🍱 Bento Next.JS SDK and tracking library
19 lines • 545 B
JavaScript
"use client";
import React from "react";
import Script from "next/script";
import { useBentoAnalytics } from "./useBentoAnalytics";
function BentoAnalytics({ siteUuid, userEmail }) {
useBentoAnalytics(userEmail);
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
Script,
{
id: "bento-script",
src: `https://fast.bentonow.com?site_uuid=${siteUuid}`,
strategy: "afterInteractive"
}
));
}
export {
BentoAnalytics
};
//# sourceMappingURL=BentoAnalytics.js.map