I've looked through the website and i am unable to find an answer.
Basically: I am using Google Analytics to track views and other stuff on my website, but i have 2 domains, both have the same root folder and are identical in name but one ends in ".com" and the other in ".co.uk"
Currently Google Analytics is only tracking the ".com" domain but i was wondering if i could manipulate the code to track from the ".co.uk" domain as well?
Here's the code:
<script type="text/javascript">
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXXXXX-X', 'XXXXXXXXXXX.com');
ga('send', 'pageview');
</script>