Is it possible to have Analytics fire only on certain pages? I tried adding a path condition in DTM to the page load rule, but that didn't seem to make any difference at all. I'm now trying to accomplish the same result by deactivating the beacon via the following custom code:
if(document.location.href.indexOf("whatever")!=-1){
return false
}
Does anyone have any tips on what the actual best way to have Analytics only fire on certain pages?