Simon Swords
Simon Swords

Reputation: 41

Google in-page analytics doesn't work in my ASP.NET MVC 3 Razor website

We've recently launched a new website http://atlascode.com and since the launch I've been unable to get in-page analytics working on the website. Google also claims that my tracking code is not working but I think this is a misnomer.

Whenever I attempt to load in-page analytics I receive the error:

We've identified problems in your setup. These may cause problems loading In-Page Analytics. Your site doesn't load ga.js from Google.

-ENDS-

I've simply copy and pasted the tracking code on to the website and haven't done anything out of the ordinary. I've also checked to make sure that under Web Property Settings my Web property name and default URL is atlascode.com.

Any ideas you guys have really would be welcomed.

EDIT: Added screenshot of Google Analytics error http://min.us/mdqlrhj

Thanks in advance

Simon

Upvotes: 4

Views: 2136

Answers (3)

1gor
1gor

Reputation: 36

Got the same problem on Magento Enterprise, but solution was pretty simple: GA code just need to be placed before <head> tags. After this simple fix In-Page tracking works perfectly.

Update

Also, be sure you have no framekiller installed in your site.

Upvotes: 0

jibiel
jibiel

Reputation: 8303

Well there's whole buncha people in the web complaining about the same issue. I've noticed something funny.

Most of developers love to exclude Analytics tracking code for logged in administrators and trying to check out In-Page Analytics while they're logged in. So there's really no any ga.js.

Upvotes: 1

Matt Griffiths
Matt Griffiths

Reputation: 1142

In my experience, this occurred when I hadn't set my default URL to exactly match the URL set in the profile.

Matt

P.S. Someone beat me to your source!

Upvotes: 0

Related Questions