id int32 0 167k | repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1 value | code stringlengths 52 85.5k | code_tokens list | docstring stringlengths 6 2.61k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 85 252 |
|---|---|---|---|---|---|---|---|---|---|---|---|
16,300 | projecteru2/core | engine/docker/image.go | ImageRemove | func (e *Engine) ImageRemove(ctx context.Context, image string, force, prune bool) ([]string, error) {
opts := dockertypes.ImageRemoveOptions{
Force: force,
PruneChildren: prune,
}
removed, err := e.client.ImageRemove(ctx, image, opts)
r := []string{}
if err != nil {
return r, err
}
for _, item := range removed {
if item.Untagged != "" {
r = append(r, item.Untagged)
}
if item.Deleted != "" {
r = append(r, item.Deleted)
}
}
return r, nil
} | go | func (e *Engine) ImageRemove(ctx context.Context, image string, force, prune bool) ([]string, error) {
opts := dockertypes.ImageRemoveOptions{
Force: force,
PruneChildren: prune,
}
removed, err := e.client.ImageRemove(ctx, image, opts)
r := []string{}
if err != nil {
return r, err
}
for _, item := range removed {
if item.Untagged != "" {
r = append(r, item.Untagged)
}
if item.Deleted != "" {
r = append(r, item.Deleted)
}
}
return r, nil
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImageRemove",
"(",
"ctx",
"context",
".",
"Context",
",",
"image",
"string",
",",
"force",
",",
"prune",
"bool",
")",
"(",
"[",
"]",
"string",
",",
"error",
")",
"{",
"opts",
":=",
"dockertypes",
".",
"ImageRemo... | // ImageRemove remove a image | [
"ImageRemove",
"remove",
"a",
"image"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L37-L59 |
16,301 | projecteru2/core | engine/docker/image.go | ImagesPrune | func (e *Engine) ImagesPrune(ctx context.Context) error {
_, err := e.client.ImagesPrune(ctx, dockerfilters.NewArgs())
return err
} | go | func (e *Engine) ImagesPrune(ctx context.Context) error {
_, err := e.client.ImagesPrune(ctx, dockerfilters.NewArgs())
return err
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImagesPrune",
"(",
"ctx",
"context",
".",
"Context",
")",
"error",
"{",
"_",
",",
"err",
":=",
"e",
".",
"client",
".",
"ImagesPrune",
"(",
"ctx",
",",
"dockerfilters",
".",
"NewArgs",
"(",
")",
")",
"\n",
"re... | // ImagesPrune prune images | [
"ImagesPrune",
"prune",
"images"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L62-L65 |
16,302 | projecteru2/core | engine/docker/image.go | ImagePull | func (e *Engine) ImagePull(ctx context.Context, ref string, all bool) (io.ReadCloser, error) {
auth, err := makeEncodedAuthConfigFromRemote(e.config.Docker.AuthConfigs, ref)
if err != nil {
return nil, err
}
pullOptions := dockertypes.ImagePullOptions{All: all, RegistryAuth: auth}
return e.client.ImagePull(ctx, ref, pullOptions)
} | go | func (e *Engine) ImagePull(ctx context.Context, ref string, all bool) (io.ReadCloser, error) {
auth, err := makeEncodedAuthConfigFromRemote(e.config.Docker.AuthConfigs, ref)
if err != nil {
return nil, err
}
pullOptions := dockertypes.ImagePullOptions{All: all, RegistryAuth: auth}
return e.client.ImagePull(ctx, ref, pullOptions)
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImagePull",
"(",
"ctx",
"context",
".",
"Context",
",",
"ref",
"string",
",",
"all",
"bool",
")",
"(",
"io",
".",
"ReadCloser",
",",
"error",
")",
"{",
"auth",
",",
"err",
":=",
"makeEncodedAuthConfigFromRemote",
... | // ImagePull pull Image | [
"ImagePull",
"pull",
"Image"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L68-L75 |
16,303 | projecteru2/core | engine/docker/image.go | ImagePush | func (e *Engine) ImagePush(ctx context.Context, ref string) (io.ReadCloser, error) {
auth, err := makeEncodedAuthConfigFromRemote(e.config.Docker.AuthConfigs, ref)
if err != nil {
return nil, err
}
pushOptions := dockertypes.ImagePushOptions{RegistryAuth: auth}
return e.client.ImagePush(ctx, ref, pushOptions)
} | go | func (e *Engine) ImagePush(ctx context.Context, ref string) (io.ReadCloser, error) {
auth, err := makeEncodedAuthConfigFromRemote(e.config.Docker.AuthConfigs, ref)
if err != nil {
return nil, err
}
pushOptions := dockertypes.ImagePushOptions{RegistryAuth: auth}
return e.client.ImagePush(ctx, ref, pushOptions)
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImagePush",
"(",
"ctx",
"context",
".",
"Context",
",",
"ref",
"string",
")",
"(",
"io",
".",
"ReadCloser",
",",
"error",
")",
"{",
"auth",
",",
"err",
":=",
"makeEncodedAuthConfigFromRemote",
"(",
"e",
".",
"conf... | // ImagePush push image | [
"ImagePush",
"push",
"image"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L78-L85 |
16,304 | projecteru2/core | engine/docker/image.go | ImageBuild | func (e *Engine) ImageBuild(ctx context.Context, input io.Reader, refs []string) (io.ReadCloser, error) {
authConfigs := map[string]dockertypes.AuthConfig{}
for domain, conf := range e.config.Docker.AuthConfigs {
b64auth, err := encodeAuthToBase64(conf)
if err != nil {
return nil, err
}
if _, ok := authConfigs[domain]; !ok {
authConfigs[domain] = dockertypes.AuthConfig{
Username: conf.Username,
Password: conf.Password,
Auth: b64auth,
}
}
}
buildOptions := dockertypes.ImageBuildOptions{
Tags: refs,
SuppressOutput: false,
NoCache: true,
Remove: true,
ForceRemove: true,
PullParent: true,
AuthConfigs: authConfigs,
}
resp, err := e.client.ImageBuild(ctx, input, buildOptions)
if err != nil {
return nil, err
}
return resp.Body, nil
} | go | func (e *Engine) ImageBuild(ctx context.Context, input io.Reader, refs []string) (io.ReadCloser, error) {
authConfigs := map[string]dockertypes.AuthConfig{}
for domain, conf := range e.config.Docker.AuthConfigs {
b64auth, err := encodeAuthToBase64(conf)
if err != nil {
return nil, err
}
if _, ok := authConfigs[domain]; !ok {
authConfigs[domain] = dockertypes.AuthConfig{
Username: conf.Username,
Password: conf.Password,
Auth: b64auth,
}
}
}
buildOptions := dockertypes.ImageBuildOptions{
Tags: refs,
SuppressOutput: false,
NoCache: true,
Remove: true,
ForceRemove: true,
PullParent: true,
AuthConfigs: authConfigs,
}
resp, err := e.client.ImageBuild(ctx, input, buildOptions)
if err != nil {
return nil, err
}
return resp.Body, nil
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImageBuild",
"(",
"ctx",
"context",
".",
"Context",
",",
"input",
"io",
".",
"Reader",
",",
"refs",
"[",
"]",
"string",
")",
"(",
"io",
".",
"ReadCloser",
",",
"error",
")",
"{",
"authConfigs",
":=",
"map",
"[... | // ImageBuild build image | [
"ImageBuild",
"build",
"image"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L88-L117 |
16,305 | projecteru2/core | engine/docker/image.go | ImageBuildCachePrune | func (e *Engine) ImageBuildCachePrune(ctx context.Context, all bool) (uint64, error) {
r, err := e.client.BuildCachePrune(ctx, dockertypes.BuildCachePruneOptions{All: all})
if err != nil {
return 0, err
}
return r.SpaceReclaimed, nil
} | go | func (e *Engine) ImageBuildCachePrune(ctx context.Context, all bool) (uint64, error) {
r, err := e.client.BuildCachePrune(ctx, dockertypes.BuildCachePruneOptions{All: all})
if err != nil {
return 0, err
}
return r.SpaceReclaimed, nil
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImageBuildCachePrune",
"(",
"ctx",
"context",
".",
"Context",
",",
"all",
"bool",
")",
"(",
"uint64",
",",
"error",
")",
"{",
"r",
",",
"err",
":=",
"e",
".",
"client",
".",
"BuildCachePrune",
"(",
"ctx",
",",
... | // ImageBuildCachePrune prune build cache | [
"ImageBuildCachePrune",
"prune",
"build",
"cache"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L120-L126 |
16,306 | projecteru2/core | engine/docker/image.go | ImageLocalDigests | func (e *Engine) ImageLocalDigests(ctx context.Context, image string) ([]string, error) {
inspect, _, err := e.client.ImageInspectWithRaw(ctx, image)
if err != nil {
return nil, err
}
return inspect.RepoDigests, nil
} | go | func (e *Engine) ImageLocalDigests(ctx context.Context, image string) ([]string, error) {
inspect, _, err := e.client.ImageInspectWithRaw(ctx, image)
if err != nil {
return nil, err
}
return inspect.RepoDigests, nil
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImageLocalDigests",
"(",
"ctx",
"context",
".",
"Context",
",",
"image",
"string",
")",
"(",
"[",
"]",
"string",
",",
"error",
")",
"{",
"inspect",
",",
"_",
",",
"err",
":=",
"e",
".",
"client",
".",
"ImageIn... | // ImageLocalDigests return image digests | [
"ImageLocalDigests",
"return",
"image",
"digests"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L129-L135 |
16,307 | projecteru2/core | engine/docker/image.go | ImageRemoteDigest | func (e *Engine) ImageRemoteDigest(ctx context.Context, image string) (string, error) {
auth, err := makeEncodedAuthConfigFromRemote(e.config.Docker.AuthConfigs, image)
if err != nil {
return "", err
}
inspect, err := e.client.DistributionInspect(ctx, image, auth)
if err != nil {
return "", err
}
remoteDigest := fmt.Sprintf("%s@%s", normalizeImage(image), inspect.Descriptor.Digest.String())
return remoteDigest, nil
} | go | func (e *Engine) ImageRemoteDigest(ctx context.Context, image string) (string, error) {
auth, err := makeEncodedAuthConfigFromRemote(e.config.Docker.AuthConfigs, image)
if err != nil {
return "", err
}
inspect, err := e.client.DistributionInspect(ctx, image, auth)
if err != nil {
return "", err
}
remoteDigest := fmt.Sprintf("%s@%s", normalizeImage(image), inspect.Descriptor.Digest.String())
return remoteDigest, nil
} | [
"func",
"(",
"e",
"*",
"Engine",
")",
"ImageRemoteDigest",
"(",
"ctx",
"context",
".",
"Context",
",",
"image",
"string",
")",
"(",
"string",
",",
"error",
")",
"{",
"auth",
",",
"err",
":=",
"makeEncodedAuthConfigFromRemote",
"(",
"e",
".",
"config",
".... | // ImageRemoteDigest return image digest at remote | [
"ImageRemoteDigest",
"return",
"image",
"digest",
"at",
"remote"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/engine/docker/image.go#L138-L149 |
16,308 | projecteru2/core | types/node.go | Total | func (c CPUMap) Total() int {
var count int
for _, value := range c {
count += value
}
return count
} | go | func (c CPUMap) Total() int {
var count int
for _, value := range c {
count += value
}
return count
} | [
"func",
"(",
"c",
"CPUMap",
")",
"Total",
"(",
")",
"int",
"{",
"var",
"count",
"int",
"\n",
"for",
"_",
",",
"value",
":=",
"range",
"c",
"{",
"count",
"+=",
"value",
"\n",
"}",
"\n",
"return",
"count",
"\n",
"}"
] | // Total show total cpu
// Total quotas | [
"Total",
"show",
"total",
"cpu",
"Total",
"quotas"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/types/node.go#L23-L29 |
16,309 | projecteru2/core | types/node.go | Add | func (c CPUMap) Add(q CPUMap) {
for label, value := range q {
if _, ok := c[label]; !ok {
c[label] = value
} else {
c[label] += value
}
}
} | go | func (c CPUMap) Add(q CPUMap) {
for label, value := range q {
if _, ok := c[label]; !ok {
c[label] = value
} else {
c[label] += value
}
}
} | [
"func",
"(",
"c",
"CPUMap",
")",
"Add",
"(",
"q",
"CPUMap",
")",
"{",
"for",
"label",
",",
"value",
":=",
"range",
"q",
"{",
"if",
"_",
",",
"ok",
":=",
"c",
"[",
"label",
"]",
";",
"!",
"ok",
"{",
"c",
"[",
"label",
"]",
"=",
"value",
"\n"... | // Add return cpu | [
"Add",
"return",
"cpu"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/types/node.go#L32-L40 |
16,310 | projecteru2/core | types/node.go | Sub | func (c CPUMap) Sub(q CPUMap) {
for label, value := range q {
if _, ok := c[label]; ok {
c[label] -= value
}
}
} | go | func (c CPUMap) Sub(q CPUMap) {
for label, value := range q {
if _, ok := c[label]; ok {
c[label] -= value
}
}
} | [
"func",
"(",
"c",
"CPUMap",
")",
"Sub",
"(",
"q",
"CPUMap",
")",
"{",
"for",
"label",
",",
"value",
":=",
"range",
"q",
"{",
"if",
"_",
",",
"ok",
":=",
"c",
"[",
"label",
"]",
";",
"ok",
"{",
"c",
"[",
"label",
"]",
"-=",
"value",
"\n",
"}... | // Sub decrease cpus | [
"Sub",
"decrease",
"cpus"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/types/node.go#L43-L49 |
16,311 | projecteru2/core | types/node.go | Info | func (n *Node) Info(ctx context.Context) (*enginetypes.Info, error) {
if n.Engine == nil {
return nil, ErrNilEngine
}
return n.Engine.Info(ctx)
} | go | func (n *Node) Info(ctx context.Context) (*enginetypes.Info, error) {
if n.Engine == nil {
return nil, ErrNilEngine
}
return n.Engine.Info(ctx)
} | [
"func",
"(",
"n",
"*",
"Node",
")",
"Info",
"(",
"ctx",
"context",
".",
"Context",
")",
"(",
"*",
"enginetypes",
".",
"Info",
",",
"error",
")",
"{",
"if",
"n",
".",
"Engine",
"==",
"nil",
"{",
"return",
"nil",
",",
"ErrNilEngine",
"\n",
"}",
"\n... | // Info show node info | [
"Info",
"show",
"node",
"info"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/types/node.go#L72-L77 |
16,312 | projecteru2/core | types/node.go | SetCPUUsed | func (n *Node) SetCPUUsed(quota float64, action string) {
switch action {
case IncrUsage:
n.CPUUsed = Round(n.CPUUsed + quota)
case DecrUsage:
n.CPUUsed = Round(n.CPUUsed - quota)
default:
}
} | go | func (n *Node) SetCPUUsed(quota float64, action string) {
switch action {
case IncrUsage:
n.CPUUsed = Round(n.CPUUsed + quota)
case DecrUsage:
n.CPUUsed = Round(n.CPUUsed - quota)
default:
}
} | [
"func",
"(",
"n",
"*",
"Node",
")",
"SetCPUUsed",
"(",
"quota",
"float64",
",",
"action",
"string",
")",
"{",
"switch",
"action",
"{",
"case",
"IncrUsage",
":",
"n",
".",
"CPUUsed",
"=",
"Round",
"(",
"n",
".",
"CPUUsed",
"+",
"quota",
")",
"\n",
"... | // SetCPUUsed set cpuusage | [
"SetCPUUsed",
"set",
"cpuusage"
] | b12208b63ff460ec82327f36d39a2cee786f4dbb | https://github.com/projecteru2/core/blob/b12208b63ff460ec82327f36d39a2cee786f4dbb/types/node.go#L80-L88 |
16,313 | yudai/golcs | golcs.go | New | func New(left, right []interface{}) Lcs {
return &lcs{
left: left,
right: right,
table: nil,
indexPairs: nil,
values: nil,
}
} | go | func New(left, right []interface{}) Lcs {
return &lcs{
left: left,
right: right,
table: nil,
indexPairs: nil,
values: nil,
}
} | [
"func",
"New",
"(",
"left",
",",
"right",
"[",
"]",
"interface",
"{",
"}",
")",
"Lcs",
"{",
"return",
"&",
"lcs",
"{",
"left",
":",
"left",
",",
"right",
":",
"right",
",",
"table",
":",
"nil",
",",
"indexPairs",
":",
"nil",
",",
"values",
":",
... | // New creates a new LCS calculator from two arrays. | [
"New",
"creates",
"a",
"new",
"LCS",
"calculator",
"from",
"two",
"arrays",
"."
] | ecda9a501e8220fae3b4b600c3db4b0ba22cfc68 | https://github.com/yudai/golcs/blob/ecda9a501e8220fae3b4b600c3db4b0ba22cfc68/golcs.go#L46-L54 |
16,314 | jpillora/go-ogle-analytics | type-client.go | ProtocolVersion | func (h *Client) ProtocolVersion(protocolVersion string) *Client {
h.protocolVersion = protocolVersion
h.protocolVersionSet = true
return h
} | go | func (h *Client) ProtocolVersion(protocolVersion string) *Client {
h.protocolVersion = protocolVersion
h.protocolVersionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProtocolVersion",
"(",
"protocolVersion",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"protocolVersion",
"=",
"protocolVersion",
"\n",
"h",
".",
"protocolVersionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The Protocol version. The current value is '1'. This will
// only change when there are changes made that are not backwards
// compatible. | [
"The",
"Protocol",
"version",
".",
"The",
"current",
"value",
"is",
"1",
".",
"This",
"will",
"only",
"change",
"when",
"there",
"are",
"changes",
"made",
"that",
"are",
"not",
"backwards",
"compatible",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L449-L453 |
16,315 | jpillora/go-ogle-analytics | type-client.go | DataSource | func (h *Client) DataSource(dataSource string) *Client {
h.dataSource = dataSource
h.dataSourceSet = true
return h
} | go | func (h *Client) DataSource(dataSource string) *Client {
h.dataSource = dataSource
h.dataSourceSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"DataSource",
"(",
"dataSource",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"dataSource",
"=",
"dataSource",
"\n",
"h",
".",
"dataSourceSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Indicates the data source of the hit. Hits sent from analytics.js
// will have data source set to 'web'; hits sent from one of
// the mobile SDKs will have data source set to 'app'. | [
"Indicates",
"the",
"data",
"source",
"of",
"the",
"hit",
".",
"Hits",
"sent",
"from",
"analytics",
".",
"js",
"will",
"have",
"data",
"source",
"set",
"to",
"web",
";",
"hits",
"sent",
"from",
"one",
"of",
"the",
"mobile",
"SDKs",
"will",
"have",
"dat... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L468-L472 |
16,316 | jpillora/go-ogle-analytics | type-client.go | CacheBuster | func (h *Client) CacheBuster(cacheBuster string) *Client {
h.cacheBuster = cacheBuster
h.cacheBusterSet = true
return h
} | go | func (h *Client) CacheBuster(cacheBuster string) *Client {
h.cacheBuster = cacheBuster
h.cacheBusterSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CacheBuster",
"(",
"cacheBuster",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"cacheBuster",
"=",
"cacheBuster",
"\n",
"h",
".",
"cacheBusterSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Used to send a random number in GET requests to ensure browsers
// and proxies don't cache hits. It should be sent as the final
// parameter of the request since we've seen some 3rd party
// internet filtering software add additional parameters to
// HTTP requests incorrectly. This value is not used in reporting. | [
"Used",
"to",
"send",
"a",
"random",
"number",
"in",
"GET",
"requests",
"to",
"ensure",
"browsers",
"and",
"proxies",
"don",
"t",
"cache",
"hits",
".",
"It",
"should",
"be",
"sent",
"as",
"the",
"final",
"parameter",
"of",
"the",
"request",
"since",
"we"... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L490-L494 |
16,317 | jpillora/go-ogle-analytics | type-client.go | SessionControl | func (h *Client) SessionControl(sessionControl string) *Client {
h.sessionControl = sessionControl
h.sessionControlSet = true
return h
} | go | func (h *Client) SessionControl(sessionControl string) *Client {
h.sessionControl = sessionControl
h.sessionControlSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"SessionControl",
"(",
"sessionControl",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"sessionControl",
"=",
"sessionControl",
"\n",
"h",
".",
"sessionControlSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Used to control the session duration. A value of 'start'
// forces a new session to start with this hit and 'end' forces
// the current session to end with this hit. All other values
// are ignored. | [
"Used",
"to",
"control",
"the",
"session",
"duration",
".",
"A",
"value",
"of",
"start",
"forces",
"a",
"new",
"session",
"to",
"start",
"with",
"this",
"hit",
"and",
"end",
"forces",
"the",
"current",
"session",
"to",
"end",
"with",
"this",
"hit",
".",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L523-L527 |
16,318 | jpillora/go-ogle-analytics | type-client.go | UserAgentOverride | func (h *Client) UserAgentOverride(userAgentOverride string) *Client {
h.userAgentOverride = userAgentOverride
h.userAgentOverrideSet = true
return h
} | go | func (h *Client) UserAgentOverride(userAgentOverride string) *Client {
h.userAgentOverride = userAgentOverride
h.userAgentOverrideSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"UserAgentOverride",
"(",
"userAgentOverride",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"userAgentOverride",
"=",
"userAgentOverride",
"\n",
"h",
".",
"userAgentOverrideSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"... | // The User Agent of the browser. Note that Google has libraries
// to identify real user agents. Hand crafting your own agent
// could break at any time. | [
"The",
"User",
"Agent",
"of",
"the",
"browser",
".",
"Note",
"that",
"Google",
"has",
"libraries",
"to",
"identify",
"real",
"user",
"agents",
".",
"Hand",
"crafting",
"your",
"own",
"agent",
"could",
"break",
"at",
"any",
"time",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L541-L545 |
16,319 | jpillora/go-ogle-analytics | type-client.go | DocumentReferrer | func (h *Client) DocumentReferrer(documentReferrer string) *Client {
h.documentReferrer = documentReferrer
h.documentReferrerSet = true
return h
} | go | func (h *Client) DocumentReferrer(documentReferrer string) *Client {
h.documentReferrer = documentReferrer
h.documentReferrerSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"DocumentReferrer",
"(",
"documentReferrer",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"documentReferrer",
"=",
"documentReferrer",
"\n",
"h",
".",
"documentReferrerSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies which referral source brought traffic to a website.
// This value is also used to compute the traffic source. The
// format of this value is a URL. | [
"Specifies",
"which",
"referral",
"source",
"brought",
"traffic",
"to",
"a",
"website",
".",
"This",
"value",
"is",
"also",
"used",
"to",
"compute",
"the",
"traffic",
"source",
".",
"The",
"format",
"of",
"this",
"value",
"is",
"a",
"URL",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L563-L567 |
16,320 | jpillora/go-ogle-analytics | type-client.go | CampaignName | func (h *Client) CampaignName(campaignName string) *Client {
h.campaignName = campaignName
h.campaignNameSet = true
return h
} | go | func (h *Client) CampaignName(campaignName string) *Client {
h.campaignName = campaignName
h.campaignNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CampaignName",
"(",
"campaignName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"campaignName",
"=",
"campaignName",
"\n",
"h",
".",
"campaignNameSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the campaign name. | [
"Specifies",
"the",
"campaign",
"name",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L570-L574 |
16,321 | jpillora/go-ogle-analytics | type-client.go | CampaignSource | func (h *Client) CampaignSource(campaignSource string) *Client {
h.campaignSource = campaignSource
h.campaignSourceSet = true
return h
} | go | func (h *Client) CampaignSource(campaignSource string) *Client {
h.campaignSource = campaignSource
h.campaignSourceSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CampaignSource",
"(",
"campaignSource",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"campaignSource",
"=",
"campaignSource",
"\n",
"h",
".",
"campaignSourceSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the campaign source. | [
"Specifies",
"the",
"campaign",
"source",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L577-L581 |
16,322 | jpillora/go-ogle-analytics | type-client.go | CampaignMedium | func (h *Client) CampaignMedium(campaignMedium string) *Client {
h.campaignMedium = campaignMedium
h.campaignMediumSet = true
return h
} | go | func (h *Client) CampaignMedium(campaignMedium string) *Client {
h.campaignMedium = campaignMedium
h.campaignMediumSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CampaignMedium",
"(",
"campaignMedium",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"campaignMedium",
"=",
"campaignMedium",
"\n",
"h",
".",
"campaignMediumSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the campaign medium. | [
"Specifies",
"the",
"campaign",
"medium",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L584-L588 |
16,323 | jpillora/go-ogle-analytics | type-client.go | CampaignKeyword | func (h *Client) CampaignKeyword(campaignKeyword string) *Client {
h.campaignKeyword = campaignKeyword
h.campaignKeywordSet = true
return h
} | go | func (h *Client) CampaignKeyword(campaignKeyword string) *Client {
h.campaignKeyword = campaignKeyword
h.campaignKeywordSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CampaignKeyword",
"(",
"campaignKeyword",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"campaignKeyword",
"=",
"campaignKeyword",
"\n",
"h",
".",
"campaignKeywordSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the campaign keyword. | [
"Specifies",
"the",
"campaign",
"keyword",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L591-L595 |
16,324 | jpillora/go-ogle-analytics | type-client.go | CampaignContent | func (h *Client) CampaignContent(campaignContent string) *Client {
h.campaignContent = campaignContent
h.campaignContentSet = true
return h
} | go | func (h *Client) CampaignContent(campaignContent string) *Client {
h.campaignContent = campaignContent
h.campaignContentSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CampaignContent",
"(",
"campaignContent",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"campaignContent",
"=",
"campaignContent",
"\n",
"h",
".",
"campaignContentSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the campaign content. | [
"Specifies",
"the",
"campaign",
"content",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L598-L602 |
16,325 | jpillora/go-ogle-analytics | type-client.go | CampaignID | func (h *Client) CampaignID(campaignID string) *Client {
h.campaignID = campaignID
h.campaignIDSet = true
return h
} | go | func (h *Client) CampaignID(campaignID string) *Client {
h.campaignID = campaignID
h.campaignIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CampaignID",
"(",
"campaignID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"campaignID",
"=",
"campaignID",
"\n",
"h",
".",
"campaignIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the campaign ID. | [
"Specifies",
"the",
"campaign",
"ID",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L605-L609 |
16,326 | jpillora/go-ogle-analytics | type-client.go | GoogleAdWordsID | func (h *Client) GoogleAdWordsID(googleAdWordsID string) *Client {
h.googleAdWordsID = googleAdWordsID
h.googleAdWordsIDSet = true
return h
} | go | func (h *Client) GoogleAdWordsID(googleAdWordsID string) *Client {
h.googleAdWordsID = googleAdWordsID
h.googleAdWordsIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"GoogleAdWordsID",
"(",
"googleAdWordsID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"googleAdWordsID",
"=",
"googleAdWordsID",
"\n",
"h",
".",
"googleAdWordsIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the Google AdWords Id. | [
"Specifies",
"the",
"Google",
"AdWords",
"Id",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L612-L616 |
16,327 | jpillora/go-ogle-analytics | type-client.go | GoogleDisplayAdsID | func (h *Client) GoogleDisplayAdsID(googleDisplayAdsID string) *Client {
h.googleDisplayAdsID = googleDisplayAdsID
h.googleDisplayAdsIDSet = true
return h
} | go | func (h *Client) GoogleDisplayAdsID(googleDisplayAdsID string) *Client {
h.googleDisplayAdsID = googleDisplayAdsID
h.googleDisplayAdsIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"GoogleDisplayAdsID",
"(",
"googleDisplayAdsID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"googleDisplayAdsID",
"=",
"googleDisplayAdsID",
"\n",
"h",
".",
"googleDisplayAdsIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n"... | // Specifies the Google Display Ads Id. | [
"Specifies",
"the",
"Google",
"Display",
"Ads",
"Id",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L619-L623 |
16,328 | jpillora/go-ogle-analytics | type-client.go | ScreenResolution | func (h *Client) ScreenResolution(screenResolution string) *Client {
h.screenResolution = screenResolution
h.screenResolutionSet = true
return h
} | go | func (h *Client) ScreenResolution(screenResolution string) *Client {
h.screenResolution = screenResolution
h.screenResolutionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ScreenResolution",
"(",
"screenResolution",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"screenResolution",
"=",
"screenResolution",
"\n",
"h",
".",
"screenResolutionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the screen resolution. | [
"Specifies",
"the",
"screen",
"resolution",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L626-L630 |
16,329 | jpillora/go-ogle-analytics | type-client.go | ScreenColors | func (h *Client) ScreenColors(screenColors string) *Client {
h.screenColors = screenColors
h.screenColorsSet = true
return h
} | go | func (h *Client) ScreenColors(screenColors string) *Client {
h.screenColors = screenColors
h.screenColorsSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ScreenColors",
"(",
"screenColors",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"screenColors",
"=",
"screenColors",
"\n",
"h",
".",
"screenColorsSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the screen color depth. | [
"Specifies",
"the",
"screen",
"color",
"depth",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L647-L651 |
16,330 | jpillora/go-ogle-analytics | type-client.go | UserLanguage | func (h *Client) UserLanguage(userLanguage string) *Client {
h.userLanguage = userLanguage
h.userLanguageSet = true
return h
} | go | func (h *Client) UserLanguage(userLanguage string) *Client {
h.userLanguage = userLanguage
h.userLanguageSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"UserLanguage",
"(",
"userLanguage",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"userLanguage",
"=",
"userLanguage",
"\n",
"h",
".",
"userLanguageSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the language. | [
"Specifies",
"the",
"language",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L654-L658 |
16,331 | jpillora/go-ogle-analytics | type-client.go | JavaEnabled | func (h *Client) JavaEnabled(javaEnabled bool) *Client {
h.javaEnabled = javaEnabled
h.javaEnabledSet = true
return h
} | go | func (h *Client) JavaEnabled(javaEnabled bool) *Client {
h.javaEnabled = javaEnabled
h.javaEnabledSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"JavaEnabled",
"(",
"javaEnabled",
"bool",
")",
"*",
"Client",
"{",
"h",
".",
"javaEnabled",
"=",
"javaEnabled",
"\n",
"h",
".",
"javaEnabledSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies whether Java was enabled. | [
"Specifies",
"whether",
"Java",
"was",
"enabled",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L661-L665 |
16,332 | jpillora/go-ogle-analytics | type-client.go | FlashVersion | func (h *Client) FlashVersion(flashVersion string) *Client {
h.flashVersion = flashVersion
h.flashVersionSet = true
return h
} | go | func (h *Client) FlashVersion(flashVersion string) *Client {
h.flashVersion = flashVersion
h.flashVersionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"FlashVersion",
"(",
"flashVersion",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"flashVersion",
"=",
"flashVersion",
"\n",
"h",
".",
"flashVersionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the flash version. | [
"Specifies",
"the",
"flash",
"version",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L668-L672 |
16,333 | jpillora/go-ogle-analytics | type-client.go | NonInteractionHit | func (h *Client) NonInteractionHit(nonInteractionHit bool) *Client {
h.nonInteractionHit = nonInteractionHit
h.nonInteractionHitSet = true
return h
} | go | func (h *Client) NonInteractionHit(nonInteractionHit bool) *Client {
h.nonInteractionHit = nonInteractionHit
h.nonInteractionHitSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"NonInteractionHit",
"(",
"nonInteractionHit",
"bool",
")",
"*",
"Client",
"{",
"h",
".",
"nonInteractionHit",
"=",
"nonInteractionHit",
"\n",
"h",
".",
"nonInteractionHitSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"... | // Specifies that a hit be considered non-interactive. | [
"Specifies",
"that",
"a",
"hit",
"be",
"considered",
"non",
"-",
"interactive",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L675-L679 |
16,334 | jpillora/go-ogle-analytics | type-client.go | DocumentHostName | func (h *Client) DocumentHostName(documentHostName string) *Client {
h.documentHostName = documentHostName
h.documentHostNameSet = true
return h
} | go | func (h *Client) DocumentHostName(documentHostName string) *Client {
h.documentHostName = documentHostName
h.documentHostNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"DocumentHostName",
"(",
"documentHostName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"documentHostName",
"=",
"documentHostName",
"\n",
"h",
".",
"documentHostNameSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the hostname from which content was hosted. | [
"Specifies",
"the",
"hostname",
"from",
"which",
"content",
"was",
"hosted",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L699-L703 |
16,335 | jpillora/go-ogle-analytics | type-client.go | ScreenName | func (h *Client) ScreenName(screenName string) *Client {
h.screenName = screenName
h.screenNameSet = true
return h
} | go | func (h *Client) ScreenName(screenName string) *Client {
h.screenName = screenName
h.screenNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ScreenName",
"(",
"screenName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"screenName",
"=",
"screenName",
"\n",
"h",
".",
"screenNameSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // 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. | [
"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",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L725-L729 |
16,336 | jpillora/go-ogle-analytics | type-client.go | LinkID | func (h *Client) LinkID(linkID string) *Client {
h.linkID = linkID
h.linkIDSet = true
return h
} | go | func (h *Client) LinkID(linkID string) *Client {
h.linkID = linkID
h.linkIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"LinkID",
"(",
"linkID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"linkID",
"=",
"linkID",
"\n",
"h",
".",
"linkIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // 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. | [
"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",
"... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L734-L738 |
16,337 | jpillora/go-ogle-analytics | type-client.go | ApplicationName | func (h *Client) ApplicationName(applicationName string) *Client {
h.applicationName = applicationName
h.applicationNameSet = true
return h
} | go | func (h *Client) ApplicationName(applicationName string) *Client {
h.applicationName = applicationName
h.applicationNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ApplicationName",
"(",
"applicationName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"applicationName",
"=",
"applicationName",
"\n",
"h",
".",
"applicationNameSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the application name. | [
"Specifies",
"the",
"application",
"name",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L741-L745 |
16,338 | jpillora/go-ogle-analytics | type-client.go | ApplicationID | func (h *Client) ApplicationID(applicationID string) *Client {
h.applicationID = applicationID
h.applicationIDSet = true
return h
} | go | func (h *Client) ApplicationID(applicationID string) *Client {
h.applicationID = applicationID
h.applicationIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ApplicationID",
"(",
"applicationID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"applicationID",
"=",
"applicationID",
"\n",
"h",
".",
"applicationIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Application identifier. | [
"Application",
"identifier",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L748-L752 |
16,339 | jpillora/go-ogle-analytics | type-client.go | ApplicationVersion | func (h *Client) ApplicationVersion(applicationVersion string) *Client {
h.applicationVersion = applicationVersion
h.applicationVersionSet = true
return h
} | go | func (h *Client) ApplicationVersion(applicationVersion string) *Client {
h.applicationVersion = applicationVersion
h.applicationVersionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ApplicationVersion",
"(",
"applicationVersion",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"applicationVersion",
"=",
"applicationVersion",
"\n",
"h",
".",
"applicationVersionSet",
"=",
"true",
"\n",
"return",
"h",
"\n"... | // Specifies the application version. | [
"Specifies",
"the",
"application",
"version",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L755-L759 |
16,340 | jpillora/go-ogle-analytics | type-client.go | ApplicationInstallerID | func (h *Client) ApplicationInstallerID(applicationInstallerID string) *Client {
h.applicationInstallerID = applicationInstallerID
h.applicationInstallerIDSet = true
return h
} | go | func (h *Client) ApplicationInstallerID(applicationInstallerID string) *Client {
h.applicationInstallerID = applicationInstallerID
h.applicationInstallerIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ApplicationInstallerID",
"(",
"applicationInstallerID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"applicationInstallerID",
"=",
"applicationInstallerID",
"\n",
"h",
".",
"applicationInstallerIDSet",
"=",
"true",
"\n",
"re... | // Application installer identifier. | [
"Application",
"installer",
"identifier",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L762-L766 |
16,341 | jpillora/go-ogle-analytics | type-client.go | ProductSKU | func (h *Client) ProductSKU(productSKU string) *Client {
h.productSKU = productSKU
h.productSKUSet = true
return h
} | go | func (h *Client) ProductSKU(productSKU string) *Client {
h.productSKU = productSKU
h.productSKUSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductSKU",
"(",
"productSKU",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productSKU",
"=",
"productSKU",
"\n",
"h",
".",
"productSKUSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The SKU of the product. Product index must be a positive
// integer between 1 and 200, inclusive. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"SKU",
"of",
"the",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
"be... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L772-L776 |
16,342 | jpillora/go-ogle-analytics | type-client.go | ProductName | func (h *Client) ProductName(productName string) *Client {
h.productName = productName
h.productNameSet = true
return h
} | go | func (h *Client) ProductName(productName string) *Client {
h.productName = productName
h.productNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductName",
"(",
"productName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productName",
"=",
"productName",
"\n",
"h",
".",
"productNameSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The name of the product. Product index must be a positive
// integer between 1 and 200, inclusive. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"name",
"of",
"the",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
"b... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L782-L786 |
16,343 | jpillora/go-ogle-analytics | type-client.go | ProductBrand | func (h *Client) ProductBrand(productBrand string) *Client {
h.productBrand = productBrand
h.productBrandSet = true
return h
} | go | func (h *Client) ProductBrand(productBrand string) *Client {
h.productBrand = productBrand
h.productBrandSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductBrand",
"(",
"productBrand",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productBrand",
"=",
"productBrand",
"\n",
"h",
".",
"productBrandSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The brand associated with the product. Product index must
// be a positive integer between 1 and 200, inclusive. For
// analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"brand",
"associated",
"with",
"the",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L792-L796 |
16,344 | jpillora/go-ogle-analytics | type-client.go | ProductVariant | func (h *Client) ProductVariant(productVariant string) *Client {
h.productVariant = productVariant
h.productVariantSet = true
return h
} | go | func (h *Client) ProductVariant(productVariant string) *Client {
h.productVariant = productVariant
h.productVariantSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductVariant",
"(",
"productVariant",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productVariant",
"=",
"productVariant",
"\n",
"h",
".",
"productVariantSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The variant of the product. Product index must be a positive
// integer between 1 and 200, inclusive. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"variant",
"of",
"the",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L814-L818 |
16,345 | jpillora/go-ogle-analytics | type-client.go | ProductPrice | func (h *Client) ProductPrice(productPrice float64) *Client {
h.productPrice = productPrice
h.productPriceSet = true
return h
} | go | func (h *Client) ProductPrice(productPrice float64) *Client {
h.productPrice = productPrice
h.productPriceSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductPrice",
"(",
"productPrice",
"float64",
")",
"*",
"Client",
"{",
"h",
".",
"productPrice",
"=",
"productPrice",
"\n",
"h",
".",
"productPriceSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The price of a product. Product index must be a positive
// integer between 1 and 200, inclusive. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"price",
"of",
"a",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
"be... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L824-L828 |
16,346 | jpillora/go-ogle-analytics | type-client.go | ProductQuantity | func (h *Client) ProductQuantity(productQuantity int64) *Client {
h.productQuantity = productQuantity
h.productQuantitySet = true
return h
} | go | func (h *Client) ProductQuantity(productQuantity int64) *Client {
h.productQuantity = productQuantity
h.productQuantitySet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductQuantity",
"(",
"productQuantity",
"int64",
")",
"*",
"Client",
"{",
"h",
".",
"productQuantity",
"=",
"productQuantity",
"\n",
"h",
".",
"productQuantitySet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The quantity of a product. Product index must be a positive
// integer between 1 and 200, inclusive. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"quantity",
"of",
"a",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L834-L838 |
16,347 | jpillora/go-ogle-analytics | type-client.go | ProductCouponCode | func (h *Client) ProductCouponCode(productCouponCode string) *Client {
h.productCouponCode = productCouponCode
h.productCouponCodeSet = true
return h
} | go | func (h *Client) ProductCouponCode(productCouponCode string) *Client {
h.productCouponCode = productCouponCode
h.productCouponCodeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductCouponCode",
"(",
"productCouponCode",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productCouponCode",
"=",
"productCouponCode",
"\n",
"h",
".",
"productCouponCodeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"... | // The coupon code associated with a product. Product index
// must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"coupon",
"code",
"associated",
"with",
"a",
"product",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L844-L848 |
16,348 | jpillora/go-ogle-analytics | type-client.go | ProductPosition | func (h *Client) ProductPosition(productPosition int64) *Client {
h.productPosition = productPosition
h.productPositionSet = true
return h
} | go | func (h *Client) ProductPosition(productPosition int64) *Client {
h.productPosition = productPosition
h.productPositionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductPosition",
"(",
"productPosition",
"int64",
")",
"*",
"Client",
"{",
"h",
".",
"productPosition",
"=",
"productPosition",
"\n",
"h",
".",
"productPositionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The product's position in a list or collection. Product
// index must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"product",
"s",
"position",
"in",
"a",
"list",
"or",
"collection",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plu... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L854-L858 |
16,349 | jpillora/go-ogle-analytics | type-client.go | ProductCustomDimension | func (h *Client) ProductCustomDimension(productCustomDimension string) *Client {
h.productCustomDimension = productCustomDimension
h.productCustomDimensionSet = true
return h
} | go | func (h *Client) ProductCustomDimension(productCustomDimension string) *Client {
h.productCustomDimension = productCustomDimension
h.productCustomDimensionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductCustomDimension",
"(",
"productCustomDimension",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productCustomDimension",
"=",
"productCustomDimension",
"\n",
"h",
".",
"productCustomDimensionSet",
"=",
"true",
"\n",
"re... | // A product-level custom dimension where dimension index is
// a positive integer between 1 and 200, inclusive. Product
// index must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"A",
"product",
"-",
"level",
"custom",
"dimension",
"where",
"dimension",
"index",
"is",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L865-L869 |
16,350 | jpillora/go-ogle-analytics | type-client.go | ProductCustomMetric | func (h *Client) ProductCustomMetric(productCustomMetric int64) *Client {
h.productCustomMetric = productCustomMetric
h.productCustomMetricSet = true
return h
} | go | func (h *Client) ProductCustomMetric(productCustomMetric int64) *Client {
h.productCustomMetric = productCustomMetric
h.productCustomMetricSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductCustomMetric",
"(",
"productCustomMetric",
"int64",
")",
"*",
"Client",
"{",
"h",
".",
"productCustomMetric",
"=",
"productCustomMetric",
"\n",
"h",
".",
"productCustomMetricSet",
"=",
"true",
"\n",
"return",
"h",
... | // A product-level custom metric where metric index is a positive
// integer between 1 and 200, inclusive. Product index must
// be a positive integer between 1 and 200, inclusive. For
// analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"A",
"product",
"-",
"level",
"custom",
"metric",
"where",
"metric",
"index",
"is",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inc... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L876-L880 |
16,351 | jpillora/go-ogle-analytics | type-client.go | TransactionID | func (h *Client) TransactionID(transactionID string) *Client {
h.transactionID = transactionID
h.transactionIDSet = true
return h
} | go | func (h *Client) TransactionID(transactionID string) *Client {
h.transactionID = transactionID
h.transactionIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"TransactionID",
"(",
"transactionID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"transactionID",
"=",
"transactionID",
"\n",
"h",
".",
"transactionIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The transaction ID. This is an additional parameter that
// can be sent when Product Action is set to 'purchase' or
// 'refund'. For analytics.js the Enhanced Ecommerce plugin
// must be installed before using this field. | [
"The",
"transaction",
"ID",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"purchase",
"or",
"refund",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"pl... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L898-L902 |
16,352 | jpillora/go-ogle-analytics | type-client.go | Affiliation | func (h *Client) Affiliation(affiliation string) *Client {
h.affiliation = affiliation
h.affiliationSet = true
return h
} | go | func (h *Client) Affiliation(affiliation string) *Client {
h.affiliation = affiliation
h.affiliationSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"Affiliation",
"(",
"affiliation",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"affiliation",
"=",
"affiliation",
"\n",
"h",
".",
"affiliationSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The store or affiliation from which this transaction occurred.
// This is an additional parameter that can be sent when Product
// Action is set to 'purchase' or 'refund'. For analytics.js
// the Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"store",
"or",
"affiliation",
"from",
"which",
"this",
"transaction",
"occurred",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"purchase",
"or",
"refund",
".",
"For",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L909-L913 |
16,353 | jpillora/go-ogle-analytics | type-client.go | Revenue | func (h *Client) Revenue(revenue float64) *Client {
h.revenue = revenue
h.revenueSet = true
return h
} | go | func (h *Client) Revenue(revenue float64) *Client {
h.revenue = revenue
h.revenueSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"Revenue",
"(",
"revenue",
"float64",
")",
"*",
"Client",
"{",
"h",
".",
"revenue",
"=",
"revenue",
"\n",
"h",
".",
"revenueSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The total value of the transaction, including tax and shipping.
// If not sent, this value will be automatically calculated
// using the product quantity and price fields of all products
// in the same hit. This is an additional parameter that can
// be sent when Product Action is set to 'purchase' or 'refund'.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"total",
"value",
"of",
"the",
"transaction",
"including",
"tax",
"and",
"shipping",
".",
"If",
"not",
"sent",
"this",
"value",
"will",
"be",
"automatically",
"calculated",
"using",
"the",
"product",
"quantity",
"and",
"price",
"fields",
"of",
"all",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L922-L926 |
16,354 | jpillora/go-ogle-analytics | type-client.go | Tax | func (h *Client) Tax(tax float64) *Client {
h.tax = tax
h.taxSet = true
return h
} | go | func (h *Client) Tax(tax float64) *Client {
h.tax = tax
h.taxSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"Tax",
"(",
"tax",
"float64",
")",
"*",
"Client",
"{",
"h",
".",
"tax",
"=",
"tax",
"\n",
"h",
".",
"taxSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The total tax associated with the transaction. This is an
// additional parameter that can be sent when Product Action
// is set to 'purchase' or 'refund'. For analytics.js the Enhanced
// Ecommerce plugin must be installed before using this field. | [
"The",
"total",
"tax",
"associated",
"with",
"the",
"transaction",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"purchase",
"or",
"refund",
".",
"For",
"analytics",
".",
"j... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L932-L936 |
16,355 | jpillora/go-ogle-analytics | type-client.go | Shipping | func (h *Client) Shipping(shipping float64) *Client {
h.shipping = shipping
h.shippingSet = true
return h
} | go | func (h *Client) Shipping(shipping float64) *Client {
h.shipping = shipping
h.shippingSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"Shipping",
"(",
"shipping",
"float64",
")",
"*",
"Client",
"{",
"h",
".",
"shipping",
"=",
"shipping",
"\n",
"h",
".",
"shippingSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The shipping cost associated with the transaction. This
// is an additional parameter that can be sent when Product
// Action is set to 'purchase' or 'refund'. For analytics.js
// the Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"shipping",
"cost",
"associated",
"with",
"the",
"transaction",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"purchase",
"or",
"refund",
".",
"For",
"analytics",
".",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L943-L947 |
16,356 | jpillora/go-ogle-analytics | type-client.go | CouponCode | func (h *Client) CouponCode(couponCode string) *Client {
h.couponCode = couponCode
h.couponCodeSet = true
return h
} | go | func (h *Client) CouponCode(couponCode string) *Client {
h.couponCode = couponCode
h.couponCodeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CouponCode",
"(",
"couponCode",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"couponCode",
"=",
"couponCode",
"\n",
"h",
".",
"couponCodeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The transaction coupon redeemed with the transaction. This
// is an additional parameter that can be sent when Product
// Action is set to 'purchase' or 'refund'. For analytics.js
// the Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"transaction",
"coupon",
"redeemed",
"with",
"the",
"transaction",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"purchase",
"or",
"refund",
".",
"For",
"analytics",
".... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L954-L958 |
16,357 | jpillora/go-ogle-analytics | type-client.go | ProductActionList | func (h *Client) ProductActionList(productActionList string) *Client {
h.productActionList = productActionList
h.productActionListSet = true
return h
} | go | func (h *Client) ProductActionList(productActionList string) *Client {
h.productActionList = productActionList
h.productActionListSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductActionList",
"(",
"productActionList",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productActionList",
"=",
"productActionList",
"\n",
"h",
".",
"productActionListSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"... | // The list or collection from which a product action occurred.
// This is an additional parameter that can be sent when Product
// Action is set to 'detail' or 'click'. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"list",
"or",
"collection",
"from",
"which",
"a",
"product",
"action",
"occurred",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"detail",
"or",
"click",
".",
"For",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L965-L969 |
16,358 | jpillora/go-ogle-analytics | type-client.go | CheckoutStep | func (h *Client) CheckoutStep(checkoutStep int64) *Client {
h.checkoutStep = checkoutStep
h.checkoutStepSet = true
return h
} | go | func (h *Client) CheckoutStep(checkoutStep int64) *Client {
h.checkoutStep = checkoutStep
h.checkoutStepSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CheckoutStep",
"(",
"checkoutStep",
"int64",
")",
"*",
"Client",
"{",
"h",
".",
"checkoutStep",
"=",
"checkoutStep",
"\n",
"h",
".",
"checkoutStepSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The step number in a checkout funnel. This is an additional
// parameter that can be sent when Product Action is set to
// 'checkout'. For analytics.js the Enhanced Ecommerce plugin
// must be installed before using this field. | [
"The",
"step",
"number",
"in",
"a",
"checkout",
"funnel",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"checkout",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L975-L979 |
16,359 | jpillora/go-ogle-analytics | type-client.go | CheckoutStepOption | func (h *Client) CheckoutStepOption(checkoutStepOption string) *Client {
h.checkoutStepOption = checkoutStepOption
h.checkoutStepOptionSet = true
return h
} | go | func (h *Client) CheckoutStepOption(checkoutStepOption string) *Client {
h.checkoutStepOption = checkoutStepOption
h.checkoutStepOptionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"CheckoutStepOption",
"(",
"checkoutStepOption",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"checkoutStepOption",
"=",
"checkoutStepOption",
"\n",
"h",
".",
"checkoutStepOptionSet",
"=",
"true",
"\n",
"return",
"h",
"\n"... | // Additional information about a checkout step. This is an
// additional parameter that can be sent when Product Action
// is set to 'checkout'. For analytics.js the Enhanced Ecommerce
// plugin must be installed before using this field. | [
"Additional",
"information",
"about",
"a",
"checkout",
"step",
".",
"This",
"is",
"an",
"additional",
"parameter",
"that",
"can",
"be",
"sent",
"when",
"Product",
"Action",
"is",
"set",
"to",
"checkout",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L985-L989 |
16,360 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionListName | func (h *Client) ProductImpressionListName(productImpressionListName string) *Client {
h.productImpressionListName = productImpressionListName
h.productImpressionListNameSet = true
return h
} | go | func (h *Client) ProductImpressionListName(productImpressionListName string) *Client {
h.productImpressionListName = productImpressionListName
h.productImpressionListNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionListName",
"(",
"productImpressionListName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionListName",
"=",
"productImpressionListName",
"\n",
"h",
".",
"productImpressionListNameSet",
"=",
"true"... | // The list or collection to which a product belongs. Impression
// List index must be a positive integer between 1 and 200,
// inclusive. For analytics.js the Enhanced Ecommerce plugin
// must be installed before using this field. | [
"The",
"list",
"or",
"collection",
"to",
"which",
"a",
"product",
"belongs",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ec... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L995-L999 |
16,361 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionSKU | func (h *Client) ProductImpressionSKU(productImpressionSKU string) *Client {
h.productImpressionSKU = productImpressionSKU
h.productImpressionSKUSet = true
return h
} | go | func (h *Client) ProductImpressionSKU(productImpressionSKU string) *Client {
h.productImpressionSKU = productImpressionSKU
h.productImpressionSKUSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionSKU",
"(",
"productImpressionSKU",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionSKU",
"=",
"productImpressionSKU",
"\n",
"h",
".",
"productImpressionSKUSet",
"=",
"true",
"\n",
"return",
"... | // The product ID or SKU. Impression List index must be a positive
// integer between 1 and 200, inclusive. Product index must
// be a positive integer between 1 and 200, inclusive. For
// analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"product",
"ID",
"or",
"SKU",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1006-L1010 |
16,362 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionName | func (h *Client) ProductImpressionName(productImpressionName string) *Client {
h.productImpressionName = productImpressionName
h.productImpressionNameSet = true
return h
} | go | func (h *Client) ProductImpressionName(productImpressionName string) *Client {
h.productImpressionName = productImpressionName
h.productImpressionNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionName",
"(",
"productImpressionName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionName",
"=",
"productImpressionName",
"\n",
"h",
".",
"productImpressionNameSet",
"=",
"true",
"\n",
"return"... | // The name of the product. Impression List index must be a
// positive integer between 1 and 200, inclusive. Product index
// must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"name",
"of",
"the",
"product",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1017-L1021 |
16,363 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionBrand | func (h *Client) ProductImpressionBrand(productImpressionBrand string) *Client {
h.productImpressionBrand = productImpressionBrand
h.productImpressionBrandSet = true
return h
} | go | func (h *Client) ProductImpressionBrand(productImpressionBrand string) *Client {
h.productImpressionBrand = productImpressionBrand
h.productImpressionBrandSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionBrand",
"(",
"productImpressionBrand",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionBrand",
"=",
"productImpressionBrand",
"\n",
"h",
".",
"productImpressionBrandSet",
"=",
"true",
"\n",
"re... | // The brand associated with the product. Impression List index
// must be a positive integer between 1 and 200, inclusive.
// Product index must be a positive integer between 1 and 200,
// inclusive. For analytics.js the Enhanced Ecommerce plugin
// must be installed before using this field. | [
"The",
"brand",
"associated",
"with",
"the",
"product",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1"... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1028-L1032 |
16,364 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionCategory | func (h *Client) ProductImpressionCategory(productImpressionCategory string) *Client {
h.productImpressionCategory = productImpressionCategory
h.productImpressionCategorySet = true
return h
} | go | func (h *Client) ProductImpressionCategory(productImpressionCategory string) *Client {
h.productImpressionCategory = productImpressionCategory
h.productImpressionCategorySet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionCategory",
"(",
"productImpressionCategory",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionCategory",
"=",
"productImpressionCategory",
"\n",
"h",
".",
"productImpressionCategorySet",
"=",
"true"... | // The category to which the product belongs. Impression List
// index must be a positive integer between 1 and 200, inclusive.
// Product index must be a positive integer between 1 and 200,
// inclusive. For analytics.js the Enhanced Ecommerce plugin
// must be installed before using this field. | [
"The",
"category",
"to",
"which",
"the",
"product",
"belongs",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"betwee... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1039-L1043 |
16,365 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionVariant | func (h *Client) ProductImpressionVariant(productImpressionVariant string) *Client {
h.productImpressionVariant = productImpressionVariant
h.productImpressionVariantSet = true
return h
} | go | func (h *Client) ProductImpressionVariant(productImpressionVariant string) *Client {
h.productImpressionVariant = productImpressionVariant
h.productImpressionVariantSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionVariant",
"(",
"productImpressionVariant",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionVariant",
"=",
"productImpressionVariant",
"\n",
"h",
".",
"productImpressionVariantSet",
"=",
"true",
"... | // The variant of the product. Impression List index must be
// a positive integer between 1 and 200, inclusive. Product
// index must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"variant",
"of",
"the",
"product",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"20... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1050-L1054 |
16,366 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionPosition | func (h *Client) ProductImpressionPosition(productImpressionPosition int64) *Client {
h.productImpressionPosition = productImpressionPosition
h.productImpressionPositionSet = true
return h
} | go | func (h *Client) ProductImpressionPosition(productImpressionPosition int64) *Client {
h.productImpressionPosition = productImpressionPosition
h.productImpressionPositionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionPosition",
"(",
"productImpressionPosition",
"int64",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionPosition",
"=",
"productImpressionPosition",
"\n",
"h",
".",
"productImpressionPositionSet",
"=",
"true",... | // The product's position in a list or collection. Impression
// List index must be a positive integer between 1 and 200,
// inclusive. Product index must be a positive integer between
// 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce
// plugin must be installed before using this field. | [
"The",
"product",
"s",
"position",
"in",
"a",
"list",
"or",
"collection",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"inte... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1061-L1065 |
16,367 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionPrice | func (h *Client) ProductImpressionPrice(productImpressionPrice float64) *Client {
h.productImpressionPrice = productImpressionPrice
h.productImpressionPriceSet = true
return h
} | go | func (h *Client) ProductImpressionPrice(productImpressionPrice float64) *Client {
h.productImpressionPrice = productImpressionPrice
h.productImpressionPriceSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionPrice",
"(",
"productImpressionPrice",
"float64",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionPrice",
"=",
"productImpressionPrice",
"\n",
"h",
".",
"productImpressionPriceSet",
"=",
"true",
"\n",
"r... | // The price of a product. Impression List index must be a
// positive integer between 1 and 200, inclusive. Product index
// must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"price",
"of",
"a",
"product",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Product",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1072-L1076 |
16,368 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionCustomDimension | func (h *Client) ProductImpressionCustomDimension(productImpressionCustomDimension string) *Client {
h.productImpressionCustomDimension = productImpressionCustomDimension
h.productImpressionCustomDimensionSet = true
return h
} | go | func (h *Client) ProductImpressionCustomDimension(productImpressionCustomDimension string) *Client {
h.productImpressionCustomDimension = productImpressionCustomDimension
h.productImpressionCustomDimensionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionCustomDimension",
"(",
"productImpressionCustomDimension",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionCustomDimension",
"=",
"productImpressionCustomDimension",
"\n",
"h",
".",
"productImpressionC... | // A product-level custom dimension where dimension index is
// a positive integer between 1 and 200, inclusive. Impression
// List index must be a positive integer between 1 and 200,
// inclusive. Product index must be a positive integer between
// 1 and 200, inclusive. For analytics.js the Enhanced Ecommerce
// plugin must be installed before using this field. | [
"A",
"product",
"-",
"level",
"custom",
"dimension",
"where",
"dimension",
"index",
"is",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"an... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1084-L1088 |
16,369 | jpillora/go-ogle-analytics | type-client.go | ProductImpressionCustomMetric | func (h *Client) ProductImpressionCustomMetric(productImpressionCustomMetric int64) *Client {
h.productImpressionCustomMetric = productImpressionCustomMetric
h.productImpressionCustomMetricSet = true
return h
} | go | func (h *Client) ProductImpressionCustomMetric(productImpressionCustomMetric int64) *Client {
h.productImpressionCustomMetric = productImpressionCustomMetric
h.productImpressionCustomMetricSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductImpressionCustomMetric",
"(",
"productImpressionCustomMetric",
"int64",
")",
"*",
"Client",
"{",
"h",
".",
"productImpressionCustomMetric",
"=",
"productImpressionCustomMetric",
"\n",
"h",
".",
"productImpressionCustomMetricSe... | // A product-level custom metric where metric index is a positive
// integer between 1 and 200, inclusive. Impression List index
// must be a positive integer between 1 and 200, inclusive.
// Product index must be a positive integer between 1 and 200,
// inclusive. For analytics.js the Enhanced Ecommerce plugin
// must be installed before using this field. | [
"A",
"product",
"-",
"level",
"custom",
"metric",
"where",
"metric",
"index",
"is",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"Impression",
"List",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1096-L1100 |
16,370 | jpillora/go-ogle-analytics | type-client.go | PromotionID | func (h *Client) PromotionID(promotionID string) *Client {
h.promotionID = promotionID
h.promotionIDSet = true
return h
} | go | func (h *Client) PromotionID(promotionID string) *Client {
h.promotionID = promotionID
h.promotionIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"PromotionID",
"(",
"promotionID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"promotionID",
"=",
"promotionID",
"\n",
"h",
".",
"promotionIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The promotion ID. Promotion index must be a positive integer
// between 1 and 200, inclusive. For analytics.js the Enhanced
// Ecommerce plugin must be installed before using this field. | [
"The",
"promotion",
"ID",
".",
"Promotion",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
"before",
"usin... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1105-L1109 |
16,371 | jpillora/go-ogle-analytics | type-client.go | PromotionName | func (h *Client) PromotionName(promotionName string) *Client {
h.promotionName = promotionName
h.promotionNameSet = true
return h
} | go | func (h *Client) PromotionName(promotionName string) *Client {
h.promotionName = promotionName
h.promotionNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"PromotionName",
"(",
"promotionName",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"promotionName",
"=",
"promotionName",
"\n",
"h",
".",
"promotionNameSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // The name of the promotion. Promotion index must be a positive
// integer between 1 and 200, inclusive. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"name",
"of",
"the",
"promotion",
".",
"Promotion",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1115-L1119 |
16,372 | jpillora/go-ogle-analytics | type-client.go | PromotionCreative | func (h *Client) PromotionCreative(promotionCreative string) *Client {
h.promotionCreative = promotionCreative
h.promotionCreativeSet = true
return h
} | go | func (h *Client) PromotionCreative(promotionCreative string) *Client {
h.promotionCreative = promotionCreative
h.promotionCreativeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"PromotionCreative",
"(",
"promotionCreative",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"promotionCreative",
"=",
"promotionCreative",
"\n",
"h",
".",
"promotionCreativeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"... | // The creative associated with the promotion. Promotion index
// must be a positive integer between 1 and 200, inclusive.
// For analytics.js the Enhanced Ecommerce plugin must be installed
// before using this field. | [
"The",
"creative",
"associated",
"with",
"the",
"promotion",
".",
"Promotion",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1125-L1129 |
16,373 | jpillora/go-ogle-analytics | type-client.go | PromotionPosition | func (h *Client) PromotionPosition(promotionPosition string) *Client {
h.promotionPosition = promotionPosition
h.promotionPositionSet = true
return h
} | go | func (h *Client) PromotionPosition(promotionPosition string) *Client {
h.promotionPosition = promotionPosition
h.promotionPositionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"PromotionPosition",
"(",
"promotionPosition",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"promotionPosition",
"=",
"promotionPosition",
"\n",
"h",
".",
"promotionPositionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"... | // The position of the creative. Promotion index must be a
// positive integer between 1 and 200, inclusive. For analytics.js
// the Enhanced Ecommerce plugin must be installed before using
// this field. | [
"The",
"position",
"of",
"the",
"creative",
".",
"Promotion",
"index",
"must",
"be",
"a",
"positive",
"integer",
"between",
"1",
"and",
"200",
"inclusive",
".",
"For",
"analytics",
".",
"js",
"the",
"Enhanced",
"Ecommerce",
"plugin",
"must",
"be",
"installed... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1135-L1139 |
16,374 | jpillora/go-ogle-analytics | type-client.go | PromotionAction | func (h *Client) PromotionAction(promotionAction string) *Client {
h.promotionAction = promotionAction
h.promotionActionSet = true
return h
} | go | func (h *Client) PromotionAction(promotionAction string) *Client {
h.promotionAction = promotionAction
h.promotionActionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"PromotionAction",
"(",
"promotionAction",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"promotionAction",
"=",
"promotionAction",
"\n",
"h",
".",
"promotionActionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the role of the promotions included in a hit.
// If a promotion action is not specified, the default promotion
// action, 'view', is assumed. To measure a user click on a
// promotion set this to 'promo_click'. For analytics.js the
// Enhanced Ecommerce plugin must be installed before using
// this field. | [
"Specifies",
"the",
"role",
"of",
"the",
"promotions",
"included",
"in",
"a",
"hit",
".",
"If",
"a",
"promotion",
"action",
"is",
"not",
"specified",
"the",
"default",
"promotion",
"action",
"view",
"is",
"assumed",
".",
"To",
"measure",
"a",
"user",
"clic... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1147-L1151 |
16,375 | jpillora/go-ogle-analytics | type-client.go | ExperimentID | func (h *Client) ExperimentID(experimentID string) *Client {
h.experimentID = experimentID
h.experimentIDSet = true
return h
} | go | func (h *Client) ExperimentID(experimentID string) *Client {
h.experimentID = experimentID
h.experimentIDSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ExperimentID",
"(",
"experimentID",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"experimentID",
"=",
"experimentID",
"\n",
"h",
".",
"experimentIDSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // This parameter specifies that this user has been exposed
// to an experiment with the given ID. It should be sent in
// conjunction with the Experiment Variant parameter. | [
"This",
"parameter",
"specifies",
"that",
"this",
"user",
"has",
"been",
"exposed",
"to",
"an",
"experiment",
"with",
"the",
"given",
"ID",
".",
"It",
"should",
"be",
"sent",
"in",
"conjunction",
"with",
"the",
"Experiment",
"Variant",
"parameter",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1175-L1179 |
16,376 | jpillora/go-ogle-analytics | type-client.go | ExperimentVariant | func (h *Client) ExperimentVariant(experimentVariant string) *Client {
h.experimentVariant = experimentVariant
h.experimentVariantSet = true
return h
} | go | func (h *Client) ExperimentVariant(experimentVariant string) *Client {
h.experimentVariant = experimentVariant
h.experimentVariantSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ExperimentVariant",
"(",
"experimentVariant",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"experimentVariant",
"=",
"experimentVariant",
"\n",
"h",
".",
"experimentVariantSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"... | // This parameter specifies that this user has been exposed
// to a particular variation of an experiment. It should be
// sent in conjunction with the Experiment ID parameter. | [
"This",
"parameter",
"specifies",
"that",
"this",
"user",
"has",
"been",
"exposed",
"to",
"a",
"particular",
"variation",
"of",
"an",
"experiment",
".",
"It",
"should",
"be",
"sent",
"in",
"conjunction",
"with",
"the",
"Experiment",
"ID",
"parameter",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1184-L1188 |
16,377 | jpillora/go-ogle-analytics | type-client.go | DimensionIndex | func (h *Client) DimensionIndex(dimensionIndex string) *Client {
h.dimensionIndex = dimensionIndex
h.dimensionIndexSet = true
return h
} | go | func (h *Client) DimensionIndex(dimensionIndex string) *Client {
h.dimensionIndex = dimensionIndex
h.dimensionIndexSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"DimensionIndex",
"(",
"dimensionIndex",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"dimensionIndex",
"=",
"dimensionIndex",
"\n",
"h",
".",
"dimensionIndexSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // DimensionIndex is required by other properties | [
"DimensionIndex",
"is",
"required",
"by",
"other",
"properties"
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1191-L1195 |
16,378 | jpillora/go-ogle-analytics | type-client.go | ListIndex | func (h *Client) ListIndex(listIndex string) *Client {
h.listIndex = listIndex
h.listIndexSet = true
return h
} | go | func (h *Client) ListIndex(listIndex string) *Client {
h.listIndex = listIndex
h.listIndexSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ListIndex",
"(",
"listIndex",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"listIndex",
"=",
"listIndex",
"\n",
"h",
".",
"listIndexSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // ListIndex is required by other properties | [
"ListIndex",
"is",
"required",
"by",
"other",
"properties"
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1198-L1202 |
16,379 | jpillora/go-ogle-analytics | type-client.go | MetricIndex | func (h *Client) MetricIndex(metricIndex string) *Client {
h.metricIndex = metricIndex
h.metricIndexSet = true
return h
} | go | func (h *Client) MetricIndex(metricIndex string) *Client {
h.metricIndex = metricIndex
h.metricIndexSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"MetricIndex",
"(",
"metricIndex",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"metricIndex",
"=",
"metricIndex",
"\n",
"h",
".",
"metricIndexSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // MetricIndex is required by other properties | [
"MetricIndex",
"is",
"required",
"by",
"other",
"properties"
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1205-L1209 |
16,380 | jpillora/go-ogle-analytics | type-client.go | ProductIndex | func (h *Client) ProductIndex(productIndex string) *Client {
h.productIndex = productIndex
h.productIndexSet = true
return h
} | go | func (h *Client) ProductIndex(productIndex string) *Client {
h.productIndex = productIndex
h.productIndexSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"ProductIndex",
"(",
"productIndex",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"productIndex",
"=",
"productIndex",
"\n",
"h",
".",
"productIndexSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // ProductIndex is required by other properties | [
"ProductIndex",
"is",
"required",
"by",
"other",
"properties"
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1212-L1216 |
16,381 | jpillora/go-ogle-analytics | type-client.go | PromoIndex | func (h *Client) PromoIndex(promoIndex string) *Client {
h.promoIndex = promoIndex
h.promoIndexSet = true
return h
} | go | func (h *Client) PromoIndex(promoIndex string) *Client {
h.promoIndex = promoIndex
h.promoIndexSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Client",
")",
"PromoIndex",
"(",
"promoIndex",
"string",
")",
"*",
"Client",
"{",
"h",
".",
"promoIndex",
"=",
"promoIndex",
"\n",
"h",
".",
"promoIndexSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // PromoIndex is required by other properties | [
"PromoIndex",
"is",
"required",
"by",
"other",
"properties"
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-client.go#L1219-L1223 |
16,382 | jpillora/go-ogle-analytics | type-exception.go | Description | func (h *Exception) Description(description string) *Exception {
h.description = description
h.descriptionSet = true
return h
} | go | func (h *Exception) Description(description string) *Exception {
h.description = description
h.descriptionSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Exception",
")",
"Description",
"(",
"description",
"string",
")",
"*",
"Exception",
"{",
"h",
".",
"description",
"=",
"description",
"\n",
"h",
".",
"descriptionSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the description of an exception. | [
"Specifies",
"the",
"description",
"of",
"an",
"exception",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-exception.go#L33-L37 |
16,383 | jpillora/go-ogle-analytics | type-exception.go | IsExceptionFatal | func (h *Exception) IsExceptionFatal(isExceptionFatal bool) *Exception {
h.isExceptionFatal = isExceptionFatal
h.isExceptionFatalSet = true
return h
} | go | func (h *Exception) IsExceptionFatal(isExceptionFatal bool) *Exception {
h.isExceptionFatal = isExceptionFatal
h.isExceptionFatalSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Exception",
")",
"IsExceptionFatal",
"(",
"isExceptionFatal",
"bool",
")",
"*",
"Exception",
"{",
"h",
".",
"isExceptionFatal",
"=",
"isExceptionFatal",
"\n",
"h",
".",
"isExceptionFatalSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}... | // Specifies whether the exception was fatal. | [
"Specifies",
"whether",
"the",
"exception",
"was",
"fatal",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-exception.go#L40-L44 |
16,384 | jpillora/go-ogle-analytics | type-social.go | NewSocial | func NewSocial(network string, action string, actionTarget string) *Social {
h := &Social{
network: network,
action: action,
actionTarget: actionTarget,
}
return h
} | go | func NewSocial(network string, action string, actionTarget string) *Social {
h := &Social{
network: network,
action: action,
actionTarget: actionTarget,
}
return h
} | [
"func",
"NewSocial",
"(",
"network",
"string",
",",
"action",
"string",
",",
"actionTarget",
"string",
")",
"*",
"Social",
"{",
"h",
":=",
"&",
"Social",
"{",
"network",
":",
"network",
",",
"action",
":",
"action",
",",
"actionTarget",
":",
"actionTarget"... | // NewSocial creates a new Social Hit Type.
// Specifies the social network, for example Facebook or Google
// Plus.
// Specifies the social interaction action. For example on
// Google Plus when a user clicks the +1 button, the social
// action is 'plus'.
// Specifies the target of a social interaction. This value
// is typically a URL but can be any text. | [
"NewSocial",
"creates",
"a",
"new",
"Social",
"Hit",
"Type",
".",
"Specifies",
"the",
"social",
"network",
"for",
"example",
"Facebook",
"or",
"Google",
"Plus",
".",
"Specifies",
"the",
"social",
"interaction",
"action",
".",
"For",
"example",
"on",
"Google",
... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-social.go#L22-L29 |
16,385 | jpillora/go-ogle-analytics | type-item.go | NewItem | func NewItem(iD string, name string) *Item {
h := &Item{
iD: iD,
name: name,
}
return h
} | go | func NewItem(iD string, name string) *Item {
h := &Item{
iD: iD,
name: name,
}
return h
} | [
"func",
"NewItem",
"(",
"iD",
"string",
",",
"name",
"string",
")",
"*",
"Item",
"{",
"h",
":=",
"&",
"Item",
"{",
"iD",
":",
"iD",
",",
"name",
":",
"name",
",",
"}",
"\n",
"return",
"h",
"\n",
"}"
] | // NewItem creates a new Item Hit Type.
// A unique identifier for the transaction. This value should
// be the same for both the Transaction hit and Items hits
// associated to the particular transaction.
// Specifies the item name. | [
"NewItem",
"creates",
"a",
"new",
"Item",
"Hit",
"Type",
".",
"A",
"unique",
"identifier",
"for",
"the",
"transaction",
".",
"This",
"value",
"should",
"be",
"the",
"same",
"for",
"both",
"the",
"Transaction",
"hit",
"and",
"Items",
"hits",
"associated",
"... | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-item.go#L29-L35 |
16,386 | jpillora/go-ogle-analytics | type-item.go | Quantity | func (h *Item) Quantity(quantity int64) *Item {
h.quantity = quantity
h.quantitySet = true
return h
} | go | func (h *Item) Quantity(quantity int64) *Item {
h.quantity = quantity
h.quantitySet = true
return h
} | [
"func",
"(",
"h",
"*",
"Item",
")",
"Quantity",
"(",
"quantity",
"int64",
")",
"*",
"Item",
"{",
"h",
".",
"quantity",
"=",
"quantity",
"\n",
"h",
".",
"quantitySet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the number of items purchased. | [
"Specifies",
"the",
"number",
"of",
"items",
"purchased",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-item.go#L66-L70 |
16,387 | jpillora/go-ogle-analytics | type-item.go | Code | func (h *Item) Code(code string) *Item {
h.code = code
h.codeSet = true
return h
} | go | func (h *Item) Code(code string) *Item {
h.code = code
h.codeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Item",
")",
"Code",
"(",
"code",
"string",
")",
"*",
"Item",
"{",
"h",
".",
"code",
"=",
"code",
"\n",
"h",
".",
"codeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the SKU or item code. | [
"Specifies",
"the",
"SKU",
"or",
"item",
"code",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-item.go#L73-L77 |
16,388 | jpillora/go-ogle-analytics | type-item.go | Category | func (h *Item) Category(category string) *Item {
h.category = category
h.categorySet = true
return h
} | go | func (h *Item) Category(category string) *Item {
h.category = category
h.categorySet = true
return h
} | [
"func",
"(",
"h",
"*",
"Item",
")",
"Category",
"(",
"category",
"string",
")",
"*",
"Item",
"{",
"h",
".",
"category",
"=",
"category",
"\n",
"h",
".",
"categorySet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the category that the item belongs to. | [
"Specifies",
"the",
"category",
"that",
"the",
"item",
"belongs",
"to",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-item.go#L80-L84 |
16,389 | jpillora/go-ogle-analytics | type-event.go | NewEvent | func NewEvent(category string, action string) *Event {
h := &Event{
category: category,
action: action,
}
return h
} | go | func NewEvent(category string, action string) *Event {
h := &Event{
category: category,
action: action,
}
return h
} | [
"func",
"NewEvent",
"(",
"category",
"string",
",",
"action",
"string",
")",
"*",
"Event",
"{",
"h",
":=",
"&",
"Event",
"{",
"category",
":",
"category",
",",
"action",
":",
"action",
",",
"}",
"\n",
"return",
"h",
"\n",
"}"
] | // NewEvent creates a new Event Hit Type.
// Specifies the event category.
// Specifies the event action. | [
"NewEvent",
"creates",
"a",
"new",
"Event",
"Hit",
"Type",
".",
"Specifies",
"the",
"event",
"category",
".",
"Specifies",
"the",
"event",
"action",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-event.go#L21-L27 |
16,390 | jpillora/go-ogle-analytics | type-event.go | Label | func (h *Event) Label(label string) *Event {
h.label = label
h.labelSet = true
return h
} | go | func (h *Event) Label(label string) *Event {
h.label = label
h.labelSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Event",
")",
"Label",
"(",
"label",
"string",
")",
"*",
"Event",
"{",
"h",
".",
"label",
"=",
"label",
"\n",
"h",
".",
"labelSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the event label. | [
"Specifies",
"the",
"event",
"label",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-event.go#L42-L46 |
16,391 | jpillora/go-ogle-analytics | type-event.go | Value | func (h *Event) Value(value int64) *Event {
h.value = value
h.valueSet = true
return h
} | go | func (h *Event) Value(value int64) *Event {
h.value = value
h.valueSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Event",
")",
"Value",
"(",
"value",
"int64",
")",
"*",
"Event",
"{",
"h",
".",
"value",
"=",
"value",
"\n",
"h",
".",
"valueSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the event value. Values must be non-negative. | [
"Specifies",
"the",
"event",
"value",
".",
"Values",
"must",
"be",
"non",
"-",
"negative",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-event.go#L49-L53 |
16,392 | jpillora/go-ogle-analytics | type-timing.go | UserTimingCategory | func (h *Timing) UserTimingCategory(userTimingCategory string) *Timing {
h.userTimingCategory = userTimingCategory
h.userTimingCategorySet = true
return h
} | go | func (h *Timing) UserTimingCategory(userTimingCategory string) *Timing {
h.userTimingCategory = userTimingCategory
h.userTimingCategorySet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"UserTimingCategory",
"(",
"userTimingCategory",
"string",
")",
"*",
"Timing",
"{",
"h",
".",
"userTimingCategory",
"=",
"userTimingCategory",
"\n",
"h",
".",
"userTimingCategorySet",
"=",
"true",
"\n",
"return",
"h",
"\n"... | // Specifies the user timing category. | [
"Specifies",
"the",
"user",
"timing",
"category",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L83-L87 |
16,393 | jpillora/go-ogle-analytics | type-timing.go | UserTimingVariableName | func (h *Timing) UserTimingVariableName(userTimingVariableName string) *Timing {
h.userTimingVariableName = userTimingVariableName
h.userTimingVariableNameSet = true
return h
} | go | func (h *Timing) UserTimingVariableName(userTimingVariableName string) *Timing {
h.userTimingVariableName = userTimingVariableName
h.userTimingVariableNameSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"UserTimingVariableName",
"(",
"userTimingVariableName",
"string",
")",
"*",
"Timing",
"{",
"h",
".",
"userTimingVariableName",
"=",
"userTimingVariableName",
"\n",
"h",
".",
"userTimingVariableNameSet",
"=",
"true",
"\n",
"re... | // Specifies the user timing variable. | [
"Specifies",
"the",
"user",
"timing",
"variable",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L90-L94 |
16,394 | jpillora/go-ogle-analytics | type-timing.go | UserTimingTime | func (h *Timing) UserTimingTime(userTimingTime int64) *Timing {
h.userTimingTime = userTimingTime
h.userTimingTimeSet = true
return h
} | go | func (h *Timing) UserTimingTime(userTimingTime int64) *Timing {
h.userTimingTime = userTimingTime
h.userTimingTimeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"UserTimingTime",
"(",
"userTimingTime",
"int64",
")",
"*",
"Timing",
"{",
"h",
".",
"userTimingTime",
"=",
"userTimingTime",
"\n",
"h",
".",
"userTimingTimeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the user timing value. The value is in milliseconds. | [
"Specifies",
"the",
"user",
"timing",
"value",
".",
"The",
"value",
"is",
"in",
"milliseconds",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L97-L101 |
16,395 | jpillora/go-ogle-analytics | type-timing.go | UserTimingLabel | func (h *Timing) UserTimingLabel(userTimingLabel string) *Timing {
h.userTimingLabel = userTimingLabel
h.userTimingLabelSet = true
return h
} | go | func (h *Timing) UserTimingLabel(userTimingLabel string) *Timing {
h.userTimingLabel = userTimingLabel
h.userTimingLabelSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"UserTimingLabel",
"(",
"userTimingLabel",
"string",
")",
"*",
"Timing",
"{",
"h",
".",
"userTimingLabel",
"=",
"userTimingLabel",
"\n",
"h",
".",
"userTimingLabelSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the user timing label. | [
"Specifies",
"the",
"user",
"timing",
"label",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L104-L108 |
16,396 | jpillora/go-ogle-analytics | type-timing.go | PageLoadTime | func (h *Timing) PageLoadTime(pageLoadTime int64) *Timing {
h.pageLoadTime = pageLoadTime
h.pageLoadTimeSet = true
return h
} | go | func (h *Timing) PageLoadTime(pageLoadTime int64) *Timing {
h.pageLoadTime = pageLoadTime
h.pageLoadTimeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"PageLoadTime",
"(",
"pageLoadTime",
"int64",
")",
"*",
"Timing",
"{",
"h",
".",
"pageLoadTime",
"=",
"pageLoadTime",
"\n",
"h",
".",
"pageLoadTimeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the time it took for a page to load. The value
// is in milliseconds. | [
"Specifies",
"the",
"time",
"it",
"took",
"for",
"a",
"page",
"to",
"load",
".",
"The",
"value",
"is",
"in",
"milliseconds",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L112-L116 |
16,397 | jpillora/go-ogle-analytics | type-timing.go | DNSTime | func (h *Timing) DNSTime(dNSTime int64) *Timing {
h.dNSTime = dNSTime
h.dNSTimeSet = true
return h
} | go | func (h *Timing) DNSTime(dNSTime int64) *Timing {
h.dNSTime = dNSTime
h.dNSTimeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"DNSTime",
"(",
"dNSTime",
"int64",
")",
"*",
"Timing",
"{",
"h",
".",
"dNSTime",
"=",
"dNSTime",
"\n",
"h",
".",
"dNSTimeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the time it took to do a DNS lookup.The value
// is in milliseconds. | [
"Specifies",
"the",
"time",
"it",
"took",
"to",
"do",
"a",
"DNS",
"lookup",
".",
"The",
"value",
"is",
"in",
"milliseconds",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L120-L124 |
16,398 | jpillora/go-ogle-analytics | type-timing.go | PageDownloadTime | func (h *Timing) PageDownloadTime(pageDownloadTime int64) *Timing {
h.pageDownloadTime = pageDownloadTime
h.pageDownloadTimeSet = true
return h
} | go | func (h *Timing) PageDownloadTime(pageDownloadTime int64) *Timing {
h.pageDownloadTime = pageDownloadTime
h.pageDownloadTimeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"PageDownloadTime",
"(",
"pageDownloadTime",
"int64",
")",
"*",
"Timing",
"{",
"h",
".",
"pageDownloadTime",
"=",
"pageDownloadTime",
"\n",
"h",
".",
"pageDownloadTimeSet",
"=",
"true",
"\n",
"return",
"h",
"\n",
"}"
] | // Specifies the time it took for the page to be downloaded.
// The value is in milliseconds. | [
"Specifies",
"the",
"time",
"it",
"took",
"for",
"the",
"page",
"to",
"be",
"downloaded",
".",
"The",
"value",
"is",
"in",
"milliseconds",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L128-L132 |
16,399 | jpillora/go-ogle-analytics | type-timing.go | RedirectResponseTime | func (h *Timing) RedirectResponseTime(redirectResponseTime int64) *Timing {
h.redirectResponseTime = redirectResponseTime
h.redirectResponseTimeSet = true
return h
} | go | func (h *Timing) RedirectResponseTime(redirectResponseTime int64) *Timing {
h.redirectResponseTime = redirectResponseTime
h.redirectResponseTimeSet = true
return h
} | [
"func",
"(",
"h",
"*",
"Timing",
")",
"RedirectResponseTime",
"(",
"redirectResponseTime",
"int64",
")",
"*",
"Timing",
"{",
"h",
".",
"redirectResponseTime",
"=",
"redirectResponseTime",
"\n",
"h",
".",
"redirectResponseTimeSet",
"=",
"true",
"\n",
"return",
"h... | // Specifies the time it took for any redirects to happen.
// The value is in milliseconds. | [
"Specifies",
"the",
"time",
"it",
"took",
"for",
"any",
"redirects",
"to",
"happen",
".",
"The",
"value",
"is",
"in",
"milliseconds",
"."
] | 14b04e0594ef6a9fd943363b135656f0ec8c9d0e | https://github.com/jpillora/go-ogle-analytics/blob/14b04e0594ef6a9fd943363b135656f0ec8c9d0e/type-timing.go#L136-L140 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.