onActivityPause

The onActivityPause method automatically collects data if activity is extended with “WebtrendsActivity” and Activity.onPause is executed.

This method can also be called manually, in which case it can accept custom parameters using a Map of key/value pairs. These custom parameters are appended to Webtrends data using the following format: &customKey=customValue