Track pages that do not exist with Google Analytics
Posted on | May 3, 2012 | No Comments
Below is the minimum configuration needed to track a page asynchronously.
[javascript]
[/javascript]
To submit a custom page, have the call-back of the ajax form request echo the following code:
[javascript]
[/javascript]
If you are not using an ajax request to submit a form, e.g. you are submitting the form to the same page, then simply add the above code after the Google Analytics code.
Warning: Undefined variable $args in /customers/b/4/e/chuv0jjuv/webroots/www/richard/wp-content/themes/elements-of-seo/index.php on line 15Posted By:Richard Parnaby-King