Download

Blog

PayPal Referral Exclusion in Google Analytics

We often get questions from our WooCommerce or Easy Digital Downloads add-on users when their source of traffic shows payment gateways URLs like paypal.com etc

One way to stop tracking Paypal as a referral source is to add Paypal.com to your list of referral exclusions in Google Analytics. This is because anyone who visits your website from a referral source from a URL on your exclusion list will not start a new session if they were already engaged in an active session.

To do this, navigate to the Admin section of your Google Analytics.

 

 

In Admin section of your site, Navigate to Under Property, select your website from the drop-down menu and select Tracking Info from the list, then select Referral Exclusion List from the next drop-down menu.

From the Referral Exclusion List, click the big orange ADD REFERRAL EXCLUSION button, then add a referral exclusion for traffic from the domain: paypal.com.

Once Paypal is added to your list of referral exclusions, you'll see it on the list.

 

 

Note: it's a good idea to add any payment gateway URL you're using to this referral exclusion list. Simply repeat these steps and add your other payment gateway domains to the list of referral exclusions.

This filter will NOT apply to past referral traffic but should start working on new traffic within 24-48 hours of applying the referral exclusion. Google Analytics will no longer list Paypal or other spam URLs as a source of referral traffic but will instead start attributing that traffic to its original referral source.

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' );

GDPR

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.

Setup your account at Google Analytics

Everyone who has his/her website online wants to see how their website is performing. Google is a name we are all familiar since we started using the Internet. They have a measurement tool called Google Analytics which helps in growing our websites through Data Collection and Analysis.

 

So I wrote a simple step by step guide to set up an account at Google analytics. These instructions are for everyone who wants to use Google Analytics on their websites.

 

Step 1: First you need to create a Google Analytics account. To do this, visit Google Analytics Signup Page.

You will see a screen like the one below. If you already have a Google or Gmail account, then you can use that to sign-in. If you do not have a Gmail account, then you would have to create an account for Gmail first and then come back to this Google Analytics page.

 

 

Step 2: Once you sign-in with your Gmail account, you will be prompted to a screen like the one below. This is where you will signup for Google analytics with your Gmail account. You will see this screen first time only since you are setting up Google analytics account. Once you sign up, you will use the same Gmail account for sign in at Google Analytics.

 

 

Step 3: On the next screen, you will be given choice to choose between a website or mobile app. Make sure you select website.

After that, you need to enter an Account name (Once account can have 50 properties)

Following fields are to set the Property. One Property is for One Website.

Website name, website’s URL, country, and the time zone.

One Property (website) can have 25 profile views. Default Profile for a Property will be Autogenerated with name “All website data”

Note: You need to understand Account, Property, and Profile terms here. These terms will be used heavily and will be used in the future if you want to use Google analytics at an advanced level.

 

 

Once you have entered this information, click on the Get Tracking ID button. You will be presented with Google Analytics terms and service which you must agree to, so click on I Accept button.

 

Step 4: Now you will be presented with your Google Analytics tracking code. You can copy this tracking code because you will need to enter it to your site depending on the method you use below.

 

 

Step 5:  If you are using Analytify, then no need to copy this JS code. Just go to Analytify plugin settings and Authenticate it again by using your Google Analytics username and password. After authenticating you will see a  website (property + profile) in dropdowns of Profiles for posts and dashboards.

 

If there are any questions related to this guide, feel free to post them below in comments.

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”

What’s new in WP Analytify PRO 1.3

We at Team Analytify have released WP Analytify PRO 1.3 a New Feature release and recommend everyone to update their plugin as soon as possible. Remember, This update needs to re-authenticate your plugin with Google Analytics. This update can be installed from inside your WordPress admin by going to the Updates page under your Dashboard menu.

If you didn't see an update for Analytify then you need to activate your license key in Analytify->settings->license tab.

Continue reading “What's new in WP Analytify PRO 1.3”

Introducing Analytify For eCommerce: WooCommerce Addon

WooCommerce Add-on for Analytify to bring Google Analytics eCommerce data for WooCommerce shop is finally here. And all credit goes to you, the Enthusiastic WordPress Community and user of Analytify!

Continue reading “Introducing Analytify For eCommerce: WooCommerce Addon”