Page 1 of 1

Disabling link tracking

Posted: Tue Jun 23, 2009 9:44 am
by oxygen
Hello,
I need to have link tracking disabled by default.
I have searched and located where the value of field "measure_type" in table "rdir_url_tbl" was set, and found it here:
class: MailingDaoImpl.java in package org.agnitas.dao.impl
line #155:
trkLink.setUsage(TrackableLink.TRACKABLE_TEXT_HTML);
this constant in class TrackableLink sets the value to 3.
I'd need this to be 0 (TrackableLink.TRACKABLE_NONE)

I could try and change/recompile class MailingDaoImpl.java to suit my needs, but I guess the correct way would be to have this configurable in an external text or xml file.

Any option you can propose?

Thanks a lot,
Daniel

Disabling link tracking: temporary solution detailed

Posted: Fri Jun 26, 2009 6:47 am
by oxygen
Hello,
replying to my own post, so it may help others.
I had to modify java classes to prevent link tracking by default.
Contrarily to what I thought in my previous post, the class concerned is:
MailingImpl.java in org.agnitas.beans.impl

- Changed 2 lines, between around lines 577 to 600: switched static variable reference from TRACKABLE_TEXT_HTML to TRACKABLE_NONE
-- Result: on E-mail component edit/save, or e-mail save, links are listed, but "not trackable" by default.
tested succesfully with Test and "real" mail sending.

At this point, there remained one issue: links were still ""rewritten" to be trackable when:
- previewing e-mail in OpenEMM interface
- accessing for online version (Fullview form "system")
In both cases the "Archive" e-mail content was parsed and links rewritten.
To prevent this: same class, MailingImpl.java, in method getPreview(...) :
removed call to method : insertTrackableLinks(...), near line #947 (I mean near it, as line numbers shifted by previous edit).

Of course, would be more convenient to have this configurable from external file. Not sure so many people want to disable this. We, in our case, want to process link tracking /opens our own way, and keep OpenEMM inside our network, not on the www.

Regards,
Daniel

Re: Disabling link tracking: temporary solution detailed

Posted: Wed Aug 19, 2009 1:29 pm
by sannc
Hi!
oxygen wrote:Of course, would be more convenient to have this configurable from external file. Not sure so many people want to disable this. We, in our case, want to process link tracking /opens our own way, and keep OpenEMM inside our network, not on the www.
I firmly support this request. It is necessary to change the default behaviour of the trackable links feature for us, too.

Best wishes
Carsten

Posted: Thu Apr 22, 2010 5:28 pm
by sp
I too would love if this would be configurable.

Re: Disabling link tracking

Posted: Fri Nov 14, 2014 1:00 pm
by lemonfriend
We also very clearly need this feature to be configurable on an global basis.
Has anything happened here?
Best,
lemonfriend