Created
June 4, 2014 15:32
-
-
Save FrancescaK/82a23704a72c44804953 to your computer and use it in GitHub Desktop.
Buffer_1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$visit_event = array( | |
'visitor_id' => $visitor_id, | |
'ip' => $ip_address, | |
'uri' => $uri, | |
'referrer' => $referrer, | |
'user_agent' => $user_agent | |
); | |
//track, < metric name >, < metric data > , < operation type > | |
$visitor->track('visits', $visit_event, 'event') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment