I just received this email from Google about their new tracking code:
“To help you measure all online conversions and optimize the value of your digital marketing investment, upgrade to Google’s latest dynamic tagging solution by updating your current Google Analytics tag (analytics.js) to the latest tag (gtag.js)”
Because I’m using this plugin and it grabs the UA tracking code, does it just automatically update it because it’s pulling straight from Google?
Thanks!
]]>Hi Manfred,
I am using your plugin and it is very useful, but right now I am finding some difficulties to make it work with my gdpr cookie blocker. I am using https://www.cookiebot.com/en/ and for not assigning the cookie if the user refuses them I have to insert this bit of code in the javascript tag like this: <script type=”text/plain” data-cookieconsent=”statistics”>.
Do you think is possible to do that in your plugin?
Thank you in advance,
Francesco
]]>Hello Manfred,
I have been using your plugin for several years, and it has always worked beautifully, until a few weeks ago.
I have a Saved Report that counts events, and on average there are about ten events counted per day.
Something has now gone wrong because there have been no events counted since the 19th December, except for one on the 24th of December. Today I executed some events as a test, but they were not counted.
I have not touched your plugin for many months, and the only recent update was on the 4th January this year, so that was not the cause of this problem.
Any suggestions you might have would be gratefully received.
KAPman
]]>Hello Manfred,
since the Update to 1.6.1 I have an issue with the plugin.
I use the setting “EU Cookie LAW/ Cookieless tracking with fingerprint.js (Only Universal analytics) _YES_” and
in “Advanced” there is now “Google Analytics Type / Global Site Tag” – when I switch back to “Universal Analytics” it switches any time again to”Global Site Tag”!!
As a result it dosn′t work with “Fingerprint” (and switches to Cookie)
what is against Cookie-Law … so it′s urgent.
Please help! Thank you
Achim
Hello,
I see that this plugin is meant to be compatible with Google Tag Manager – but after struggling I don’t see how to connect the two.
Going the standard route and inserting their html into the header causes Tag Manager to inject several cookies, not an option for me due to GDPR.
Just a quick instructional would be much appreciated.
Thank you in advance,
Gerry
Please fix this error
PHP Warning: count(): Parameter must be an array or an object that implements Countable in
/plugins/nk-google-analytics/NKgoogleanalytics.php on line 120
How google knows if we are using http or https in our links?
in the test that I made doesn’t seems difference.
]]>Google update Analytics Code
https://developers.google.com/analytics/devguides/collection/gtagjs/
please update to new code async
]]>Under Settings > NK Google Analytics > Advanced, the setting “Ignore logged users by role” has a bug.
The choices for this setting are being listed as:
Ignore %s when logged inIgnore %s when logged inIgnore %s when logged inIgnore %s when logged inIgnore %s when logged in
Also because of this, the associated checkboxes aren’t aligning properly.
I’m not sure if this feature of the plugin is totally broken, or just not showing up properly. I have NK Google Analytics installed on dozens of WP sites and see this on all of them. Majority are up-to-date (WP 4.9.x) and running PHP 5.6, 7.0, or 7.1.
]]>Hello,
Sorry if the question is too basic, but could not find help on it.
I have installed the NKGA plugin, entered the tracking code and saved.
Now where do I see the Analytics data? I find nothing on my WordPress dashboard. Where do I find or how do I access the NKGA ‘My Dashboard’?
A ‘getting started’ write up on the plugin page would be helpful.
Thanks,
NMP
Hello,
Recently, Google allowed users to move a property from one account to another.
I did this, and the property no longer works. All the settings look to be correct.
Any help or ideas would be greatly appreciated.
Thanks
]]>Does the plugin support Google Tag Manager? How do we set this up?
I have Google Tag Manager set up and they give you the tracking code and a separate ID, but there doesn’t seem to be anywhere to register the Tag Manager tracking ID (separate from the Google Analytics tracking ID).
Thanks
]]>Hi, the support-link in /admin/options.php now points to
is this OK ?
Wordfence informed me that the optins.php in the repository has changed and I have had the latest Version of NK Google Analytics installed.
https://www.ads-software.com/plugins/nk-google-analytics/
Sorry, maybe I’m a little bit paranoid after cleaning numerous Websites after the latest indoexploit attacks.
]]>Hi,
Are you planning dynamic remarketing through analytics.
https://support.google.com/analytics/answer/3455600?hl=en&ref_topic=3455490
<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-XXXXX-YY’, ‘auto’); // Insert your GA Web Property ID here, e.g., UA-12345-1
ga(‘set’,’dimension1′,’12345, 678910, 98765′); // REQUIRED Product ID value, e.g., 12345, 67890
ga(‘set’,’dimension2′,’searchresults’); // Optional Page type value, e.g., home, cart, purchase
ga(‘set’,’dimension3′,’99.95′); // Optional Total value, e.g., 99.95, 5.00, 1500.00
ga(‘send’, ‘pageview’);
</script>
]]>Does this plugin support event tracking (e.g. addtocart or click events)?
]]>I am getting this error in javascript console on my site, related to this plugin:
ReferenceError: Can’t find variable: Fingerprint
]]>Hi there,
selecting “Use custom google analytics tracking code” to YES , the following field is always shaded and I can’t input the code.
Is this a bug or I’m doing something wrong ?
Thanks
Alex
I updated the module after the missing variable issue and the analytics js line is not printing in the head anymore. No matter if I have the Tracking code location setting set to Head or End of the page it prints at the bottom of the page. Am I missing something or are others seeing the same issue?
]]>I heard we could use this plugin to track how many times a contact form is submitted. I am using a contact form that does not do a page redirect to a thank you page – it just loads in the page and displays a thank you message on the same page – its the DIVI theme from elegant themes. Can this plugin record that data? If so can you tell me how? Thanks.
]]>After updating to latest version today, I am getting following php warning via query monitor plugin.
Undefined variable: nkweb_code_in_head
]]>Take a look at this patch: https://pastebin.com/QDTsAvmk
I have made a few changes to allow custom values, dimensions and metrics. There is an option to compute the values for those settings using javascript. This can be customized per page/post. They don’t have a disable button because empty fields are ignored.
options.php has been moved to admin/options.php. Some textareas are greyed out when disabled. There are other minor changes as well.
I think screenshots should be moved to the svn directory named assets in order to reduce the size of the plugin. They should still be displayed in the plugin page here in www.ads-software.com.
There is a new google analytics built-in option to autodetect the domain. If you want it to be used by default in new installs change NKgoogleanalytics.php line 167 to:
add_option('nkweb_Domain_Auto', 'true');
In my opinion deleting all saved options during plugin deactivation is too extreme. I would expect to have my options deleted only if the plugin is uninstalled. If you agree with me change NKgoogleanalytics.php line 185 to:
function uninstall_NKgoogleanalytics()
And line 482 to:
register_uninstall_hook(__FILE__, 'uninstall_NKgoogleanalytics');
I have created a fork at https://github.com/javiertury/nk-google-analytics/
I have added 2 options, cookieless tracking and anonymize ip. I have even added a new tab called “EU Cookie Law”, however when I test the plugin I can’t switch tabs. As a workaround I get rid of “display: none;” under “.nk-tab-content” but then all of the tabs display at the same time.
The functional part has been tested and works. I just need to fix the tabs behaviour before merging.
Please could you help me fix this issue with the tabs?
]]>Hi there,
for what is the function “Display Advertising” needed? I do not have this clear. Should it be activated if the webpage uses AdSense? Whats the effect of activating (or not activating) this function?
Thank you very much
]]>Hello NK,
In the css for your plugin, the display:none property for class .tab-content interferes with any other plugin admin display that is using the basic jQuery UI classes, hiding them. This is all in the admin screens.
Just thought you should know. The source of the conflict was quite baffling to find. I’ve corrected by removing this display:none. Not sure what would be the best method….
]]>After upgrading to 1.4.4, I don’t see anymore the GA script code in my pages.
This is the site: https://www.atopon.it
]]>Hello,
I have wordpress 4.0.1 and NK Google Analytics ver 1.4.3.
The tracking don’t work corectly in mobile. If a user move to pages in site I can see in analytics that he is in the site but in home page only.
No matter where he navigate in site in analytics I see it at the home page.
It happends in mobile only.
Do you have any idea?
tnx
Avoid:
p.submit{
and change to
.nk-submit{
In style.css.
And in options.php please change from
<p class=”submit”>
to
<p class=”nk-submit”>
This will avoid collision with W3TC. Thx.
]]>I need to track click events on my web forms.
I setup a hidden tracking button in the html after my form which gets triggered when the form is submitted successfully.
<div class="contact-tracking"><a href="#" onclick="_gaq.push(['_trackEvent', 'Webform', 'Submit', 'Homepage']);"></a></div>
I then simulate a click on it w/ js in the forms success action, which works.
$(“.contact-tracking a”).click();
The following error results:
Uncaught ReferenceError: _gaq is not defined
Reading a bit on this error apprently you have to define this _gaq array in the script. How do I do this with NK? I can see I can provide a custom script but not sure the point of using NK vs just adding the script directly to my html in this case.
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-65432-1']);
_gaq.push(['_trackPageview']);
]]>
A very, very basic requirement of a Google Analytics plugin is that you can stop logged-in users from being tracked, otherwise your statistics are distorted.
In your FAQ page you have the following:
The plugin can track login and register page?
If the option is set to “Yes”, Yes, it does.
I have set this to “No” but I was being trackeded when I am logged-in as an Administrator.
Two months ago a member, Tilto, was having the same problem and suggested a patch to fix this problem.
I used his suggestion and I was no longer counted.
Your new version has just been released, and I am being counted again. I reinstalled Tilto’s code and the problem was once again fixed.
Now, it is your plugin, and you can have what ever code you want, but I am curious why you haven’t included this fix. Am I missing something?
]]>I updated to your newest version 1.3.8.
After that a /n appeared in my HTML as Text. It was placed after the <body> Tag and before the <script> Tag.
I am using Universal Analytics.
It could “resolve” the problem by deleting all /n in your php code.