Module GapiAnalyticsV3Model.Goal

module VisitTimeOnSiteDetails : sig ... end
module VisitNumPagesDetails : sig ... end
module UrlDestinationDetails : sig ... end
module EventDetails : sig ... end
type t = {
accountId : string;

Account ID to which this goal belongs.

active : bool;

Determines whether this goal is active.

created : GapiDate.t;

Time this goal was created.

eventDetails : EventDetails.t;

Details for the goal of the type EVENT.

id : string;

Goal ID.

internalWebPropertyId : string;

Internal ID for the web property to which this goal belongs.

kind : string;

Resource type for an Analytics goal.

name : string;

Goal name.

profileId : string;

View (Profile) ID to which this goal belongs.

_type : string;

Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.

updated : GapiDate.t;

Time this goal was last modified.

urlDestinationDetails : UrlDestinationDetails.t;

Details for the goal of the type URL_DESTINATION.

value : float;

Goal value.

visitNumPagesDetails : VisitNumPagesDetails.t;

Details for the goal of the type VISIT_NUM_PAGES.

visitTimeOnSiteDetails : VisitTimeOnSiteDetails.t;

Details for the goal of the type VISIT_TIME_ON_SITE.

webPropertyId : string;

Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.

}
val accountId : (t, string) GapiLens.t
val active : (t, bool) GapiLens.t
val created : (tGapiDate.t) GapiLens.t
val eventDetails : (tEventDetails.t) GapiLens.t
val id : (t, string) GapiLens.t
val internalWebPropertyId : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val profileId : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val updated : (tGapiDate.t) GapiLens.t
val urlDestinationDetails : (tUrlDestinationDetails.t) GapiLens.t
val value : (t, float) GapiLens.t
val visitNumPagesDetails : (tVisitNumPagesDetails.t) GapiLens.t
val visitTimeOnSiteDetails : (tVisitTimeOnSiteDetails.t) GapiLens.t
val webPropertyId : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t