CDN Usage
If you want to track custom events (clicks, signups, conversions) without installing packages, use the CDN-hosted Nano Analytics bundle and call the event API.
Quick notes
- Pin to an exact version (e.g.
@1.0.0) for repeatable behavior. - The ESM build uses the
+esmentrypoint on jsDelivr; the UMD bundle is provided underdist/. - Both builds expose the same runtime API; the ESM import gives you the named/default export, the UMD build attaches a global to
window.
ESM (modern browsers — recommended)
<nano-custom
projectKey="PROJECT_KEY"
/>
<script type="module">
import nanoCustom from "https://cdn.jsdelivr.net/npm/nano-custom@1.0.0/+esm";
</script>Last updated on