track

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLICK_FIELDS_MAP = map[string]string{
	"req_id":      "$req$",
	"ad_id":       "$ad$",
	"ad_name":     "$an$",
	"os":          "$os$",
	"os_version":  "$ov$",
	"model":       "$m$",
	"lang":        "$lan$",
	"country":     "$c$",
	"width":       "$w$",
	"height":      "$h$",
	"pkg":         "$pkg$",
	"app_version": "$av$",
	"useragent":   "$ua$",
	"referer":     "$rf$",
	"net_type":    "$nt$",
	"carrier":     "$ca$",
	"progress":    "$progress$",
	"imei":        "$im$",
	"oaid":        "__OAID__",
}
View Source
var DEFAULT_CLICK_FIELDS = []string{
	"req_id",
	"ad_id",
	"ad_name",
	"os",
	"os_version",
	"model",
	"lang",
	"country",
	"width",
	"height",
	"pkg",
	"app_version",
	"useragent",
	"referer",
	"net_type",
	"carrier",
	"progress",
	"imei",
	"oaid",
}

Functions

func ClickUrl

func ClickUrl(baseUrl string, fields []string) string

点击检测链接

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL