Add the Ringostat number insertion script directly into your web page code to set up call tracking on your web page.
1. Check if you set up the Universal Analytics script.
First, check if you've already inserted the Google Analytics script into your web page code.
Go to your web page. Click the mouse's right button and select "View page source".
Once you open the web page code, click Ctrl+F and enter "'// www.google-analytics.com/analytics.js'" in the search line.
If you didn't find it, you should first set up this script in your web page code.
If you found it — go to the next step and set the number insertion script.
2. Insertion script
The script is easy to install. Locate the first part of it:
ga('require', 'ringostat');
— put it betweenga('create', 'UA-11111111-1', 'auto');
andga('send', 'pageview');
in your Universal Analytics script.So, changes should look like this:
<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-11111111-1', 'auto');
ga('require', 'ringostat');
ga('send', 'pageview');
</script>Then go to Ringostat => Script V4 => Insertion script. At the bottom, you will find the second part of the insertion numbers script you need.
Set it right after the Google Analytics script. At the end of the settings, the correct number insertion script should look like this: