track

package
v1.15.8 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 17 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",
	"promotion_id",
	"advertiser_id",
	"cid",
	"campaign_id",
	"project_id",
	"ctype",
	"csite",
	"imei",
	"idfa",
	"android_id",
	"oaid",
	"os",
	"mac",
	"mac1",
	"ip",
	"ua",
	"geo",
	"ts",
	"track_id",
	"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, adVersion model.AdVersion) string

Click 生成击检测链接

func WxaActive added in v1.10.0

func WxaActive(gw string, token string, req *track.WxaActiveRequest, debug bool) error

WxaActive 微信小程序转化回传 gw 回传url token 密钥 req 回传payload

Types

This section is empty.

Jump to

Keyboard shortcuts

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