Log in

Installation

Add the June SDK to your app in minutes

Install

Installing the June SDK is very simple - just pick your language and add the code below to your codebase.

Install this tracking script in the <head> tag of your website.

1
<script>
2
window.analytics = {};
3
function juneify(writeKey) {
4
window.analytics._writeKey = writeKey;
5
var script = document.createElement("script");
6
script.type = "application/javascript";
7
script.onload = function () {
8
window.analytics.page();
9
}
10
script.src = "https://unpkg.com/@june-so/analytics-next/dist/umd/standalone.js";
11
var first = document.getElementsByTagName('script')[0];
12
first.parentNode.insertBefore(script, first);
13
}
14
juneify("YOUR_WRITE_KEY");
15
</script>

Next: Identify your users

After installing the SDK, the next step is to identify your users & companies.

See how to identify users & companies →