Support » Plugin: Gravity Forms: Google Analytics Addon » Javascript Error

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author MikevHoenselaar


    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 -->
    <script type="text/javascript">
                    var analyticsFileTypes = ['pdf'];
                                var analyticsSnippet = 'disabled';
                    var analyticsEventTracking = 'enabled';
    <script type="text/javascript">
    	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    	ga('create', 'UA-51498656-1', 'auto');
    	ga('send', 'pageview');

    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?

    Plugin Author MikevHoenselaar


    I updated the plugin to 0.7.2.
    Hopefully it will fix your issue.

    That fixed it. Thanks!!

    Plugin Author MikevHoenselaar


    Super! have fun with it!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Javascript Error’ is closed to new replies.