@localeai/geo-analytics
v1.0.6
Published
This repository contains the JavaScript SDK for locale.ai geo analytics.
Downloads
3
Readme
Locale.ai Geo Analytics [JavaScript SDK]
This repository contains the JavaScript SDK for locale.ai geo analytics.
Usage
Add the following script to the bottom of your index.html
file.
<script src="https://unpkg.com/@localeai/[email protected]/dist/geo-analytics.js"></script>
<script>
const { analytics } = localeai;
analytics.init({ api_key: "YOUR_API_KEY"});
</script>