Skip to content

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 your form.

<script type="text/javascript">
  function configureAhoy() {
    ahoy.configure({
      visitsUrl: "https://usebasin.com/ahoy/visits",
      eventsUrl: "https://usebasin.com/ahoy/events",
      page: "1a2b3c4d5e6f" /* Use your form id here, this is just an example */
    });
    ahoy.trackView();
    ahoy.trackSubmits();
  }
</script>

<script src="https://cdn.jsdelivr.net/npm/ahoy.js@0.3.9/dist/ahoy.min.js" async defer onload="configureAhoy()" ></script>

<form>
...
</form>

Notice

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.