AdvertCN - 广告中国

 找回密码
 立即注册

QQ登录

只需一步,快速开始

 谷歌+Bing+TT+MSN官方代理 
⚡️按条S5代理⚡️静态⚡️独享⚡️5G⚡️最干净<Wifi住宅+5G移动>IP代理泰国仓储,本土仓发货2-3元/单
指纹浏览器,就用AdsPower谷歌/FB/Bing/Yahoo代理商开户7200W全球动态不重复住宅IP代理全球优质流量,选TrafficStars
出售Facebook,友缘号,FB广告号,insFB/TT/KW 加白开户ADPLEXITY + ADVERTCN比Adplexity还好用的Spy工具
广
FB/Google/TK海外多媒体极速下户
BINOM TRACKER 60% OFF!MediaGo+Taboola+Ob开户百度国际MediaGo⚡️让产品狂奔全球百度国际,高点击转化,快速放量
百度国际MediaGo,独家原生流量虚拟信用卡+独立站收款行业首创新型指纹Cloak, 谷歌奇效!Kookeey⚡️100%独享⚡️原生住宅IP
⚡IPFoxy住宅代理全场88折⚡全球虚拟卡, 支持U充值免账户投放 FB 广告(送项目)2024做什么 - Media buy 项目库
免费黑五教程(持续更新、欢迎交流)Facebook 批量上广告Bridgeway - 联盟营销网络IPCola 全新住宅代理 ⚡️ 免费试用
各种主页、账单户、BM户(优势)⚡️个人户,bm户不限额,账单户Adsterra 的CPA/CPM/CPC 网站流量在线注册美国/英国/香港等海外公司
EU KETO/CBD - JumbleberryFB二三解1元/个9Proxy ⚡️ $0.04/IP, 无限带宽 cloak斗篷/ss/nutra/cpa/Dating
E.PN 虚拟卡Asocks代理服务器$3/GB高薪诚求实力FB投手(独立站)《全新虚拟卡+全球收付款》
广告位出租全球低价纯净住宅/移动IP-免费试用广告代投, 东南亚物流, 虚拟信用卡VMLogin指纹浏览器+多账号防关联
查看: 1593|回复: 1

Sending TikTok event data with Events API

[复制链接]

26

主题

157

广告币

258

积分

版主

Rank: 7Rank: 7Rank: 7

积分
258
发表于 2022-6-17 18:29:09 | 显示全部楼层 |阅读模式
adsterra
Imagine, that you have a cool offer for a TikTok campaign but the advertiser does not support the TikTok tracking pixel. It’s not ideal. In this case, you can use Events API. I have been searching for decent articles covering this topic but in vain. So I’m here to break this matter down and walk you through it.

What is TikTok Events API?
The TikTok Events API is a server-to-server integration that allows you to send events from your website or app directly to TikTok. It works similarly to the TikTok pixel. You can use TikTok Events API to send conversion events, collect custom audiences, dynamic product ads, and campaigns optimization.

The main advantages of the TikTok Event API

1.Accurate event tracking. Thanks to server-to-server tracking, you can collect more events. TikTok Events API is not hindered by ad blockers and other data masking solutions. This means that you will have the most accurate conversion tracking in your campaigns.

2.The best quality of the custom audiences. Since there is no way to stop the event tracking, you will have the real picture of your custom audiences.
Data security. Thanks to server-to-server tracking, the users’ data remains secure.

3.Privacy. Keep your marketing ideas to yourself with the rapidly changing privacy requirements that give you control over the kinds and amount of data you send.
Extended data. You can provide TikTok with extra data, for example, from your CRM system. Use this opportunity for making even better custom audiences.

How does the TikTok Event API work?TikTok Events API operates similar to Facebook API. TikTok uses Click ID and user data to attribute events to TikTok users. The more user data you send to TikTok, the better it matches events with users. TikTok Events API has the same capabilities as browser events. It can be used to create audiences, measure conversions, and optimize TikTok algorithms.

Every time someone clicks on a TikTok ad, a click ID (ttclid) is added to the URL. This is a unique identifier that is valid for 7 days. You can save the TikTok click ID (ttclid) and pass it back via the TikTok Event API, and thus attribute the events to your campaigns.

You can send more data to make the event attribution more accurate. For example, external_id, phone_number, email, IP, and User Agent of the user who performed the target action. Since you often don’t have access to some data, you can use my set-up for sending click ID, IP, and User Agent. If you have access to other types of user data, I recommend hiring a developer for a more detailed set-up.
Check out the official TikTok documents here: https://ads.tiktok.com/marketing_api...01890979375106.

TikTok set-up process
Open Events Manager and go to Web Events. Click Set Up Web Events and select the Events API.


Click Next and enter a name for the pixel. Select Manually Set Up Events API and click Setup.

Skip the next screen and hit Next


Now, click Generate Access Token and save the token. If you can’t find the TikTok pixel ID, it is highlighted in red at the top of the screenshot.


Binom set-up process

In Binom, create a TikTok traffic source

You should always enter the {pixel} and {ad} tokens manually in the campaign URL. As far as I know, TikTok does not support dynamic parameters other than ttclid (click ID). Here you can access more information about ttclid. Ttclid should always be at the end of the campaign URL.


Now download this file and change the Access-Token to your own. The script is set for the CompleteRegistration event. If you need a different event, make the necessary changes to the script.


Upload the file to the tracker server, for example to a LANDERS folder. I recommend creating an additional folder for such files within the LANDERS folder. In my case, it will be a folder named “tt”.

Create a new ad campaign for TikTok in Binom. Insert this link into the S2S Postback field

https://your_domain.com/landers/tt/ttapi.php?pixel_code={t1}&callback={t3}&ip={ip}&us er_agent={user_agent}&currency={cnv_currency}&valu e={payout}

and don’t forget to add the file that you have just uploaded to the server as a destination. Instead of {cnv_currency}, I recommend adding one of the TikTok currencies manually:
[“AED”, “ARS”, “AUD”, “BDT”, “BIF”, “BOB”, “BRL”, “CAD”, “CHF”, “CLP”, “CNY”, “COP”, “CRC”, “CZK”, “DKK”, “DZD”, “EGP”, “EUR”, “GBP”, “GTQ”, “HKD”, “HNL”, “HUF”, “IDR”, “ILS”, “INR”, “ISK”, “JPY”, “KES”, “KRW”, “KWD”, “KZT”, “MAD”, “MOP”, “MXN”, “MYR”, “NGN”, “NIO”, “NOK”, “NZD”, “PEN”, “PHP”, “PKR”, “PLN”, “PYG”, “QAR”, “RON”, “RUB”, “SAR”, “SEK”, “SGD”, “THB”, “TRY”, “TWD”, “USD”, “VES”, “VND”, “ZAR”]

Be careful and make sure that you have correctly specified the path to the script. Save the campaign when you are sure that everything is correct.

Activating the pixel and testing the set-up

Now you need to activate the pixel so that you can select for a new ad campaign. Copy the link from S2S Postback and paste it into the browser. Add your parameters to the URL. You can leave the callback as {t3}.

https://your_domain.com/landers/tt/ttapi.php?pixel_code=your_pixel&callback={t3}&ip=y our_IP&user_agent=your_user_agent&currency=USD&val ue=10

open the link in your browser.

If everything is working as it should, you will receive a response with the following content:

{“code”: 0, “message”: “OK”, “request_id”: “202201311327480101131352331FD4A698”, “data”: {}}

and in a few minutes you will see a conversion in your TikTok dashboard.

The file also contains test_event_code lines that are commented out. While testing, you can uncomment them and insert your test_event_code in the S2S Postback from the pixel settings. But it is not necessary. You can use it if you need to run tests to configure other events.

Sometimes Binom sends the new IPv6 IP format while the affiliate program uses IPv4 format for conversion tracking. Don’t blame Binom for this. It’s just the tracker can process IPv6 traffic while some other platform can’t. In this case, I recommend sending IP conversions from the affiliate program to Binom via post-backs, and don’t forget to insert the corresponding token in S2S configuration.

This wraps up the process of sending events via the TikTok Events API.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

评分

参与人数 1广告币 +1 收起 理由
妖妖 + 1 每天加油打气100分!!!!!!!!!.

查看全部评分

回复

使用道具 举报

1

主题

211

广告币

244

积分

初级会员

Rank: 2

积分
244
发表于 2022-6-19 09:18:41 | 显示全部楼层
这是什么东西?能发个中文说明吗?
回复 支持 0 反对 1

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们|联系我们|DMCA|广告服务|小黑屋|手机版|Archiver|Github|网站地图|AdvertCN

GMT+8, 2024-4-27 11:42 , Processed in 0.048678 second(s), 14 queries , Gzip On, MemCache On.

Copyright © 2001-2023, AdvertCN

Proudly Operating in Hong Kong.

快速回复 返回顶部 返回列表