# How the GeoEngage script protects the page it runs on

> A third-party script runs inside your page, so it has to fail safely. What GeoEngage does when a rule, the network or the recorder misbehaves.

Behind the product · Published 2026-11-16

A script you add to your site runs inside your pages, so when it fails, your page shouldn't. When we asked people what would make them trust a new script, one answer summed it up: lightweight, privacy-conscious, clearly documented and easy to remove. This is how GeoEngage behaves when something goes wrong, case by case.

## If the script is blocked or fails to load

Ad blockers, network errors and strict firewalls can stop the script. Your page then loads as if GeoEngage weren't there: no banner, no change, nothing broken.

## If a rule is slow to apply

When a rule is about to change something already on your page, such as a headline, the tag hides that element so visitors don't see the old words flash. It hides only the elements a rule will change, for 1.5 seconds at most by default, then shows them either way. A failure can't leave your page blank ([What it does on a page](https://geoengage.app/docs/widget#what-it-does-on-a-page)).

## If the visitor can't be located

A rule that checks the country doesn't run for a visitor who can't be placed. GeoEngage never guesses a country. Rules on other things, such as the device or a cookie, still run ([Location conditions](https://geoengage.app/docs/rules/conditions#location)).

## If two rules want the same element

Every matching rule runs, in priority order. When two change the same element, the higher one wins and the other is skipped for that element, so visitors never see two rules fight over one headline ([When several rules match](https://geoengage.app/docs/rules#when-several-rules-match)).

## If you need a rule gone now

Switch it off in your dashboard. Visitors stop seeing it on their next page view, within a few minutes, with nothing to republish.

## If recording would slow the page

Session recording watches its own cost and steps back on its own ([Keeping pages fast](https://geoengage.app/docs/analytics/sessions#keeping-pages-fast)):

- busy animations are recorded a few times a second, not every frame;
- a page that changes too much at once pauses recording until the next page;
- an embedded frame too large to record is left out;
- when the browser can't send the recording, it holds at most a few megabytes, then pauses.

The visitor's page stays smooth; the replay notes where it stepped back.

## If the visitor hasn't consented

In consent mode, nothing is tracked or recorded, and no rule but the consent banner runs, until the visitor accepts ([Consent mode](https://geoengage.app/docs/widget/consent)).

## The one exception: your own code

The **Custom JavaScript** action runs code you write, with the page's full access. An error in it can break the page, so test it in **Test Sandbox** first and keep it short.

## Easy to remove

Delete the tag, and GeoEngage stops on the next page load. There's nothing to uninstall on your server, because nothing was installed there.

## Common questions

### Does it use cookies?

No. It keeps a few small values in the browser's storage on your own domain ([Identity and storage](https://geoengage.app/docs/widget/storage)).

### What does a visitor see if GeoEngage's servers are down?

Your page. If the widget can't get your rules, from our servers or from what the browser cached on an earlier page view, no rule runs.

---

Source: https://geoengage.app/blog/how-geoengage-protects-your-page
