Hi, just installed the Google Analytics plug-in. Should the tracing code (script) – not the ID, be copied into every post, or not in posts at all?
]]>Hi
I installed the plugin and provided my UA id. I dont see any results in google analytics dashboard.
My website URL is https://www.jobsdune.com
]]>The plugin enqueues frontend.css and frontend.min.js which are functionally empty. We always try to minimize http requests as much as possible.
So, super minor suggestion: don’t enqueue these unnecessary files on the frontend. I just return immediately in enqueue_scripts() and enqueue_styles() for now.
Otherwise, thanks. Nice and simple and allows us to include GA without editing a specific theme.
]]>I have a normal GA property and a roll-up property, so I need to be able to include two (at least) Tracking IDs in the code snippet. The end result can include something like:
_gaCustom('create', 'UA-#######-##', {
'cookieDomain': 'auto',
'cookieName': '_gaCustomC',
'name': 'main'
});
_gaCustom('create', 'UA-#######-##', {
'cookieDomain': 'auto',
'cookieName': '_gaCustomC',
'name': 'rollup'
});
_gaCustom('main.send', 'pageview');
_gaFSLib('rollup.send', 'pageview');
You willing to add one more optional field to the form?
]]>WordPress 4.5.3
Google Analytics for WordPress V 1.1
I’ve entered my Google Analytics code, clicked “Saved Settings” and nothing happens. No new screen. No analytics. nothing.
Now what?
]]>I’m trying to give editors access to edit Google analytics plugin page.
I found this way and this is my code:
if ( is_admin() )
{
add_action( 'admin_menu', 'add_plugin_for_editors' );
}
function add_plugin_for_editors()
{
if (!current_user_can( 'manage_options' ))
{
add_menu_page('Google Analytics Settings', 'Google Analytics', 'moderate_comments', 'pc_google_analytics_settings', 'Pc_Google_Analytics');
}
}
When I login with editors and I saw Google analytics in panel, but It’s a blank page. How can I modify this code?
]]>Can you use this with the multi site enabled to track each site?
]]>I added the plug in it put in my code . now where do I go to find the information on the site analytics I am at a slightly confused point ? can you walk me through this in a quick email then I think I can do it .
]]>I have a 2 languages site and I need to implement 2 Google analytics ID, is it possible?
]]>Hi – I just installed Google Analytics plugin, and it began working immediately on my home page and a few other pages (there are only about 10 pages on my site). I used GA’s Tag Assistant to see which pages contain the tag, and a few of the pages don’t. Is there a way to make sure the tag gets added to all the pages? Is there something about the way I set up the page that is affecting this? Thanks.
]]>