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

Mint tracking visits from other domains

Hello Shaun & others,

Weird issue. Snooped the forum but couldn’t find anything addressing this one…

We’re having issues where Mint is tracking visits from domains other than our own, athleticsnyc.com. Meaning, if someone view-sources our site, copy-pastes our header code (including the Mint js), and drops this into an HTML file behind their own domain, visits to this person’s site will load our Mint js and actually record these visits in our Mint installation.

We noticed the issue when we started seeing pages from other sites popping up in the Mint Pages module.

To test the issue, I copy-pasted the Mint js code and put it behind a different domain of ours. If you go here:

http://athletics-dev.com/test.html

…your visit will register in our athleticsnyc.com Mint installation.

Seems odd that this is allowable. I would expect calls originating from other domains to be ignored.

Is there an easy fix or would we need to write a mod_rewrite rule to fix this?

Thanks, -j

Edski
Minted
Posted on May 19, '08 at 03:19 am

I had the same thing, one of my website was pirated and placed on an other server and they had all the javascript still pointed to the server where they had stolen the website from.

Mint was tracking visits from the prirated site.

Is there a fix for this?

Shaun Inman
Mint/Pepper Developer
Posted on May 19, '08 at 09:50 am

You could contact the offending site and have your code removed. If they are unresponsive you can do a whois lookup and usually figure out their host from their domain name servers.

There was code to prevent this in Mint but occasionally IE wouldn’t send the correct headers with the request causing valid visits to be invalidated and go untracked so it was disabled.

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