Knowledge Base

How Do I Track Custom Goal Conversions?

Custom goals will require some extra code implemented to the tracked website, which is specified when you create a new goal from the dashboard.

A custom goal is mainly used for when you want to track a specific event that happens on your website, which can’t be tracked with the pageview method.

Some examples of where custom goals will shine are:

  • Tracking clicks on external links
  • Tracking more advanced form submissions
  • Tracking clicks on specific parts of your pages

Here is what a javascript snippet would look like for goal tracking:

analytics.goal('my-goal');

When this code will trigger inside of your page, the goal conversion will be triggered as well on our side.