Telegram ecosystem landing links
Parametrs:
token— a unique token associated with your account, available in the AdsGram cabinet (can be regenerated)To obtain the
token, go to your profile in the top right corner and click the button.

tgid- Telegram user IDgoaltype— an additional parameter that specifies the type of conversion (funnel stage), helping to segment various user actions. It accepts integer values from 1 to 3.goaltype usage:
- Define the funnel stages in your product or service.
- Map the stages to goaltype values:
- Registration
- First deposit/purchase
- Repeat deposit/purchase
- Configure conversion tracking for the relevant stages of the user journey.
- Add the goaltype parameter to your API request when sending conversion data.
- Use this parameter in your analytics to perform a detailed performance analysis by conversion type.
How to use:
- Select an active campaign or create a new one.
- Ensure the destination URL includes the
tgidparameter. - Retrieve your token from the AdsGram cabinet.
- Set up server-side logic to send a request to the API when a user completes the target action.
- Verify that requests are processed successfully and check for data in your analytics.
Example server request upon conversion:
https://api.adsgram.ai/confirm_conversion?token=YOUR_UNIQUE_TOKEN&tgid=TGID&goaltype=2Expected response: 200 OK — successful conversion registration.