track

package
v1.21.6 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 4 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",
	"caid1",
	"caid2",
}

DEFAULT_CLICK_FIELDS 默认点击检测字段

Functions

func Active

func Active(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(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