Analytics

Measure form performance and gauge how effectively you are converting inbound visitors.

Conversion rate tracking


To setup conversion rate tracking, simply include the following script tags somewhere outside of yourformtags and after your jQuery include.

jQuery must initialize first in order for conversion tracking to work.
HTML + JS
<script type="text/javascript">
function configureAhoy() {
ahoy.configure({
visitsUrl: "https://usebasin.com/ahoy/visits",
eventsUrl: "https://usebasin.com/ahoy/events",
page: "1a2b3c4d5e6f"
});
ahoy.trackView();
ahoy.trackSubmits();
}
</script>
 
<script src="https://cdn.jsdelivr.net/npm/ahoy.js@0.3.4/dist/ahoy.min.js" async defer onload="configureAhoy()" ></script>
 
<form>
...
</form>

Make sure you swap out  1a2b3c4d5e6f  in the snippet above with your form's unique endpoint string. Otherwise, we won't know which form to track conversions on.