would be nice to be able to ignore certain node types (page, article etc) if its not possible with path ignore

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

GiorgosK’s picture

and here is a patch that gives you option to ignore by node types
patch against 6x 1.1 version

NOTE: if option is used it will test to see if node should be ignored only when 1) its a node 2) path ignore has not matched (not ignored already)

second module file includes this patch and patch from #328576: Support anonymous user tracking (+ Improve frontpage presentation)

GiorgosK’s picture

Still some refinement

Some times is so much easier to just choose the paths or content types to allow (instead of ignore)

Thus created an option "REVERT IGNORES to ALLOWS" and when checked, paths and content types indicated are the ONLY allowed, all other pages are ignored

here is a patch against 1.1 version
and the attached module file (second file) includes also the patch from #328576: Support anonymous user tracking (+ Improve frontpage presentation)

GiorgosK’s picture

Title: Ignore content types patch » Ignore content types patch and revert ignores to allows
Version: 6.x-1.1 » 6.x-1.2
FileSize
2.19 KB

Here is a patch for the 1.2 version
please test and report back