Skip to content

Instantly share code, notes, and snippets.

@paulleduc paulleduc/unbounce.html Secret

Last active Aug 31, 2016
What would you like to do?
Unbounce Ringpool JavaScript
<script type="text/javascript" src=""></script>
<script type="text/javascript">
RingPartner Unbounce Ringpool JavaScript Instructions:
Add this script to your Unbounce page using the 'Add New Javascript' button under
Add your API URL(s) below where specified, adding {tokens} to the tracking variables
that correspond to variables in the URL of your Unbounce page.
Add your keyword defaults where specified, including the default phone number in case
the API URL fails. This script also functions as a keyword insertion script, meaning
you can insert values from the page URL into the page and display it to users. You may
also specify defaults for those keywords if they are not present in the page URL.
If your API URL is bulk ringpool (PNAPI) enabled, you can enable it below. If you are
unsure, skip this step. Most API URL's are not PNAPI enabled.
When editing your page in Unbounce, use the token {number} anywhere (in text, buttons,
links, even in link URL's) you want your Ringpool phone number to appear. You can also
use other {tokens} for keyword insertion.
apiUrls: [
// put your API URL(s) here with any parameters you want to pass through. You can use
// {tokens} to pass in parameters from the current address.
// You can use as many API URL's as you'd like, simply copy the line below to add more.
// Ensure that each URL is enclosed in double quotes and followed by a comma unless
// it's the last or only url.
keywordDefaults: {
// put your default keyword values here. they should be in the following format,
// note that there should be no trailing comma on the last or only line:
// number: "555-555-5555",
// keyword: "Hello World"
number: "555-555-5555"
// if your API URL is bulk ringpool (PNAPI) enabled, change the following value to true.
pnapi: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.