Plugin doesn't work
-
Analytics tells me the Tracking-ID wasn’t found on my site.
-
Analytics’s is probably right.
Did you insert the tracking-id or script on the plugin settings page?Take a look here:
http://wordpress.techgasp.com/google-analytics-master-documentation/I did, but it wasn’t inserted into the header. Tried some other plugins for the same purpose, none of them worked.
Maybe it’s a problem with WP 4?The tracking insertion works if I use the option offered in my theme (suffusion), but it says there that it should work with plugins, too, and I’d love to not have to walk over to google’s cluttered data overkill every time I want to see my stats.
EDIT: Just for clarity: I used either the theme option or the plugin, not both simultaneously to avoid conflict.
Have you tried the footer option?
In any case, the plugin should be able to insert the tracking-id or script in the header. Have you tried copying the script and using it?I tried the footer-option, but not the one using the script.
I’ll do that and report back.Tried it, still doesn’t work.
Btw. it doesn’t even show empty graphs, but I’ve got Adblock and Scriptblocker deactivated for my page.Ok… do this.
Use the script, on the header.Give me your site link to view header.
Using script, footer option *not* checked.
As you’ll see, there’s no tracking script in the header.
It’s there π
<script async="" src="//www.google-analytics.com/analytics.js"></script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-54765****', 'auto'); ga('send', 'pageview');
Google Analytics Master deserves 5 stars π
I expected it right above the closing header tag…
I’ll give it four stars if you tell me how to make actual statistics appear: Screenshot
Only the theme can set that order. We are actually developing our theme TechGasp Ghost, and it sets the order.
The statistics just need a google client id. Go to the plugin settings page, read the instructions and save your id.
Remember to use the dashboard widget.
4 stars, after all this help on a weekend, you are cheap π
It’s very kind of you to do support work on a weekend and I appreciate that. You wouldn’t need to help me, though, if the plugin gave better directions during setup.
The client-ID page tells me:
“3. Select Services from the menu. The list of accessible Google services appears.
4. Scroll through the list. For each service you want your application to work with, click the Status switch next to the service name (so that it switches from OFF to ON.”None of those services has anything about statistics in its name or description. And what does ‘your application’ mean, exactly? The plugin? I honestly thought this part was directed at developers, which would be strange but, hey.
So, maybe I woke up on the obtuse side of the bed today, but I find this pretty confusing. Do I just skip 3. and 4.? I guess I’ll just try that now and see what happens.
I now get an orange ‘Acces Google Analytics’ (I found the ‘Analytics’ service, not one of my greater moments, I’ll freely admit to that), but when I click it, Google tells me thus:
“401. Thatβs an error.Error: invalid_client
no application name”
I named the project, but where in the world do I put in an application name?
I guess google’s not-quite-helpful-either help section isn’t TechGasp’s fault, but my frustration is becoming less and less discerning as to its targets. *sigh*
- The topic ‘Plugin doesn't work’ is closed to new replies.