Installation
Add the Gatherwell SDK to your app in minutes
Install
Installing the Gatherwell SDK is simple — choose your language, then add the snippet below to your codebase.
iInstall this tracking script in the <head> tag of your website.
1<script> 2 window.gather = {}; 3 function gather(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 = window.GATHERWELL_ANALYTICS_URL; 11 var first = document.getElementsByTagName('script')[0]; 12 first.parentNode.insertBefore(script, first); 13 } 14 gather("gw_live_N7r4xP9m"); 15</script>
Next: Identify your users
After installing the SDK, connect the activity you collect to the people in your product.