DTM Examples- Suppressing page load beacons

In some cases, like on Single Page Apps, you may want to suppress the default page view beacon in favor of a Direct Call Rule or Event-Based Rule s.t() beacon that you have more control over. To do this, just add "return false" to any Analytics Tool custom code block that runs on that page. For instance, if I want to keep my Analytics tool from EVER running page load s.t() beacons, I would go to the "Customize Page Code" section of my Analytics Tool:

Then I'd add "return false":

If I only want to suppress the beacon on certain pages, I could put the return false into a conditional JavaScript statement:

    return false