Block the Invoca Tag from running for specific IP addresses using custom code that checks a visitor’s IP against a block list before autoRun fires.The Invoca Tag doesn’t have built-in support for capturing a visitor’s IP address as marketing data attribution. To block the tag from running for specific IP addresses, you’ll need to provide:
- A data source: a global variable, cookie, or session storage — whichever method you use to store and share the visitor’s IP address with the Tag.
- A list of blocked IP addresses: the IPs for which the Invoca Tag shouldn’t run.