Receiving error "Missing required context variable" when attempting to connect to Google Analytics

Published: 24 Feb 2016
Last Modified Date: 07 Jan 2021


When attempting to connect to Google Analytics from Tableau Desktop, you may receive the error:
"Missing required context variable"


  • Tableau Desktop 
  • Google Analytics


If you are not using Google Analytics 4: 
  • Check for empty accounts, which means accounts without any info in PROPERTY or VIEW, in your Google Analytics Account.
If you are using Google Analytics 4:
  • Set up a new site where both Universal Analytics and GA4 run in parallel. 


This issue can have the following causes:
  • Missing "Property" or "View" field due to an empty account.
  • Google Analytics version 4 property is not currently supported.
Did this article resolve the issue?