track

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package track 线索数据上报相关API

Index

Constants

This section is empty.

Variables

View Source
var DEFAULT_CLICK_FIELDS = []string{
	"request_id",
	"aid",
	"advertiser_id",
	"cid",
	"campaign_id",
	"ctype",
	"csite",
	"imei",
	"idfa",
	"android_id",
	"oaid",
	"os",
	"mac",
	"mac1",
	"ip",
	"ua",
	"geo",
	"ts",
	"callback",
	"callback_url",
	"model",
	"union_site",
	"caid1",
}

DEFAULT_CLICK_FIELDS 默认点击检测字段

Functions

func Active

func Active(req *track.ActiveRequest) (string, error)

Active API上报数据(new)

func Click

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

Click 生成击检测链接

Types

This section is empty.

Jump to

Keyboard shortcuts

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