public class SocialHit extends GoogleAnalyticsRequest<SocialHit>
For more information, see GA Parameters Reference
customDimensions, customMetrics, delegateExecutor, parms| Constructor and Description |
|---|
SocialHit() |
SocialHit(String socialNetwork,
String socialAction,
String socialTarget) |
| Modifier and Type | Method and Description |
|---|---|
String |
socialAction() |
SocialHit |
socialAction(String value)
|
String |
socialActionTarget() |
SocialHit |
socialActionTarget(String value)
|
String |
socialNetwork() |
SocialHit |
socialNetwork(String value)
|
adwordsId, adwordsId, anonymizeIp, anonymizeIp, applicationId, applicationId, applicationInstallerId, applicationInstallerId, applicationName, applicationName, applicationVersion, applicationVersion, cacheBuster, cacheBuster, campaignContent, campaignContent, campaignId, campaignId, campaignKeyword, campaignKeyword, campaignMedium, campaignMedium, campaignName, campaignName, campaignSource, campaignSource, clientId, clientId, contentDescription, contentDescription, customDimension, customDimension, customDimensions, customMetric, customMetric, custommMetrics, dataSource, dataSource, displayadId, displayadId, documentEncoding, documentEncoding, documentHostName, documentHostName, documentPath, documentPath, documentReferrer, documentReferrer, documentTitle, documentTitle, documentUrl, documentUrl, experimentId, experimentId, experimentVariant, experimentVariant, flashVersion, flashVersion, fromBoolean, fromDouble, fromInteger, geoid, geoid, getBoolean, getDouble, getInteger, getParameters, getString, hitType, hitType, javaEnabled, javaEnabled, nonInteractionHit, nonInteractionHit, parameter, parameter, protocolVersion, protocolVersion, queueTime, queueTime, screenColors, screenColors, screenResolution, screenResolution, send, sendAsync, sessionControl, sessionControl, setBoolean, setDouble, setExecutor, setInteger, setString, toBoolean, toDouble, toInteger, toString, trackingId, trackingId, userAgent, userAgent, userId, userId, userIp, userIp, userLanguage, userLanguage, viewportSize, viewportSizepublic SocialHit socialNetwork(String value)
Required for social hit type.
Specifies the social network, for example Facebook or Google Plus.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
sn |
text | None | 50 Bytes | social |
facebooksn=facebook public String socialNetwork()
public SocialHit socialAction(String value)
Required for social hit type.
Specifies the social interaction action. For example on Google Plus when a user clicks the +1 button, the social action is 'plus'.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
sa |
text | None | 50 Bytes | social |
likesa=like public String socialAction()
public SocialHit socialActionTarget(String value)
Required for social hit type.
Specifies the target of a social interaction. This value is typically a URL but can be any text.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
st |
text | None | 2048 Bytes | social |
http://foo.comst=http%3A%2F%2Ffoo.com public String socialActionTarget()
Copyright © Sep 2013–2018 Mike Hardy. All rights reserved.