How to use Google Analytics In-page Analytics & fix the Error: 20010

Google Analytics has got a report called ‘In-page Analytics‘ through which you can determine how users interact with your website in terms of the links/elements they clicked on a web page.

Through this insight you can assess your CTA (call to actions) and other on-page elements (like buttons, important internal links, internal banners etc) in terms of driving traffic to other parts of your website.

One of the biggest advantage of in-page analytics is that, you no longer need to add tracking code here and there, throughout your website, to track clicks on different web page elements.

Now the issue with the ‘In-page Analytics’ report is that, 9 out of 10, this report does not launch and you see the following error message:

problem loading in page analytics

When you click on the ‘Load in Full View’ button, you see the infamous Error: 20010 (Access denied. Please try relaunching In-Page Analytics from the report.) in your browser window:

error 20010

We tried to launch in-page analytics from the report first.

But that didn’t work.

So we clicked on the ‘Load in Full View’ button which loaded in-page analytics in a different browser tab but then we got another error message: the error: 20010.

There does not seem to be any escape from this infinite loop of insanity.

This is a bug in Google Analytics and it has been there, for almost half a decade now.

There are forums threads on this issue, which dates as far back as Aug 2011.

Lot of suggestions has been made over the years, regarding how to fix this issue.

But they all, seem to fail to address, the real issue, which is causing the in-page analytics report to fail to launch.

This issue is related to login.

Get the E-Book (37 Pages)

Learn to read e-commerce reports book banner

Get the E-Book (104 Pages)

Follow the steps below to successfully launch GA in-page analytics report in your browser:

Step-1: Navigate to the ‘Admin‘ section of your Google Analytics view.

Step-2: Click on ‘Property Settings‘ link:

property settings

Step-3: Scroll down the page, turn the toggle switch under ‘Use Enhanced link attribution‘ to ‘ON‘ and select ‘Full View mode‘ under ‘Start In-Page Analytics in‘ section:

full view mode

Background information about enhanced link attribution

By default you can’t see separate click through information for multiple links on a web page, that all have the same destination URL.

Similarly, by default you can’t see click through information for on-page elements like buttons, menus and actions driven by JavaScript code.

To use all of these features you need to use Enhanced Link Attribution feature in your analytics account.

 

Step-4: Click on the ‘Save’ button.

 

Step-5: Add following line of code to your Google Analytics tracking code:

ga(‘require’, ‘linkid’);

This code loads the plugin required for enhanced link attribution.

So your final Google Analytics tracking code may look like the one below:

<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’,’https://www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-XXXXX-YY’, ‘auto’);

ga(‘require’, ‘linkid’);
ga(‘send’, ‘pageview’);

</script>

If you use Google Tag Manager, then edit the tag which you use, to deploy Google Analytics tracking code on your website and set the ‘Enable Enhanced Link Attribution‘ field to ‘True’:

gtm enhanced link attribution

 

Step-6: Install Page Analytics (by Google) extension in your Google Chrome browser and make sure it is enabled.

 

Step-7: Once the ‘Page Analytics’ extension is installed and enabled, close all Google applications (including the one, which are opened in incognito mode) except Google Analytics.

 

Step-8: Now logged out of all of your Google Accounts. This is an important step.

9 out of 10, in-page analytics does not work because of this very reason.

Note: Make sure you are not logged into multiple Google accounts (including via incognito mode in your chrome browser) at any time, while using the in-page analytics report in GA.

This can stop the in-page analytics from working and and you may also see the following error message, while trying to access the ‘in-page analytics’ report:

invalid credentials

Step-9: Log back into your Google account.

Step-10: Login to your Google Analytics account and then navigate to the main view.

Step-11: Select the date range for which you want to see the in-page analytics data.

Step-12: Navigate to Behavior > ‘In Page Analytics’ report in your GA view:

behavior

Step-13: You are again going to see the error message ‘Error: 20010 (Access denied. Please try relaunching In-Page Analytics from the report.) in your browser window’:

error 20010

You see the message because, though ‘page analytics’ extension is installed and enabled, it is not switched on.

 

Step-14: To switch on ‘page analytics’ extension, click on its icon, which is located, next to the address bar, in your browser window:

turn on page analytics

The web page will now reload.

Step-15: You will now see the real time box, just below the error message ‘Exit’ button:

real time box

This message box is the first sign, that your ‘in-page analytics’ report is actually working. But you will, still not see all of the in-page analytics data yet.

 

Step-16: To see all of the in-page analytics data, click on the downward double arrow in the ‘Real-time’ box as shown below:

maximize

You will now see all of the ‘in-page’ analytics data:

ga in page analytics

 

Step-17: Click on the ‘Exit’ button at the top right to close the error message (which will continue to display otherwise). This will not close your ‘in-page analytics’ report.

Without the yellow error message at the top, your in-page analytics report, will look like the one below:

final page analytics

Step-18: Hover your mouse over any orange box to see detailed statistics:

contact us

detailed statistics

Step-19: Browse your website, like you normally do. Scroll up and down a page, click on a link to navigate to another page. Whenever a new page is loaded, the corresponding in-page analytics data, is automatically loaded for that page.

Note: In-page analytics works, only on internal links. It does not work for external links (links which point to other websites).

 

Step-20: Once you have looked into the ‘in-page’ analytics reports, click on the icon of the ‘page analytics’ extension (next to the address bar in your browser window) again, to turn it off:

turn off page analytics

Learn about the Google Analytics Usage Trends Tool

The Google Analytics usage trend is a new tool which is used to visualise trends in your Google Analytics data and to perform trend analysis.


Do you want to Learn Web Analytics in 4 Weeks?

  • Learn and Master Web Analytics, Conversion Optimization & Google Analytics from Industry Expert in 4 weeks.
  • Lifetime access to the course + Lifelong FREE course updates.
  • New study material added every few months (lifelong learning).
  • Up to date training material.
  • Most exhaustive course on Google Analytics on the internet.
  • Hundreds of Assessments to test your learning.
  • Your 24/7, 365 days a year reference source.
  • Learn at your own pace and from any place.
  • Risk Free with 30 days 100% Money Back Guarantee.

Take your Analytics knowledge to the next level. Checkout my Best Selling Books on Amazon

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Himanshu Sharma

Certified web analyst and founder of OptimizeSmart.com

My name is Himanshu Sharma and I help businesses find and fix their Google Analytics and conversion issues. If you have any questions or comments please contact me.

  • Over eleven years' experience in SEO, PPC and web analytics
  • Google Analytics certified
  • Google AdWords certified
  • Nominated for Digital Analytics Association Award for Excellence
  • Bachelors degree in Internet Science
  • Founder of OptimizeSmart.com and EventEducation.com

I am also the author of three books:

error: Alert: Content is protected !!