Support » Plugins » Google Analyticator, WP3.0 & Domain Mapping plugin

  • Resolved RavanH



    On a WP 3.0 installation I created new site on a sub-domain (let’s call it SUB.DOMAIN.TLD in the example). Then, using Donncha’s Domain Mapping plugin, I made a new top level domain the primary domain (let’s call it PRIMARY.TLD here).

    I try to get Google Analyticator working but…

    1. There is no Dashboard widget whether I have the Domain Mapping plugin on or off 🙁

    2. It does not seem to start gathering data although I find in the header:
    <script type='text/javascript' src='http://PRIMARY.TDL/wp-content/plugins/google-analyticator/external-tracking.min.js?ver=6.1'></script>

    <script type="text/javascript">
    	var analyticsFileTypes = [''];
    	var analyticsEventTracking = 'enabled';
    <script type="text/javascript">
    	var _gaq = _gaq || [];
    	_gaq.push(['_setAccount', 'MY-CORRECT-UUID']);
    	(function() {
    		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    using the UUID that I defined under Settings > Google Analitics.

    I’ve left it running for a few days and visited the new site a few times (logged out) to generate traffic for the new site but it seems to be working, the above problems remain.

    Any idea what’s wrong? Could it be the domain mapping interfering even though the primary domain seems to be used correctly?

Viewing 10 replies - 1 through 10 (of 10 total)
  • UPDATE: finally the GA data started gathering so I guess that was not a plugin issue.

    Sadly, the Dashboard widget remains invisible 🙁

    Is the widget just invisible? Hit the screen options button on the top right and see if Google Analytics Summary is unchecked.

    No, there is no “Google Analytics Summary” option there.

    Alright, next area to check would be in Google Analyticator’s settings. One of the last available options is one to disable the widgets. Are the widgets disabled there?

    BTW, you list your WordPress version as 3.02. WordPress 3.0 hasn’t even been released yet. I’m assuming that’s a mistake/typo, but I ask because WordPress versions earlier than 2.8 do not have widgets enabled.

    The widget setting is “Enabled” and the normal sidebar widget is available and working.

    The 3.02 version is not a typo, it is what this forum makes of what I filled in as “Other: 3.0-beta2”. To be exact, the latest nightly build 3.0-beta2-14822… Can it be the dashboard hook you are using has been deprecated in 3.0?

    Hopefully not. I do know some work was being done recently to the dashboard section, so perhaps a few 3.0 nightlies have this functionality broken.

    I have a GA release scheduled for later this week that will contain a few bug fixes. I’ll be sure to test against the latest 3.0 nightly and see if I can find anything wrong with the dashboard widget.

    I’ve been doing testing, and I unfortunately cannot replicate the missing dashboard widget. My recommendations would be to update to the latest nightly (I’ve been testing with 3.0-beta2-14960), and update to GA 6.1.1 when released later today. Perhaps the dashboard widget file never uploaded correctly on your install and replacing it with a new version will solve the issue.

    Tested with 3.0-beta2-14960 and the latest 3.0-RC1 but still nothing… Even with all other plugins swithed off 🙁

    Did you test WP 3.0 in Multi Site mode or WP 3.0 in a regular setup?

    UPDATE: Strangely, on a completely fresh install of WP3.0-RC1 there is no problem with the dashboard widget any more. No idea what went wrong with that first installation…

    Anyway, marked as solved. Thanks for your support and thanks for a great plugin! 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Google Analyticator, WP3.0 & Domain Mapping plugin’ is closed to new replies.