I want Sitecore to only perform a Maxmind lookup after a visitor has matched a certain pattern card. I can see plenty of references to the "DNS lookup task" within the comments of Sitecore.Analytics.Config, but I can't seem to track it down to see if it's possible to mess with it.
Can someone point me in the right direction?
As I see it the GeoIPLookup is triggered in the StartTracking pipeline in the UpdateGeoIpData processor. It calls into the lookup provider asynchronious.
So I guess you can replace this processor with your own inheriting from this one, and then add your conditions. In that way you would have something like:
Then in your config file you should have something like this:
As fare as I can see, that should handle it, but I have been unable to test it thouroughly.