Apps/AliExpress Affiliates/Modify the affiliate URLs in a text
AliExpress Affiliates
AliExpress Affiliates Action

Modify the affiliate URLs in a text

Searches for any AliExpress URLs within a given text and modifies them by updating the affiliate tag. The URLs must be unshortened, or shortened with click.aliexpress.com.

200+ apps to connect·Tested & maintained tasks·Human support in English & Spanish

In detail

What it does and what it's for

This integration allows you to automate the modification of AliExpress links in your texts, automatically updating affiliate codes to ensure that all included URLs reflect your tracking ID. The URLs must be unshortened or shortened with click.aliexpress.com.

By implementing this feature, you can optimize your affiliate marketing efforts, ensuring that every link in your content is correctly configured to track and attribute commissions effectively.

Already using Botize?

Connect your AliExpress Affiliates

Add a profile to use it in your tasks. There's a step-by-step guide if you need it.

Add a new profile Step-by-step guide

Your profiles

Your connected AliExpress Affiliates accounts

These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.

Setup

Customization options

Fields you can adjust when using it in your automation.

Text
Tracking Id

Output data

Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • Modified text {{modified_text}}

Learn by watching

Video tutorials

Short videos where you watch a real task being built from start to finish.

FAQ

Frequently Asked Questions

Do I have to fill in the 'Tracking Id' field?

The Tracking Id field of the step (tracking_id in the task definition) is not always necessary: it depends on your AliExpress affiliate account.

If your account has a single Tracking ID, you can leave the field empty: AliExpress applies that Tracking ID on its own and the automation works.

If your account has more than one Tracking ID, AliExpress cannot decide which one to use and it refuses to build the short affiliate link. What happens then depends on the step:
  • Steps that read a product from AliExpress (Get product information, and the searches) publish the affiliate link in its long format instead of stopping. The task keeps working, and the execution log tells you why the link is long.

  • Steps that do not read a product (Modify the affiliate URLs in a text, API Request) have no long format to fall back on, so they fail with the error TrackingId input parameter error.
You may also want to fill it in even with a single Tracking ID, if you want to keep a task in its own campaign and tell its clicks and commissions apart in your AliExpress reports.

Where to find your Tracking IDs: in the AliExpress affiliate portal, go to the Account section and then to the Tracking ID subsection. All the Tracking IDs of your account are listed there. Copy the one you want to use and paste it into the field. The one AliExpress creates by default is usually called default.

Write one of the Tracking IDs that really exist in your account: a value that does not belong to it has the same effect as an empty field.

Troubleshooting

Common Errors

TrackingId input parameter error

Currently, you have more than one Tracking ID associated with your AliExpress account. To ensure this automation works correctly, you need to edit the task and specify which Tracking ID you want to use in the 'Tracking ID' field.

If you need to check your Tracking IDs before proceeding, you can find them in the AliExpress affiliate portal. Simply go to the 'Account' section and select the 'Tracking ID' subsection. There, you will see all the available Tracking IDs.

Need a hand?

Real people behind it

Email us

info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Message us on Telegram

t.me/botizesupport
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Come with an idea.
Leave with an automation.

Create your first task in minutes. Do it once and forget about it forever.

Start automating