Google Analytics
Sam Linge avatar
Written by Sam Linge
Updated over a week ago

How do I link my TutorCruncher account to my Google Analytics account?

Linking TutorCruncher to your Google Analytics account is easy, and will allow you to track users signing up or making enquiries with TutorCruncher.

There are two steps to this, the first is to enable settings within TutorCruncher, and the second is to enable cross-domain tracking on your own website. Both steps must be completed to enable this feature.

We recommend setting up a new property within Google Analytics to before you start, as otherwise, you may end up tracking your users twice. To do this, under the Admin tab in Google Analytics click the property dropdown and click Create new property.

Enable Google Analytics within TutorCruncher

The following settings need to be correct in System > Settings:

  • Under Company Details, select a default branch under the setting 'Default sign-up branch'. Most users will have just one. Leaving it blank will not work, you must select one.

  • Under Branch Credentials, enter your website's URL in the Branch Website field. For instance, https://tutorcruncher.com.

  • Lastly, under Branch Credentials, you should enter your Google Analytics Tracking ID in the Google Analytics ID field. If you are having trouble finding it, simply login to your Google Analytics account, click on the Admin tab, select the Property you wish to use in the dropdown, and click Property Settings. It's called your Tracking ID and is in the format UA-XXXXXXX-Y.

Enable Cross-Domain Tracking on your website

Follow this step if you currently have Google Analytics enabled on your website.

Between the <head></head> tags in your website, you should see code that looks like:

ga('create', 'UA-XXXXXXX-Y', 'yourwebsite.com');

You should input the following code underneath:

ga('create', 'UA-XXXXXXX-Y', 'auto', {'allowLinker': true});
  ga('require', 'linker');
  ga('linker:autoLink', ['secure.tutorcruncher.com'] );

Follow this step if you do not currently have Google Analytics enabled on your website.

Put the following code in between the <head></head> tags in your website:

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');  ga('create', 'UA-XXXXXXX-Y', 'auto', {'allowLinker': true});
  ga('send', 'pageview');
  ga('require', 'linker');
  ga('linker:autoLink', ['secure.tutorcruncher.com'] );
</script>

Remember to replace the example tracking ID (UA-XXXXXX-Y) with your own tracking ID.

The tracking ID can be found by logging in to your Google Analytics account, clicking on the Admin tab, selecting the Property you wish to use in the dropdown, and clicking Property Settings. It's called your Tracking ID and is in the format UA-XXXXXXX-Y.

What can we track?

Currently, the events that TutorCruncher sends to Google Analytics are:

  1. Tutors signing up

  2. Clients making enquiries

  3. Users signing in

You can also track every page view within TutorCruncher by your users.

If you think of any other metrics that you think would be good to track, please email support@tutorcruncher.com.

Did this answer your question?