πŸ› 
Configuration
Here are the integrations that you can configure on the product after installation.
Currently, we only support Adsense ad codes, for more ad networks contact us.

1. Ad code (Adsense) setup

When we create an ad unit from Adsense we get an ad code like below but as we're using Vue.js and Adsense doesn't support it natively so we'll make few changes. Example Ad Code:
// Unnecessary script code
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
</script>
// Element which define our ad unit, need to be placed in respective code
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-0000000000000000"
data-ad-slot="0000000000"
data-ad-format="auto" // This ad property needs to be removed
></ins>
// Unnecessary script code
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

Steps:

Now copy the <ins> tag element of your ad code and place it in respective ad block.
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-0000000000000000"
data-ad-slot="0000000000"
></ins>
Do not forget to remove data-ad-format="auto" property.
Display should be set to block and no pre-defined width & height.
Referrence Image

2. Cron job setup

The cron job must be set up as it is responsible for handling background tasks.
  1. 1.
    Create a new cron job with one of the following commands to run once in an hour.
    • 0 * * * * wget --quiet -O /dev/null https://yourdomain.com/cron.php
    • 0 * * * * wget --spider -O - https://yourdomain.com/cron.php >/dev/null 2>&1
    • 0 * * * * curl --silent https://yourdomain.com/cron.php
  2. 2.
    Make sure to replace the https://yourdomain.com/ string with your domain name.

3. Change text on Home page

First, you need to install Node.js & NPM on your local system.
After that, go to the root directory in your local system and run this command β€œ npm i ” in the terminal or cmd in the root directory, it’ll install all necessary node modules for the project which we need to re-compile.
In the /resources/js/Layouts & /resources/js/Pages folders you have .vue files which contain all hardcoded text. Just change your required text and don’t change anything else in the code.
After making changes run this command in root folder β€œ npm run prod ”
When the process is completed, your re-compiled js & css files will be in /public/js and /public/css folder. Replace all these js & css files including mix-manifest.json file in public folder on your hosting and hard refresh your website.

4. BrightData Proxies Setup

You can easily add BrightData proxies in your script by following the below steps.
1. Create an account on BrightData.io​
2. After successfully activating the account go to the "Zones" Section from the side menu and click on "Add Zone" button.
Referrence Image
3. In "Add new Zone" page select the following options and create zone
  • Network types: Datacenter
  • Price plan: Pay as you go* - $0.6/GB
  • Permissions: 100% Uptime
  • IP Type: Shared (Pay per usage)
Referrence Image
4. After creating Zone click on the Edit icon and you'll get the following screen, from there you can get your Zone Username & Password.
Referrence Image
5. You've created your zone and got your zone username & password, now open your TikTok script admin panel and add your BrightData proxies in the following format.
http://username:[email protected]:22225
6. Replace "username" & "password" with your own zone details and click Add.
Referrence Image
7. Voila! You've successfully added your proxy.