Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Outbound pepper counts downloads as well

NetHawk
Minted
Posted on Feb 04, '10 at 03:51 am

The Outbound pepper regards clicks that are tracked by the Download Counter pepper as links to external websites.

This is probably because the Download Counter will take relative links and replace it by fully qualified urls.

Does somebody know of a workaround?

NetHawk
Minted
Posted on Feb 05, '10 at 09:12 am

As a quick fix I made the following change to the function Mint_SI_IO() in script.js (line 23):

Original:

if (link.href && !Mint_SI_IO_isLocal(link.href)
   && link.href.indexOf('javascript:')==-1)

With my fix applied (additional condition):

if (link.href && !Mint_SI_IO_isLocal(link.href)
   && link.href.indexOf('javascript:')==-1
   && link.href.indexOf('/mint/pepper/')==-1)

Ideally I would have changed the regex in Mint_SI_IO_isLocal(), but this seemed to me more risky, since I would have to dive into the regex.

The fix seems to work fine, but be aware, that this is NOT supported by Shaun and everybody using that fix is doing so on his/her own risk!

Shaun Inman
Mint/Pepper Developer
Posted on Feb 08, '10 at 08:52 am

This should not be necessary if MInt is properly configured. Make sure that the “Site Domain(s)” in your Mint Preferences is accurate (if Mint is also tracking mirror domains each domain should be listed separated by whitespace and/or commas). Also, if you post the initials of the domain that was having this problem I could take a look (eg. a4.com).

NetHawk
Minted
Posted on Feb 08, '10 at 03:08 pm

Please see elco.ch, however, this is the domain, where I applied my fix. But as far as I can tell, Mint was/is configured corretly.

You must be logged in to reply. Login above or create an account