PHP Classes

GA_Parse

Recommend this page to a friend!

      Google Analytics Cookie Parser  >  All threads  >  GA_Parse  >  (Un) Subscribe thread alerts  
Subject:GA_Parse
Summary:Error, no parameter....
Messages:3
Author:Allen Stringfellow
Date:2009-09-21 13:30:10
Update:2009-09-21 15:41:27
 

  1. GA_Parse   Reply   Report abuse  
Picture of Allen Stringfellow Allen Stringfellow - 2009-09-21 13:30:10
Ran on a site with Google Analytics enabled. Got the following error.


Warning: Missing argument 1 for GA_Parse::__construct(), called in /home/magcom/public_html/gcookie.php on line 5 and defined in /home/magcom/public_html/lib/class.gaparse.php on line 33
Campaign source: (direct)
Campaign name: (direct)
Campaign medium: (none)
Campaign content:
Campaign term:
Date of first visit: 21 Sep 2009 - 08:26
Date of previous visit: 21 Sep 2009 - 08:26
Date of current visit: 21 Sep 2009 - 08:26
Times visited: 1

What am I missing?

  2. Re: GA_Parse   Reply   Report abuse  
Picture of Joao Correia Joao Correia - 2009-09-21 14:52:54 - In reply to message 1 from Allen Stringfellow
Sorry my mistake.

Can you please download example.php again ? I forgot the $_COOKIE parameter.
Let me know if it works.

Thanks
Joao

  3. Re: GA_Parse   Reply   Report abuse  
Picture of Allen Stringfellow Allen Stringfellow - 2009-09-21 15:41:27 - In reply to message 2 from Joao Correia
That took care of the error.

Thank you