# Add new fraud prevention configuration

Here is a checklist to prepare before starting the Tiktok Fraud Prevention configuration process on OnHub.

| Checklist Item                                      | Details                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <ol><li>Register an OnHub Account</li></ol>         | <ul><li>Ensure you have registered and verified your OnHub account.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <ol start="2"><li>TikTok Business Account</li></ol> | <ul><li>Ensure you have access to your TikTok Business Account credentials (email and password).</li><li>If you haven't already, Sign up for a TikTok Business Account.</li></ul><p><em>-> For more information about TikTok Business Account and how to sign up it, please visit</em> <a href="https://getstarted.tiktok.com/vn-brand?lang=vi&#x26;attr_source=bing&#x26;attr_medium=search-br-ad&#x26;attr_adgroup_id=1337007822236278&#x26;attr_term=tiktok%20business%20account&#x26;msclkid=185f9a277e9012aeb7fefc132dafb08a"><em>here</em></a><em>.</em></p> |
| <ol start="3"><li>Tiktok Business Center</li></ol>  | <ul><li>Ensure you have access to your TikTok Business Center.</li><li>If not already established, Create a Business Center on TikTok</li></ul><p><em>-> For more information about TikTok Business Center and how to create it, please visit</em> <a href="https://business.tiktok.com/vi"><em>here</em></a><em>.</em></p>                                                                                                                                                                                                                                        |
| <ol start="4"><li>Website</li></ol>                 | <ul><li>Ensure you have admin rights to the website and can insert code into your website.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                               |

{% hint style="success" %}
Once you have prepared all the checklist items, you can access the "Add new fraud prevention configuration" function by:

* Navigate to the Configuration List screen
* Click on "Fraud prevention configuration" button.

-> Then proceed with the Tiktok Fraud Prevention configuration process. (As below)
{% endhint %}

## 1. Website&#x20;

### 1.1. Add your website (Step 1)

* Click Connect button at Website block&#x20;

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FoBxEipoLYw7xpaoPOtm5%2Fimage.png?alt=media&#x26;token=b1f4ed16-5ece-4bcc-9e52-44689d932a53" alt=""><figcaption></figcaption></figure>

* Select your website's protocol

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2Frj1veTiRefJLG30CNZF7%2Fimage.png?alt=media&#x26;token=89cb3c3d-ecb0-42d5-a656-fd8043f80132" alt=""><figcaption><p>Select your website's protocol</p></figcaption></figure>

* Enter your website address

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FNjuYNeWSujpSxwNKfBQn%2Fimage.png?alt=media&#x26;token=dd4f9706-c21b-4072-95da-9a923cc7c976" alt=""><figcaption><p>Enter your website address</p></figcaption></figure>

-> After successfully entering your website address, click "**Save and continue**" you will be taken to step 2.

***

### 1.2. Select ad groups to block invalid clicks (Step 2)

* Click **"Connect"** to connect with your **TikTok Business Acount**

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2F5T7UyAMo6diwvEmdnyvS%2Fimage.png?alt=media&#x26;token=ba18449f-41dd-44f2-9250-b93ef04606e2" alt=""><figcaption><p>Connect your TikTok Business Account</p></figcaption></figure>

* Enter **the email and password** of your **TikTok Business Account** to connect successfully

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2F7CVMiezoFh9308zuQ66M%2FA%CC%89nh%20chu%CC%A3p%20Ma%CC%80n%20hi%CC%80nh%202024-05-03%20lu%CC%81c%2011.14.52.png?alt=media&#x26;token=d262dd54-8c16-4a72-99a4-4e7f06793e32" alt=""><figcaption><p>Login your Tiktok Business Account</p></figcaption></figure>

* Grant OnHub the required permissions for TikTok access then Click "Confirm"

{% hint style="warning" %}
**NOTE:**

Please grant all the permissions listed on the screen to ensure our platform can successfully connect with your Business Account
{% endhint %}

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FnQGDoNSXw23IFu37oF1b%2Fimage.png?alt=media&#x26;token=86a8a0ac-7958-439c-b27c-2b7a32f45673" alt=""><figcaption><p>Grant permissions</p></figcaption></figure>

-> Once you have successfully granted the necessary permissions, you will be redirected back to OnHub to proceed with step 2 of the process.

* Select the ad groups you want to prevent fraud for

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FZJ4yL8QrZSvBsiTDG68X%2FAdd%20new%20(step%202).png?alt=media&#x26;token=2968f890-1bae-492f-a67a-c6eaec0322f0" alt=""><figcaption><p>Select the ad groups</p></figcaption></figure>

-> Click "**Save and continue**" you will be taken to step 3.

***

### 1.3. Configure settings (Step 3)

* Click 'enable' for the configuration you want to use. Currently, Onhub includes two configurations: blocking by click frequency and blocking by country.
  * Click frequency: There are three options Block by IP address (blocking individual IP addresses including IPv4 and IPv6), Block by IP group xxx.xxx.xxx.\* (blocking by IPv4 group in the format xxx.xxx.xxx.*),* and Block by IP group xxx.xxx..\* (blocking by IPv4 group in the format xxx.xxx.*.*). For each option, you need to fill in 'The number of times an IP clicks on an advertisement' and 'Within a period of' to define fake clicks. For example, IP addresses with 10 clicks within 30 minutes are considered fake. The Onhub system will use these rules to block violating clicks.
  * Country: Block clicks from the countries you select. This configuration helps you eliminate clicks from countries with high fake click rates or target countries where you do not want your ads to be displayed.

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FnCXMXarKYrsPC5eCajbh%2Fimage.png?alt=media&#x26;token=a82a9c2f-f5d2-4213-828b-6b3e0cbece29" alt=""><figcaption><p>Click frequency</p></figcaption></figure>

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2F4P5kDEfC952NQJ38RMdQ%2FGroup%2057800.png?alt=media&#x26;token=53e349e0-f9fd-4dec-86b9-ac915d2e95ac" alt=""><figcaption><p>Country</p></figcaption></figure>

-> After successfully entering your website address, click "**Save and continue**" you will be taken to step 2.

***

### 1.4. Get embed code (Step 4)

* Click on the "Copy" icon to get the code provided by Onhub. Then, insert this code into the section of your website so Onhub can start blocking fake clicks to your website.
* After inserting the code, go back to fraud prevention configuration step 4, and click the "Check" button to verify that the code has been successfully inserted.
  * A. Code successfully inserted -> the system displays the message "Embed code successfully".
  * B. Code insertion failed -> The system displays the message "Embedding the code failed. Please try again!"

-> Then, click "Done" to complete the fraud prevention configuration steps.

{% hint style="info" %}
If you do not know how to insert the code into your website, please visit [*here*](https://docs.novaonads.com/onhub/faq/how-to-insert-the-code-provided-by-onhub-into-my-website).
{% endhint %}

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FCqq0Z78YYr7au1OZziPi%2FGroup%2057954.png?alt=media&#x26;token=0e9faef0-12be-40c9-9dd0-7cf455846465" alt=""><figcaption><p>Get embed code</p></figcaption></figure>

{% hint style="warning" %}
NOTE:

The TikTok fraud prevention feature starts working when:

* You have successfully inserted the Onhub code into your website.
* The customer support department has activated the feature to block fake clicks for your account.
  {% endhint %}

***

## 2. Shopify Store

Click Connect Button on Shopify block

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FoBxEipoLYw7xpaoPOtm5%2Fimage.png?alt=media&#x26;token=b1f4ed16-5ece-4bcc-9e52-44689d932a53" alt=""><figcaption></figcaption></figure>

You will be directed to link app OnHub Tiktok Fraud Prevention on Shopify App Store. Please install app and you can start setting up and managing all TFP packages directly on your Shopify Store Screen

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FlN8a2kP6msZk83LdJmGG%2Fimage.png?alt=media&#x26;token=3ffcc339-b1ec-4e0e-b48b-8140605ab016" alt=""><figcaption></figcaption></figure>

You can learn how to install and use app on your store here: [\[Shopify\] OnHub Tiktok Fraud Prevention](https://docs.novaonads.com/onhub/tutorial-and-guidelines/shopify-onhub-tiktok-fraud-prevention)

***

## 3. Manage and track fraud prevention configuration requests.

You can track your established fraud prevention configuration requests on the configuration list page. For details, please visit [*here*](https://docs.novaonads.com/onhub/tutorial-and-guidelines/tiktok-fraud-prevention/manage-fraud-prevention-configuration).

<figure><img src="https://2313102970-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXiPGGpwJnq5GDPZMaOWz%2Fuploads%2FB3Sv7owiUGxKlYCu14HR%2FConfiguration%20list.png?alt=media&#x26;token=d1ac5c5c-fed0-413c-a469-11c21df7469f" alt=""><figcaption></figcaption></figure>

***

{% hint style="success" %}
**If you are unable to find the solution to your issue, please don't hesitate to reach out to our support team for assistance.** [**(Contact now)**](https://docs.novaonads.com/onhub/contact-info)
{% endhint %}
