Note
Before starting, you will need your Google analytic tracking ID and access to the Emply Career Site Editor. To do this, follow the instructions from Google listed here.
-
In the main menu, click on the editor where you would like to add Google Analytics.
-
Click on the coghweel for settings.
-
Open the first tab, named Layout.
-
Select the layout where you would like to add Google Analytics. You will see some new tabs once you've done this.
-
Open the tab HTML <head>.
-
Insert in the HTML <head> the following code
Note
It's important to copy everything, including the <script> tags, as seen below
<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', 'XX-xxxxxxxx-x', 'auto');
ga('send', 'pageview');
</script>
The result is shown below.
When you look at the added code in the HTML <head> you will see this:
ga('create', 'XX-xxxxxxxx-x', 'auto');
Replace XX-xxxxxxxx-x with your own google tracking- ID.
Important
Makes sure this is in quotes, as seen in the example.
Note
Now that you have added Google Analytics to your website, you can test it in your Google Analytics Dashboard.