How do I keep track of signups on my website through Analytics?

Discussion in 'Traffic Analysis' started by hiero, Jun 19, 2009.

  1. #1
    Do I put some code in the .php page where the signup info is stored into the database?

    I am trying to see how many people sign up per day , but I have had no luck when I put my signup.php page URL in the goals section.
     
    hiero, Jun 19, 2009 IP
  2. kmofo

    kmofo Active Member

    Messages:
    442
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    85
    #2
    First off, don't put singup.php as your goal, but rather the page that says
    "Thank you for registering". If the URL is identical and you cannot differentiate
    the "signup" page from the "thank you" page, you can call this (maybe in an
    onload event, as google suggests):
    pageTracker._trackPageview("/funnel_G1/step1.html"); 
    
    Code (markup):
    Don't forget to set your goal (and the pages in the funnel) according to the
    pages you called above.

    Anyway, this is covered thoroughly here : https://www.google.com/support/googleanalytics/bin/answer.py?answer=55514&hl=en_US&utm_id=ad
     
    kmofo, Jun 19, 2009 IP
  3. hiero

    hiero Peon

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I read that article.

    so do I put that code exactly like that anywhere in my signup page? I did that and I am getting errors
     
    hiero, Jun 19, 2009 IP
  4. rena

    rena Peon

    Messages:
    1,987
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just for tracking..? why don to u read from users table by date.. make report group by date
     
    rena, Jun 20, 2009 IP
  5. hiero

    hiero Peon

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I can't even get it to start up. It is stuck at 0 goals
     
    hiero, Jun 20, 2009 IP
  6. saidbaker

    saidbaker Peon

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    you ok man
     
    saidbaker, Jun 20, 2009 IP
  7. kmofo

    kmofo Active Member

    Messages:
    442
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    85
    #7
    First of all, you need to make sure that the Analytics javascript code is placed before
    the part where you call _trackPageview. Then, to call the function do something like that:
    
    <script type="text/javascript">
    pageTracker._trackPageview("/funnel_G1/step1.html"); 
    </script>
    
    Code (markup):
     
    kmofo, Jun 21, 2009 IP
  8. lightlysalted

    lightlysalted Active Member

    Messages:
    2,067
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    90
    #8
    KMOFO an excellent explanation, the thank you page will be more acurate because people will only see this page once they have signed up.
     
    lightlysalted, Jun 21, 2009 IP