com.brsanthu.googleanalytics
Class ExceptionHit

java.lang.Object
  extended by com.brsanthu.googleanalytics.GoogleAnalyticsRequest<ExceptionHit>
      extended by com.brsanthu.googleanalytics.ExceptionHit

public class ExceptionHit
extends GoogleAnalyticsRequest<ExceptionHit>

GA request to track exceptions.

For more information, see GA Parameters Reference

Author:
Santhosh Kumar

Field Summary
 
Fields inherited from class com.brsanthu.googleanalytics.GoogleAnalyticsRequest
customDimentions, customMetrics, parms
 
Constructor Summary
ExceptionHit()
           
ExceptionHit(String exceptionDescription)
           
ExceptionHit(String exceptionDescription, Boolean fatal)
           
 
Method Summary
 String exceptionDescription()
           
 ExceptionHit exceptionDescription(String value)
          
 Boolean exceptionFatal()
           
 ExceptionHit exceptionFatal(Boolean value)
          
 
Methods inherited from class com.brsanthu.googleanalytics.GoogleAnalyticsRequest
adwordsId, adwordsId, anonymizeIp, anonymizeIp, applicationName, applicationName, applicationVersion, applicationVersion, cacheBuster, cacheBuster, campaignContent, campaignContent, campaignId, campaignId, campaignKeyword, campaignKeyword, campaignMedium, campaignMedium, campaignName, campaignName, campaignSource, campaignSource, clientId, clientId, contentDescription, contentDescription, customDimention, customDimention, customDimentions, customMetric, customMetric, custommMetrics, displayadId, displayadId, documentEncoding, documentEncoding, documentHostName, documentHostName, documentPath, documentPath, documentReferrer, documentReferrer, documentTitle, documentTitle, documentUrl, documentUrl, expirementId, expirementId, expirementVariant, expirementVariant, flashVersion, flashVersion, fromBoolean, fromDouble, fromInteger, getBoolean, getDouble, getInteger, getParameters, getString, hitType, hitType, isEmpty, javaEnabled, javaEnabled, nonInteractionHit, nonInteractionHit, parameter, parameter, protocolVersion, protocolVersion, queueTime, queueTime, screenColors, screenColors, screenResolution, screenResolution, sessionControl, sessionControl, setBoolean, setDouble, setInteger, setString, toBoolean, toDouble, toInteger, toString, trackingId, trackingId, userAgent, userAgent, userIp, userIp, userLanguage, userLanguage, viewportSize, viewportSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionHit

public ExceptionHit()

ExceptionHit

public ExceptionHit(String exceptionDescription)

ExceptionHit

public ExceptionHit(String exceptionDescription,
                    Boolean fatal)
Method Detail

exceptionDescription

public ExceptionHit exceptionDescription(String value)

Optional.

Specifies the description of an exception.

Parameter Value Type Default Value Max Length Supported Hit Types
exd text None 150 Bytes exception
Example value: DatabaseError
Example usage: exd=DatabaseError


exceptionDescription

public String exceptionDescription()

exceptionFatal

public ExceptionHit exceptionFatal(Boolean value)

Optional.

Specifies whether the exception was fatal.

Parameter Value Type Default Value Max Length Supported Hit Types
exf boolean 1 None exception
Example value: 0
Example usage: exf=0


exceptionFatal

public Boolean exceptionFatal()


Copyright © Sep 2013–2014 brsanthu Inc. All rights reserved.