track

package
v1.27.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 5 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",
	"caid",
	"mac",
	"mac1",
	"ip",
	"ua",
	"geo",
	"ts",
	"track_id",
	"callback",
	"callback_url",
	"model",
	"union_site",
}

DEFAULT_CLICK_FIELDS 默认点击检测字段

Functions

func Active

func Active(ctx context.Context, clt *core.SDKClient, req *track.ActiveRequest) (int, 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(ctx context.Context, clt *core.SDKClient, req *track.WxaActiveRequest) error

WxaActive 微信小程序转化回传

Types

This section is empty.

Jump to

Keyboard shortcuts

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