TikTok to Keitaro Expenses Broadcasting Script


Here’s a helpful script by Igor Litvinenko (Borodaty Arbitrazh) for those who drive traffic from TikTok.

Hello everyone!

 

If you’re working with TikTok, this tutorial is right up your alley! The script automates expenses broadcasting in Keitaro related to your campaigns and various accounts.

In this case, expenses were broadcasted from 00:00 to 23:59 Moscow time.

I used MySQL. I wanted to make it simple, but files create more complications than the DBMS (so you’ll have to give it a time during the installation if you have never done this before)

The downside:

Only Keitaro BUSINESS works in this case since Admin API is available only in the business version of the tracker.

DOWNLOAD: https://github.com/m0pfin/TT.CostLoadKeitaro

Installation:

  1. Download the script archive
  2. Upload it to a hosting/server
  3. Insert the data into the database in the /include/config.php file
  4. In the /kt_load.php file, insert the API_KEY for Keitaro and your domain/IP with tracker installed
  5. Import the /tokens.sql file into phpMyAdmin
  6. If you have done it right, then you will get the following by entering the script address 
Tik-Tok + Keitaro = ❤️, изображение №1
 

7. After an account is added to the script, you can check if it works by clicking the button on the right (mouse wheel)

How do I Use the Script?

  1. Log into TT account
  2. Download an extension for your anti-detect browser (or wherever your accounts are)
  3. https://chrome.google.com/webstore/detail/dolphin-tt/ipjboigiejagkjgffdhcmdpkldmjfghe?hl=ru (thanks to Dolphin for the extension)
  4. Copy the token and paste it into the script
  5. THE HARDEST PART is the CRON setup. PHP scripts cannot run by themselves, so you must create a CRON task with the script running intervals. I will illustrate it by example on my server with VESTA CP installed 
  6. Set the task to the ttGetCampaign.php file
Tik-Tok + Keitaro = ❤️, изображение №2
 

5* (asterisks) mean it’ll perform a task every minute. You can set it up at will, just look through the documentation.

In case you want to set a custom run time, opt for CRON SYNTAX: https://losst.ru/nastrojka-cron

How will the Script Know Which KEITARO Campaign to Link the Expense to?

It’s unbelievably simple.

  1. Create a campaign in the tracker
  2. View the campaign ID
Tik-Tok + Keitaro = ❤️, изображение №3
 

3. Insert the Keitaro campaign ID in the TikTok campaign name, enclosing {id} in curly brackets

For example:

Tik-Tok + Keitaro = ❤️, изображение №4
 

Now the statistics from the cabinet will be allocated by the ID in curly brackets. Keitaro will understand which campaign to link the expense to.

P.S. I have not yet discovered how to set up the currency of the cabinet, so the default currency is USD (I hope your Keitaro and TT cabinets support USD =)

– 1 campaign in TT = 1 campaign in KT is a rule (i.e. you must not have another campaign with ID 158 in TikTok, for example, otherwise, the expenses will be overwritten)

– The script works with multiple accounts, so you are free to add 5-15-25 tokens. I haven’t tested more tokens yet)

DOWNLOAD: https://github.com/m0pfin/TT.CostLoadKeitaro

Well, that’s kinda it. Contact me in TG @m0pfin with your suggestions/improvements/bugs

All the best, yours sincerely, Borodaty Arbitrazh.

Около Арбитраж


Like it? Share with your friends!
0 Comments
Affiliate - Our assessment
Verticals
Min. sum
Site
An affiliate program from the direct advertiser Mostbet.com. They accept gambling and betting traffic worldwide. CPA on popular GEO is $20-50, Revshare - from 30% to 70%. They share apps and deeplinks upon request. They also offer a large selection of proxies.
$50 pay
фото
фото
фото
фото
фото
A CPA network that has been on the market since 2013. They have over 1500 offers and offer dynamic bids. Key GEOs: CIS, Europe, and LatAm, Africa. They also have a loyalty program with bonuses for leads.
$50 pay
фото
фото
фото
фото
фото
Affiliate network in the iGaming vertical. They work only with direct advertisers, and the lion's share of offers are presented exclusively. Huffson has individual conditions, own platform, detailed statistics, PWA applications, and custom promo.
$100 pay
фото
фото
фото
фото
фото
фото
фото
фото
фото
V.Partners review
It’s a direct advertiser of the popular European casino “Vulkan Vegas” established back in 2016. They operate in the gambling vertical within CPA, RevShare, and Hybrid partnership models.
€100 pay
фото
фото
фото
фото
фото
фото
It's a direct advertiser of the “GG.bet” brand. It's a multi-affiliate program, where they combine casino, betting, and cybersports which allows you to make money in different areas simultaneously. Established in 2016. They operate within CPA, RS, and Hybrid partnership models. RevShare is up to 60%.
$20 pay
фото
фото
фото
фото
фото
фото