You use Universal Analytics?
Check the checkbox in the Gravity Forms GA settings.
If you use get the error, you dont have a GA script in your HTML.
You need that as well for this plugin to do his work.
We are using Universal Analytics and have this setting checked in the GF settings:
Use Universal implementation instead of ga.js implementation (_gaq)?
This is the GA code in the head of the HTML:
<!-- Google Analytics Tracking by Google Analyticator 6.4.7.3: http://www.videousermanuals.com/google-analyticator/ -->
<script type="text/javascript">
var analyticsFileTypes = ['pdf'];
var analyticsSnippet = 'disabled';
var analyticsEventTracking = 'enabled';
</script>
<script type="text/javascript">
(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-51498656-1', 'auto');
ga('send', 'pageview');
</script>
Then there is the Google Analytics Addon script shown above in the initial post which appears just before the </body> tag.
So why are we getting the error?
I updated the plugin to 0.7.2.
Hopefully it will fix your issue.