---
title: RevExit
description: A guide to setting up and modifying RevExit widgets
---

[Skip to content](https://help.revcontent.com/knowledge/revexit#main-content)

[![rc\_help\_center\_logo\_color](https://help.revcontent.com/hs-fs/hubfs/rc_help_center_logo_color.png?width=275&height=66&name=rc_help_center_logo_color.png)](https://help.revcontent.com/knowledge?hsLang=en)

Open main navigation

Close main navigation

- [Go to RevContent.com](https://www.revcontent.com/)

[Go to RevContent.com](https://www.revcontent.com/)

 Got questions? Find the answers here.

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.revcontent.com/knowledge?hsLang=en)
2. [Publishers](https://help.revcontent.com/knowledge/publishers?hsLang=en)
3. [Labs Widgets](https://help.revcontent.com/knowledge/publishers?hsLang=en#labs-widgets)

# RevExit

## A guide to setting up and modifying RevExit widgets

![rev\_exit](https://help.revcontent.com/hs-fs/hubfs/rev_exit.gif?width=670&name=rev_exit.gif)

RevExit widgets appear as the user mouses off the page or remains idle for a prolonged period (6 seconds by default).

 

### **Sample RevExit Code Template:**

(zeroes in bold are to be replaced with your widget's unique values)

```
<script id="rev2exit" src="https://labs-cdn.revcontent.com/build/revexit.min.js?w=000&p=000&k=000&d=000" type="text/javascript"></script>
```

### **Required Parameters:**

**w**

*Widget ID*

```
w=123
```

 

**p**

*Publisher ID*

```
p=123
```

 

**k**

*API key*

```
k=34f85gh9845hg9485hg9485hg94
```

 

**d**

*Domain*

```
d=example.com
```

 

---

### **Additional Optional Parameters:**

**ch**

*Closed Hours* 

The duration (in hours) the widget will remain closed for a user after being exited out of. Defaults to "24".

```
ch=24
```

 

**i**

*Internal Content*

Defaults to "none". Alternatively can be set to "rndm" for a randomized panel insertions, "top" for internal across top row, "btm" for internal across bottom row, or "all" for internal across both rows. Note: "all" will hide provider names.

```
i=none
```

 

**j**

*Background*

Defaults to "default". Alternatively can be set to "classic", a custom RGBA, Hexadecimal color, or a handful of HTML color names (e.g. red, blue, etc).

```
j=default
```

 

**po**

*Provider Options*

Controls display of provider text. Default is "internal". Alternatively can be set to "disabled" for no provider text, "all" for providers across all content, or "sponsored" for providers on sponsored fill only. 

```
po=disabled
```

 

**ps**

*Panel Size*

Defaults to "4x2". Alternatively can be set to "3x2".

```
ps=4x2
```

 

**r**

*Regions* *(or zones) that RevExit will appear in once triggered*

Default is "all". Alternatively can be set to "top", "bottom", "left" or "right". Combinations are also accepted, e.g. "left,right".

```
r=all
```

 

**t**

*Test Mode*

Default is "false". Alternatively can be set to "true" to force the widget to always appear on load.

```
t=false
```

 

**x**

*Device Type(s)* *the widget will appear on*

 The default is "desktop". If the "x" parameter is omitted, the widget will appear on desktop devices only. Set it to "both" to enable the widget on both desktop and mobile, "mobile" for mobile only, or "desktop" for desktop only. 

```
x=both
```

 

**z**

*Inactivity Trigger Duration* (*in seconds)*

Defaults to 6 seconds which is the minimum duration allowed.

```
z=6
```

 

- [General Information](https://help.revcontent.com/knowledge/general-information?hsLang=en)
- [Compliance Policies](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#main-content)

    - [Campaign Guidelines](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#campaign-guidelines)
    - [Site Guidelines](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#site-guidelines)
    - [Resources](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#resources)
- [Native API](https://help.revcontent.com/knowledge/native-api?hsLang=en)
- [Advertisers](https://help.revcontent.com/knowledge/advertisers?hsLang=en#main-content)

    - [RevContent Best Practices](https://help.revcontent.com/knowledge/advertisers?hsLang=en#revcontent-best-practices)
    - [Campaign Options](https://help.revcontent.com/knowledge/advertisers?hsLang=en#campaign-options)
    - [Optimization Tips and Tools](https://help.revcontent.com/knowledge/advertisers?hsLang=en#optimization-tips-and-tools)
    - [Troubleshooting](https://help.revcontent.com/knowledge/advertisers?hsLang=en#troubleshooting)
    - [Advertiser Tracking](https://help.revcontent.com/knowledge/advertisers?hsLang=en#advertiser-tracking)
    - [Advertiser API](https://help.revcontent.com/knowledge/advertisers?hsLang=en#advertiser-api)
    - [Accounting & Billing](https://help.revcontent.com/knowledge/advertisers?hsLang=en#accounting-billing)
    - [Demand-side Platforms](https://help.revcontent.com/knowledge/advertisers?hsLang=en#demand-side-platforms)
- [Publishers](https://help.revcontent.com/knowledge/publishers?hsLang=en#main-content)

    - [Publisher Account](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-account)
    - [Widget Settings & Options](https://help.revcontent.com/knowledge/publishers?hsLang=en#widget-settings-options)
    - [Labs Widgets](https://help.revcontent.com/knowledge/publishers?hsLang=en#labs-widgets)
    - [Publisher Reporting](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-reporting)
    - [Publisher Compliance](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-compliance)
    - [Publisher Payments](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-payments)
    - [Email](https://help.revcontent.com/knowledge/publishers?hsLang=en#email)
    - [Supply-side Platforms](https://help.revcontent.com/knowledge/publishers?hsLang=en#supply-side-platforms)
- [Email Monetization](https://help.revcontent.com/knowledge/email-monetization?hsLang=en)
- [Terms & Agreements](https://help.revcontent.com/knowledge/terms-agreements?hsLang=en)

[![Chill listening crop-3](https://help.revcontent.com/hs-fs/hubfs/revcontent-mark-BK-1.png?width=30&height=28&name=revcontent-mark-BK-1.png "Chill listening crop-3")](https://revcontent.com/)

© 2026, RevContent, LLC. All Rights Reserved.

[Copyright](https://www.revcontent.com/policy/copyright) [Cookie Policy](https://www.revcontent.com/policy/cookie-policy) [Privacy Policies](https://www.revcontent.com/policy/privacy-policy) [Opt Out](https://www.revcontent.com/legal/optout/?hsCtaTracking=5306afdf-6769-4bd9-87ab-280b36dd7363%7C39c8c8b7-a7b1-4c60-9381-2624d1633c34)