Analytify and Cookie Notice

Since 2.1.8, Analytify added the full support for “Cookie Notice for GDPR”. Analytify will not track the user until he/she accept the cookie. To add this feature add the below code in your theme functions.php file.

* Add GA code if cookie is accepted.
function analytify_cookies_notice_compatibility( $ga_code ) {
// if cookie notice installed and cookie not accepted. Don't add tracking code.
if ( function_exists('cn_cookies_accepted') && ! cn_cookies_accepted() ) {
return '';
return $ga_code;
add_filter( 'analytify_ga_script', 'analytify_cookies_notice_compatibility' );


You may have already heard about GDPR, as I was also getting tons of emails from the online services I use on the web that they are updating their Privacy Policy.

On 25th of May 2018, the new General Data Protection Regulations (GDPR) will come into force. European Union GDPR is the most important change regarding data privacy ever happen in the history of the internet.

Many Internet services have been scrambling to get in compliance with the new standards — and Google is no exception.  As Analtify is famous Google Analytics plugin for WordPress we did some dramatic changes in our plugin to make your site GDPR compliance.

We have added features in Analytify that makes it GDPR Compliance for our EU customers. Following are the features that can make this happen.


Anonymous IP


Under the GDPR, an IP address is considered to PII (Personally Identifiable Information). Even Google Analytics never show IP address in reporting but Google Analytics does use it for the Geolocation data.

To make your site full GDPR compatible. We recommend to turn on the Anonymize IP settings from Analytify.


Steps to turn on Anonymous IP


  1. Login to your WordPress Admin Panel.
  2. Go to Analytify Settings -> Advanced Tab.
  3. Check the “Anonymize IP addresses” settings
    Analytify Anonymous IP



User Opt-Out

The latest version of Analytify has user opt-out feature through which user can exclude itself from Google Analytics tracking. To create a user opt-out button simply add this shortcode where needed:

[analytify_user_optout]Click here to Opt-Out[/analytify_user_optout]


Google Analytics Data Retention


By today Google Analytics change the data retention policy and from 25 May 2018 Google Analytics automatically set your data retention to 26 months.

From Google Analytics, you can set the data retention time from 14 months, 26 months, 38 months, 50 months, or never expire user and event data.

Steps to set Data Retention
  1. Login to Google Analytics.
  2. Click on the Admin.
  3. Click on “Data Retention” under “Property Settings -> Tracking info”.
  4. Here you can set data limit.



User Opt-In

From Analytify 2.1.22 we have added the opt-in feature through which user can allow itself to be tracked. To create a user opt-in button simply add this shortcode where needed:

[analytify_user_optin]Click here to allow tracking[/analytify_user_optin]



Disclaimer: We are not a law firm. Please consult with a lawyer for any legal advice.

Google Developers console

Hi! Are you going to creating an application that requires Google data to it? For this purpose, you need Google APIs.Google Developers Console is a site that is used by the developers for managing and viewing traffic data, authentication and billing information for Google APIs. To access the Google APIs our project must be registered on Google Developers Console with your Gmail. Continue reading “Google Developers console”

Get Client ID, Client Secret and Developer API Key for Google Developers Console Application

UPDATE [ October 20th, 2018 ]: Here is a video guide specially made for Analytify WordPress Plugin users.



Following are the simple steps which can help you to get your Client ID, Client Secret and Developer API Key for your Web Apps or WordPress plugins from Google Developers Console. We wrote this tutorial for Analytify users but It can be beneficial for everyone.

Continue reading “Get Client ID, Client Secret and Developer API Key for Google Developers Console Application”

Don't miss our Welcome Discount of the year!
Get 20% OFF - use Discount Code "WELCOME2020"