Does analytics work on x10?

Status
Not open for further replies.

harmonio

New Member
Messages
7
Reaction score
0
Points
0
I've created a portfolio site which I will be using to display to a number of people,
I tried to install google analytics but it doesn't seem to be working at all.
So I was wondering if analytics does actually work on x10 or not, or if theres another issue causing this,
Thanks
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
It should be working.. It may take time for the statistics to show up. Are you using the code that they give you? Or is it a plugin?
 

harmonio

New Member
Messages
7
Reaction score
0
Points
0
I'm using thier code that they provide, and it says it isn't installed yet,
Does it usually take a while for it to say its installed or for the actual statistics to come up?
Also here is the website if you want to check my code http://www.harmonious.x10.mx/index.php
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
but it doesn't seem to be working at all.

As in what?

When I load your page, it makes two calls to google and both come back with 200 OK responses.
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
It takes a while before they detect the code. It isn't instant.
 

harmonio

New Member
Messages
7
Reaction score
0
Points
0
analytics_zpsf6c13bc9.png
 

harmonio

New Member
Messages
7
Reaction score
0
Points
0
It takes a while before they detect the code. It isn't instant.
That may explain it, only its been up for at least 2 hours now. And other videos I've seen people doing it its under 30 seconds so I thought somethings probably wrong
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Your site makes a call to google using your site's info, etc.
Google makes a valid response.
Usually if Google does not recognize your account, it sends back a Forbidden or similar bad response.

Some off topic points for a web developer:
Get Firefox
Install Firebug
Install YSlow
Install PageSpeed

You can find speed/missing files problems with your site.
ie, you image for your twitter icon is 512x512 and you only display it as 32 x 32 -- waste of bandwidth and forces the browser to waste time/power reducing the image. Replace all images with versions that do not have to be resized.
 

usama_rasab27

Member
Messages
208
Reaction score
15
Points
18
Hi, have you inserted it into the <head> tags like:
Code:
<head>  Analytics Code here </head>
 

harmonio

New Member
Messages
7
Reaction score
0
Points
0
Yeah thanks for that but I'm aware, still very much working on that atm, the code is rather unclean and messy at the moment I must admit aha
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
I think I might see the problem...

ga('create', 'UA-43583781-1', 'x10.mx');

That is not your domain. If google requires you to have your code on every page of 10x.mx, you will fail.
 
Status
Not open for further replies.
Top