Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search


  • Posts

  • Joined

  • Last visited

  • Days Won

  1. jQuery code injection will do the job. Just inject the following code on your form page, replacing the category and action with your own labels. <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input.button').click(function() { window.setInterval(foo, 100); }); }); function foo(){ if($(".form-submission-text").is(':visible')){ _gaq.push(['_trackEvent', 'YourForm', 'Submission']); } } </script>
  2. I'm want to use Google Analytics to track conversions from my Squarespace 6 site - those conversions being a completed form on the site - but cannot find a way to include the code in the submission button or the form submitted page. Does anyone know of a workaround to allow me to track completed forms?
  • Create New...