RevExit

A guide to setting up and modifying RevExit widgets

rev_exit

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

Default is "both", for both desktop & mobile. Alternatively can be set to "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