How to erase default tracking from product's URL

It happens sometimes that the source product file contains a tracking link embedded in the product URLs. This state makes it impossible to add new tracking for the products in the product feed. The only solution is to remove the embedded tracking from the feed.

We can do this in 2 ways:

Here, for example, we have a product feed for Google that contains such tracking.:

Method #1:

Since tracking in the majority of cases is separated from the URL by the "?" sign - we will want to remove everything that is after this sign and the sign itself. To do this, in the export rules, for example in a Google product file, you need to create a new rule. We do this using the "Split text" rule. The rule will divide the text into parts, where the separator will be the "?" sign, and select only the first part of the URL string to pass to the feed.


Method #2:

If we are certain that the same tracking is added to every product in the feed, we can replace exactly that string representing the tracking with "nothing" and thus remove it from the feed for all products. We do this using the "Replace value" rule.

By using any of the above methods we have succesfully cleared the Google feed of the originally recorded tracking link: