Jump to content

Remove Link Tracking


Runar

Recommended Posts

39 minutes ago, Gabriel Torres said:

Does it cover Amazon.com affiliate links? Because one problem we have here is users "recommending" products, but the links actually have afilliate tracking info.

I’m finding several tags related to Amazon, but I’m not sure which applies to affiliate links. Would you be able to show me an example of the affiliate links used by your members?

Edit: I’ve identified two Amazon’s affiliate parameters (ascsubtag and tag) and will add them to the next release. An example from your forum would still be helpful, though.

Edited by Runar
Link to comment

@Runar See below several examples of what could be cleaned out.

Amazon

https://www.amazon.com.br/Placa-Vídeo-AFOX-Radeon-RX560D/dp/B099X6JXVS/ref=asc_df_B099X6JXVS/?tag=googleshopp00-20&linkCode=df0&hvadid=379726213405&hvpos=&hvnetw=g&hvrand=2077078744594458364&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9101337&hvtargid=pla-1395670392199&psc=1

https://www.amazon.com.br/Cooler-Gamer-Intel-LGA1156-Deepcool/dp/B00X9LBO6Q/ref=pd_sbs_2/141-4175838-4920651?pd_rd_w=lDoas&pf_rd_p=fd372a8b-e6ae-4397-bd2a-6918070dc11e&pf_rd_r=PS7R5TZY09KW1MRS05EH&pd_rd_r=0c4ee111-ec81-45de-bac5-348c313c96ae&pd_rd_wg=MoG8I&pd_rd_i=B00X9LBO6Q&psc=1

These two examples are from amazon.com.br, but amazon.com, amazon.co.uk etc use the same format. Everything after the ASIN code can be removed. The stripped-down version of the same links would be:

https://www.amazon.com.br/Placa-Vídeo-AFOX-Radeon-RX560D/dp/B099X6JXVS/

https://www.amazon.com.br/Cooler-Gamer-Intel-LGA1156-Deepcool/dp/B00X9LBO6Q/

Aliexpress

https://pt.aliexpress.com/item/1005003127978969.html?spm=a2g0o.9042311.0.0.39dcb90a8ouyUv

https://pt.aliexpress.com/item/1005002307427655.html?spm=a2g0o.productlist.0.0.271e38b0Dwvegf&algo_pvid=83fd4b4b-0dad-40e2-9bd6-7e174d90e786&algo_exp_id=83fd4b4b-0dad-40e2-9bd6-7e174d90e786-1&pdp_ext_f={"sku_id"%3A"12000020010865917"}&pdp_pi=-1%3B600.06%3B-1%3B-1%40salePrice%3BBRL%3Bsearch-mainSearch

The first example was stripped-down correctly by the plugin, but not the second one. Everything after the .html can be removed.

Also note that here the example if for the Portuguese version of Aliexpress, but it applies to any version of this website.

Submarino

https://www.submarino.com.br/produto/3151895868?opn=XMLGOOGLE

https://www.submarino.com.br/produto/2299745436?epar=bp_pl_00_go_pla_pcgamer_geral_gmv&epar=bp_pl_00_go_pla_pcgamer_geral_gmv&opn=XMLGOOGLE&WT.srch=1&utm_medium=buscappc&utm_source=google&utm_campaign=marca%3Asuba%3Bmidia%3Abuscappc%3Bformato%3Apla%3Bsubformato%3A00%3Bidcampanha%3Apla_pcgamer_geral_gmv&gclid=CjwKCAiAksyNBhAPEiwAlDBeLFPNb-9LkMp9jVF_IJjPhYrmvrHrSkYYOCLuGxIh4Pra8eiRYIOfTxoCRV8QAvD_BwE

Everything after the product number can be removed.

Americanas.com

https://www.americanas.com.br/produto/2486010275?epar=bp_pl_00_go_inf-aces_acessorios_geral_gmv&opn=YSMESP&WT.srch=1&gclid=Cj0KCQiA8ICOBhDmARIsAEGI6o0gGYaX7k4U5OrIPQK-UhDSFFFmL8s6YNNS2b3vuo7V5N-T-XQSOlMaAoNMEALw_wcB&voltagem=BIVOLT#info-section

Ditto.

Terabyteshop

https://www.terabyteshop.com.br/produto/10606/memoria-ddr4-corsair-vengeance-rgb-pro-cmw16gx4m2c3200c16-16gb-2x8gb-3200mhz?gclid=CjwKCAiAksyNBhAPEiwAlDBeLM6jxRmKBYgp4D9IAgH1ynX1xfUV98JekBpbZWq0BNWnXmsOJDTs8hoCn_EQAvD_BwE

Ditto.

I hope I have helped and let me know if you want more examples! 🙂

 

Link to comment
34 minutes ago, Gabriel Torres said:

Another one very popular here.

Are these copied directly from your forum? I ask because the “&” part is a bit tricky. If the URLs above are posted in your forum exactly like they are here, then I need to do some extra magic behind the scenes to make the plugin read them correctly.

Link to comment
7 minutes ago, Gabriel Torres said:

@Runar I copied these directly from the database. I don't know whether they were posted like this or it was IPS that converted & into & before saving.

Don’t worry, I found a way to work around it! Thank you again for the examples.

Link to comment

Thank you for the report! I’ve identified the issue and a new version containing a fix will be submitted shortly. I apologize for the inconvenience and hope you haven’t lost faith in the plugin.

Edit: I’ve set the price to $1,000 to prevent anyone from installing it until the fix is released.

Edited by Runar
Link to comment

What’s new in version 1.1.0:

Version 1.1.0 is now available on the Marketplace. This version contains new tracking parameters and fixes a bug reported earlier in this topic. Another new feature is that tracking parameters in other parts of the URL, such as somewhere in the path or in fragments (that’s the text after the #), will also be removed.

New features

  • Tracking parameters in the URL path and fragments (after the #) will now be removed.

Improvements

  • Added new tracking parameters.

Fixes

  • Fixed issue with links not made up of text, such as images or other attachments, being wrongfully processed.

Link to comment
  • 2 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...