public class ContentOptions extends AnalyticsOptions
| Modifier and Type | Method and Description |
|---|---|
ContentOptions |
documentHostName(String documentHostName)
Optional.
|
ContentOptions |
documentLocationUrl(String documentLocationUrl)
Optional.
|
ContentOptions |
documentPath(String documentPath)
Optional.
|
ContentOptions |
documentTitle(String documentTitle)
Optional.
|
ContentOptions |
linkId(String linkId)
Optional.
|
ContentOptions |
screenName(String screenName)
Optional.
|
apptrackingOptions, contentOptions, createOptions, customsOptions, eventsOptions, exceptionOptions, experimentsOptions, generalOptions, go, go, goAndLog, hitOptions, socialOptions, systemOptions, timingOptions, trafficsourcesOptionspublic ContentOptions documentHostName(String documentHostName)
Specifies the hostname from which content was hosted.
Default Value: Nonefoo.compublic ContentOptions documentLocationUrl(String documentLocationUrl)
Specifies the full URL (excluding anchor) of the page. This field is initialized by the create command.
Default Value: Nonehttp://foo.com/home?a=bpublic ContentOptions documentPath(String documentPath)
The path portion of the page URL. Should begin with '/'. Used to specify virtual page paths.
Default Value: None/foopublic ContentOptions documentTitle(String documentTitle)
The title of the page / document. Defaults to document.title.
Default Value: NoneSettingspublic ContentOptions linkId(String linkId)
The ID of a clicked DOM element, used to disambiguate multiple links to the same URL in In-Page Analytics reports when Enhanced Link Attribution is enabled for the property.
Default Value: Nonenav_barpublic ContentOptions screenName(String screenName)
If not specified, this will default to the unique URL of the page by either using the &dl parameter as-is or assembling it from &dh and &dp. App tracking makes use of this for the 'Screen Name' of the screenview hit.
Default Value: NoneHigh ScoresCopyright © 2014. All Rights Reserved.