WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Google Analyticator, WP3.0 & Domain Mapping plugin (11 posts)

  1. RavanH
    Member
    Posted 4 years ago #

    Hi,

    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>
    and

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

    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?

    http://wordpress.org/extend/plugins/google-analyticator/

  2. RavanH
    Member
    Posted 4 years ago #

    UPDATE: finally the GA data started gathering so I guess that was not a plugin issue.

    Sadly, the Dashboard widget remains invisible :(

  3. cavemonkey50
    Member
    Posted 4 years ago #

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

  4. RavanH
    Member
    Posted 4 years ago #

    No, there is no "Google Analytics Summary" option there.

  5. cavemonkey50
    Member
    Posted 4 years ago #

    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?

  6. cavemonkey50
    Member
    Posted 4 years ago #

    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.

  7. RavanH
    Member
    Posted 4 years ago #

    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?

  8. cavemonkey50
    Member
    Posted 4 years ago #

    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.

  9. cavemonkey50
    Member
    Posted 4 years ago #

    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.

  10. RavanH
    Member
    Posted 4 years ago #

    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?

  11. RavanH
    Member
    Posted 4 years ago #

    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! :)

Topic Closed

This topic has been closed to new replies.

About this Topic