#1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    May 2007
    Posts
    1
    Rep Power
    0

    Analytics goal on form page


    I have Google Analytics code on a landing page with a form that when submitted, it sets a php variable of:
    $google_goal = "\"/thankyou.php\"";

    At the bottom of the page I have this code:

    <script src="(URL address blocked: See forum rules)" type="text/
    javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-xxxxxx-x";
    urchinTracker(<?=$google_goal;?>);
    </script>

    I view the source when the form gets submitted and it has the correct code like this: urchinTracker("/thankyou.php");
    but no goals are showing up or page views for thankyou.php.

    For the Goal URL I have: /thankyou\.php
    Goal Name: Thank You
    Match Type: Regular Expression Match
    Goal value: 0


    Thanks, any help is appreciated.

    UPDATE: It works. It just takes so damn long for it to show up in GA. Makes it difficult for testing.
    Last edited by ericp; May 1st, 2007 at 06:06 PM.

Similar Threads

  1. Replies: 1
    Last Post: Dec 6th, 2005, 10:23 AM
  2. Replies: 8
    Last Post: Dec 5th, 2005, 08:22 AM
  3. Replies: 1
    Last Post: Jul 24th, 2005, 10:21 AM
  4. Page Title over-optimization penalty
    By TaoMax in forum Google Optimization
    Replies: 4
    Last Post: Jun 10th, 2005, 07:51 AM
  5. Hierarchical Structure or Not?
    By cyu in forum Search Engine Optimization
    Replies: 5
    Last Post: May 24th, 2004, 11:28 AM

IMN logo majestic logo threadwatch logo seochat tools logo