I'm new to Google Analytics and am trying to add it to my existing PHP website. At this stage I only have access to the Content Management System which is used for creating new pages and inserting content. As far as I am aware the page already has a Classic Analytics code (ga.js) which was put there by the company who created the website.
According to the following page from Google I should be able to add a Universal Analytics tracking code (analytics.js) to my content and it should work harmoniously. https://support.google.com/analytics/answer/1032400?hl=en
I've gone ahead and added the tracking code at the end of my content for each of the pages on the site.
Unfortunately I don't think the pages views are being shown accurately when I log in and look at the stats. They are being displayed as follows:
Where are all the other pages? Why aren't they coming up on the list? Am I making a beginners mistake?
To make this easier for you to see what I'm talking about, the site I'm working on is This Site.
UPDATE:
I've added the Google Analytics Debug add on for Chrome. It seems to be showing the same error on each page I go to in the browser. Here's an example:
http://www.maryborougheducationcentre.vic.edu.au/community.php?id=66
Error: community.php? id=66:484 Uncaught SyntaxError: Unexpected Identifier
UPDATE:
Unfortunately I had forgotten that the Content Management System on the website uses square brackets to know where to insert html code for images. What a pain. This is what caused the two different looking tracking codes as you can see in the answer below. Anyway, at least I know what was causing problem. Thanks again Sina!