|
|
Question : google analytics and mediawiki
|
|
Hello ,
What is the proper way to implement google analytics with mediawiki-1.9.3. I did use google to look at this problem however none of the solutions works because they are for another versions of mediawiki. Can someone help me to implement google analytics with mediawiki-1.9.3.
thank you
|
Answer : google analytics and mediawiki
|
|
OK. I personally prefer not to speculate on possible cause at the htaccess level before establishing the facts, ie, what is the RESULT of the combination of all actions. I'm not an expert at url-rewrite, so I will not attempt to check if your script is OK. Let's concentrate on results. Google says "unknown". Which means at least one of the following options: a - there is a Google code on the site, but you are not associated with it b - there is no Google code on the site Of course, you THINK that none of these is right, since you have presumably taken great care and doubly checked. But the facts are there.
The most probable situation is b/. Therefore you need to check which source code is really active (not what you INTENDED to get). So if WE can't look at your code YOU will need to do it.
1 - Looking at source code of you page as it is displayed on the web: is everything OK?
2 - If you don't have Firefox, NOW is the time to get it and add the webdevelopper add-in. THEN use it to check which Javascript code is really activated. The complete operation should take you less than 30 minutes... so it is a wise investment because of all the other time you are going to spare.
Do that and tell us what you find. Could you also paste the code in php where you have inserted the Google tracker, eg from 10 lines before to 10 lines after the tracker?
|
|
|
|
|