I wonder if it would be a good thing to be able exclude links within certain areas from picking up the parameters. I already have parameters set with tokens for links within my menu, this module then adds them again. Or, could we say: if parameters exist, don't add, or, alternatively, if they exists, override existing?

Comments

sijuwi created an issue. See original summary.

soumyadas’s picture

Well that's a good idea. Let me work on it.

soumyadas’s picture

Hi, couple of examples would be better to understand!

sijuwi’s picture

So in my case if you follow this link: https://www.freedomfromtorture.org/?utm_campaign=test to our homepage, then click on the DONATE button in the menu, you'll notice that utm_campaign now appears twice with different values. We want the persistant url to overide any existing argument. I realise this may be rather a unique and uncommon example... not really sure it would be useful for others

soumyadas’s picture

Well your DONATE button is already having this parameter. Now you want to override it with the value coming from your campaign, right? e.g. 'test' would be the final value.

sijuwi’s picture

Yes that's it

soumyadas’s picture

Okay I'll work on it.

sijuwi’s picture

Following up a little on this: also when the parameters are attached to file links as is the case on this page the downbload fails:

https://www.freedomfromtorture.org/the_poverty_barrier_report?utm_campai...

compare to:

https://www.freedomfromtorture.org/the_poverty_barrier_report

soumyadas’s picture

It seems your file name contain spaces , that is causing abnormal behavior. Please remove space with "_" and that should resolve this issue.

sijuwi’s picture

Yes the transliteration module would resolve the white spaces. Thanks

soumyadas’s picture

We are going to patch this feature by this weekend. However we should get the right most parameters value while submitting to the server.

sijuwi’s picture

Thanks so much! Not sure what you mean here: "However we should get the right most parameters value while submitting to the server."

soumyadas’s picture

Never mind, we will fix it.

  • SoumyaDas committed 1e098ce on 7.x-3.x authored by sijuwi
    Issue #2917317 by sijuwi, SoumyaDas, suvasish.manna: Exclude links
    
soumyadas’s picture

Version: 7.x-1.x-dev » 7.x-3.2
Status: Active » Fixed

Committed this feature to the latest release.

soumyadas’s picture

Status: Fixed » Closed (fixed)
sijuwi’s picture

Thanks very much!!!