...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
class Config { //data collection key public static $ANALYTICS_COLLECTOR$PDF = array( "ACCESS" => "#COLLECTOR_ACCESS_KEY#YOUR ACCESS KEY", "SECRET" => "#COLLECTOR_SECRET_KEY#YOUR SECRET ACCESS KEY" ); //data reporting, query building keypublic static $CONTACT_EMAIL = "support@blinkmobile.com.au"; public static $ANALYTICS_ANALYST = array( function handleErrors($t, $interaction, $errors) { "ACCESS" => "#ANALYST_ACCESS_KEY#", $body = "SECRET<pre>" =>. "#ANALYST_SECRET_KEY#" );print_r($errors, 1) . "</pre>"; public static $t->email(self::$CONTACT_EMAIL, = "#YOUR-EMAIL-HERE#";$interaction, $body); } } |
- Replace the #COLLECTOR_ACCESS_KEY# and the #COLLECTOR_SECRET_KEY# with the Collector API access and secret key we've provided.
- Replace the #ANALYST_ACCESS_KEY# and the #ANALYST_SECRET_KEY# with the Analyst API access and secret key we've provided.
- If you wish to use the built-in error checking method, then add your email address into the Contact Email line.
...