Google Analytics Goals

Here’s a complete breakdown on how to set up goals in Google Analytics so you can start tracking the metrics that are critical to the success of your job board.

We support tracking the following conversions:

  • Employer Purchases: Trackers will fire whenever an Employer makes a purchase on your site.
  • Employer Registration: Trackers will fire whenever an Employer registers for an account.
  • Profile Registration: Trackers will fire whenever a Job Seeker registers for an account.
  • Job Application: Trackers will fire whenever a Job Seeker applies to a Job on your site using our apply form.
  • Page View: Tracker will fire whenever the page is viewed.

Create Google Analytics Tracking Event

  1. Go to the Google Analytics Event Tracking Code Generator tool, located here
  2. Follow the steps listed on the page
  3. Copy the code from the 'Insert This Code' field
  4. Go to JobBoard.io, then Site Config, then click the 'Conversion Tracking' tab
  5. Insert the copied code into the appropriate 'Conversion Tracking' field, surrounding the code with a <script></script> tag and removing the onClick="". For example, <script>ga('send', 'event', 'purchase', 'bought', 'test', 'test');</script>

Your next step is to configure the goal in Google Analytics

  1. Sign in to Google Analytics.
  2. Select the Admin link in the sidebar
  3. In the view column, click Goals.
Select the 'Goals' option

Select the 'Goals' option

  1. Click + NEW GOAL
  2. Specify a name for the goal, then select 'Event' as the goal type
  3. Enter the category, action, and if set, label, exactly as you have done in the 'Google Analytics Event Tracking Code Generator'
  4. Click 'Create Goal'

Add Job Purchase Value

To add a total purchase value to a 'Employer Purchase Goal', copy the following code into the 'Employer Purchases' field.

<script>
cleanCDATA = $("#sale-json").html().replace("//<![CDATA[", "");
cleanCDATAcomplete = cleanCDATA.replace("//]]>", "");
cleaned = JSON.parse(cleanCDATAcomplete);
value = cleaned.total;
</script>

Then, replace the fourth value in your Google Analytics event tracking code:

<script>ga('send', 'event', 'purchase', 'bought', 'test', value);</script>

Updated 2 years ago

Google Analytics Goals


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.