Code System
System to detect whether or not someone has clicked on your link
STEP 1
- Generate a unique code to identify a user
STEP 1
- Generate a unique code to identify a userTo be able to detect whether a link is clicked or not by a user, you need to generate one yourself.
For example, you can enter the user's ID/email address, or generate a code and link it to the utility in your database !
Code can be text or integers. Codes are deleted from our database 1 day after registration.
STEP 2
- Generate advertising
STEP 2
- Generate advertising All you need to do is add the click_code
option to our basic query:c
The bot will return the same data as for the classic query
STEP 3
- Check click
STEP 3
- Check click To check whether the code has been clicked, perform the following query:
Here are the possible api responses:
code
success
clicked
message
200
true
true
Code found
200
true
false
Code not found
400
false
Missing data. Be sure to provide code and bot_id.
500
false
Internal error.
Last updated