Created
          November 11, 2011 00:29 
        
      - 
      
- 
        Save totango/1356743 to your computer and use it in GitHub Desktop. 
    TOTANGO - PHP Example 
  
        
  
    
      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
    
  
  
    
  | <?php | |
| function totangoTrack($serviceID, $org, $user, $activity, $module) { | |
| $org = rawurlencode($org); | |
| $user = rawurlencode($user); | |
| $activity = rawurlencode($activity); | |
| $module = rawurlencode($module); | |
| $r = file_get_contents("https://sdr.totango.com/pixel.gif/?sdr_s={$serviceID}&sdr_o={$org}&sdr_u={$user}&sdr_a={$activity}&sdr_m={$module}"); | |
| } | |
| // totangoTrack('SP-XXXX-XX', "Test Org","Test User","Login", "Application"); | |
| ?> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment