AdvertCN - 广告中国

 找回密码
 立即注册

QQ登录

只需一步,快速开始

Binom
 谷歌+Bing+TT+MSN官方代理 
⚡️按条S5代理⚡️静态⚡️独享⚡️5G⚡️最干净<Wifi住宅+5G移动>IP代理指纹浏览器,就用AdsPower
Mediabuy⚡️玩家开户首选【鲁班跨境通-自助充值转账】FB/GG/TT❤️官方免费开户Affiliate 全媒体流量资源⚡️
Taboola/Outbrain /Bing⚡️一级代理开户投流-7*24h❤️人工在线【官方】❤️搜索套利广告开户独立站⚡️开户投放
DuoPlus专注打造跨境电商云手机E.PN 虚拟卡BINOM TRACKER 60% OFF!比Adplexity还好用的Spy工具
MediaGo+Taboola+Ob开户百度国际MediaGo⚡️让产品狂奔全球百度国际,高点击转化,快速放量百度国际MediaGo,独家原生流量
ADPLEXITY + ADVERTCN7200W全球动态不重复住宅IP代理虚拟信用卡+独立站收款全球虚拟卡, 支持U充值
Facebook 批量上广告尤里改 - FB 稳定投放免费黑五教程(持续更新、欢迎交流)FB 三不限源头 - 自助下户充值转款
各种主页、账单户、BM户(优势)⚡️个人户,bm户不限额,账单户一手BM分享户不限额9Proxy ⚡️ $0.04/IP, 无限带宽
FB二三解0.1元一个虚拟卡|PTM星际卡FB专用虚拟卡Google、Bing官方总代  联盟流量开户
FB账号资源/稳定靠谱/运行5年啦FB开户代投/三不限/白名单fb耐用号0.01一个fb账号官方合作商
搜索套利开户❤️Bigo/Kwai/MediagoFB资源,账单户,分享户,国内一手FB企业户BM户账单户源头广告位出租
查看: 2153|回复: 1

Sending TikTok event data with Events API

[复制链接]

26

主题

241

广告币

334

积分

版主

Rank: 7Rank: 7Rank: 7

积分
334
发表于 2022-6-17 18:29:09 | 显示全部楼层 |阅读模式
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

主题

289

广告币

321

积分

初级会员

Rank: 2

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-22 09:18 , Processed in 0.045953 second(s), 14 queries , Gzip On, MemCache On.

Copyright © 2001-2023, AdvertCN

Proudly Operating in Hong Kong.

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