{"id":5798,"date":"2023-08-07T08:03:01","date_gmt":"2023-08-07T08:03:01","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=5798"},"modified":"2024-02-14T11:39:41","modified_gmt":"2024-02-14T11:39:41","slug":"how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/","title":{"rendered":"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this article you&#8217;ll learn how to setup Pay Per Call Campaigns using Ringba.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are showing you how to setup Ringba campaigns using Serverside script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We used the clientside version but we found there was a latency when using a number pool.  You can see the phone number change in realtime.  This &#8216;flashy&#8217; experience could affect conversions so we chose to implement the serverside version.  Thankfully this is just as easy when using LeadsHook! \ud83d\ude42 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We are only sharing the Ringba setup required inside LeadsHook.  Please contact Ringba support for further details on setting up Ringba.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Setting Up API Node to Get Phone Number from the Number Pool<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Please watch this video to understand the setup inside LeadsHook.  And then see images, notes and scripts under the video.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"1) Setting Up Ringba A Stable Solution for Displaying Phone Numbers\" src=\"https:\/\/player.vimeo.com\/video\/852251003?h=3f6b100c42&amp;dnt=1&amp;app_id=122963\" width=\"980\" height=\"551\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">POST Request URL<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-1024x499.png\" alt=\"\" class=\"wp-image-5800\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-1024x499.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-300x146.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-768x375.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-60x29.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-150x73.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2.png 1222w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Copy and paste this URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;display.ringba.com\/v2\/nis\/gn\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Please ensure your HEADERS are as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"217\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-1024x217.png\" alt=\"\" class=\"wp-image-5801\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-1024x217.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-300x64.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-768x163.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-1536x326.png 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-60x13.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3-150x32.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-3.png 1968w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Copy and paste these headers into their own individual lines:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Content-Type:application\/json\n\nAuthorization: YOUR API TOKEN\n\nX-Forwarded-For:{ip_address}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Copy and paste your JSON payload.  Please note the required parameters highlighted with yellow.  The tags should be used to give you further and better insights.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can add more variables like answers, more geo or location data and device data.  These are all available inside LeadsHook.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"745\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4-1024x745.png\" alt=\"\" class=\"wp-image-5803\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4-1024x745.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4-300x218.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4-768x559.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4-60x44.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4-150x109.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-4.png 1496w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">How to Find Your JSTagID<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"388\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-1024x388.png\" alt=\"\" class=\"wp-image-6429\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-1024x388.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-300x114.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-768x291.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-1536x582.png 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-2048x776.png 2048w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-60x23.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-3-150x57.png 150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"471\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-1024x471.jpg\" alt=\"\" class=\"wp-image-6430\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-1024x471.jpg 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-300x138.jpg 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-768x354.jpg 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-1536x707.jpg 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-2048x943.jpg 2048w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-60x28.jpg 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba2-150x69.jpg 150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"468\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-1024x468.jpg\" alt=\"\" class=\"wp-image-6431\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-1024x468.jpg 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-300x137.jpg 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-768x351.jpg 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-1536x702.jpg 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-60x27.jpg 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3-150x69.jpg 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba3.jpg 1802w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"926\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-1024x926.jpg\" alt=\"\" class=\"wp-image-6432\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-1024x926.jpg 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-300x271.jpg 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-768x694.jpg 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-1536x1389.jpg 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-60x54.jpg 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4-150x136.jpg 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/Ringba4.jpg 1792w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>\n{\n\t\"JsTagId\": \"JSadb7e7b6a1bf4605a54daf0267590000\",\n\t\"CurrentEpoch\":{_c_eventtime},\n  \t\"Tags\": &#91;\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"utm_campaign\": \"{utm_campaign}\"\n\t\t},\t\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"utm_adset\": \"{utm_adset}\"\n\t\t},\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"utm_ad\": \"{utm_ad}\"\n\t\t},\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"utm_source\": \"{utm_source}\"\n\t\t},\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"utm_medium\": \"{utm_medium}\"\n\t\t},\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"fbclid\": \"{fbclid}\"\n\t\t},\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"ttclid\": \"{_tracking_ttclid}\"\n\t\t},\n\t\t{\n\t\t\"type\": \"User\",\n\t\t\"gclid\": \"{_tracking_gclid}\"\n\t\t},\n        {\n\t\t\"type\": \"User\",\n\t\t\"User Ip\": \"{ip_address}\"\n\t\t},\n        {\n\t\t\"type\": \"User\",\n\t\t\"Zip\": \"{_geoip_zip}\"\n\t\t},\n        {\n\t\t\"type\": \"User\",\n\t\t\"City\": \"{_geoip_city}\"\n\t\t},\n        {\n\t\t\"type\": \"User\",\n\t\t\"State\": \"{_geoip_regionCode}\"\n\t\t},\n        {\n\t\t\"type\": \"User\",\n\t\t\"Ringba State\": \"{_geoip_regionCode}\"\n\t\t},\n        {\n\t\t\"type\": \"User\",\n\t\t\"Ringba Zip\": \"{_geoip_zip}\"\n\t\t}\n\t]\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Understanding the Serverside Setup Including Button Script<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"2 Ringba Serverside Setup\" src=\"https:\/\/player.vimeo.com\/video\/852246453?h=3754c28dbd&amp;dnt=1&amp;app_id=122963\" width=\"980\" height=\"551\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can add a button on any node.  Click the &#8220;Source&#8221; button to add button copy:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"582\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-1024x582.png\" alt=\"\" class=\"wp-image-5804\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-1024x582.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-300x170.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-768x436.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-1536x873.png 1536w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-2048x1164.png 2048w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-60x34.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-5-150x85.png 150w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is an example script to create buttons.  Feel free to edit as required.  Please watch the video above to understand specifics about this script.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;p style=\"text-align: center;\"&gt;&lt;span style=\"color:#000000;\"&gt;You pre-qualify to get immediate payment of $1,000,000,000 . Tap the button below&nbsp;right&nbsp;now to secure your allocation!&lt;\/span&gt;&lt;\/p&gt;\n\n&lt;p style=\"text-align: center;\"&gt;&lt;a href=\"tel:{phone_number_pool|e164}\" id=\"phonecall\" target=\"_parent\"&gt;Call {phone_number_pool|national}&lt;\/a&gt;\n&lt;style type=\"text\/css\"&gt;#phonecall {\n    border: 1px solid #1f8bea;\n    border-radius: 3px;\n    background-color: #1f8bea;\n    color: white;\n    padding: 20px;\n    font-size: 20px;\n    text-decoration: none;\n    display: inline-block;\n    width: 90%;  \/* button will take full width of its container *\/\n    box-sizing: border-box; \/* so padding doesn't affect final width *\/\n  }\n\n  #phonecall:hover {\n    border: 1px solid black;\n    background-color: #2195fc;\n    color: white;\n    text-decoration: none;\n  }\n\n  \/* Adjusts style for screens smaller than 600px *\/\n  @media (max-width: 600px) {\n    #phonecall {\n      font-size: 16px; \/* adjust font size for small screens *\/\n      padding: 10px; \/* adjust padding for small screens *\/\n    }\n  }\n&lt;\/style&gt;\n&lt;\/p&gt;\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">3) How to Setup Tracking for Pay Per Call Button<\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-vimeo wp-block-embed-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"3) Tracking Pay Per Call Campaigns\" src=\"https:\/\/player.vimeo.com\/video\/852250911?h=5d2ec04f55&amp;dnt=1&amp;app_id=122963\" width=\"980\" height=\"551\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Add your tracking scripts to as a node level script.  Please note you will need to upgrade to Version 2 to take advantage of the easy-to-use function that passes data automatically into the data layer for tracking.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please see this &#8220;How to Setup &amp; Use Custom Events&#8221; section in the article linked below:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-leadshook-knowledge-base wp-block-embed-leadshook-knowledge-base\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"XYtcspEhEu\"><a href=\"https:\/\/www.leadshook.com\/help\/5-easy-non-techie-steps-to-setup-your-tracking-for-version-2-decision-trees\/\">5 Easy Non-Techie Steps to Setup Your Tracking for Version 2 Decision Trees<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;5 Easy Non-Techie Steps to Setup Your Tracking for Version 2 Decision Trees&#8221; &#8212; LeadsHook Knowledge Base\" src=\"https:\/\/www.leadshook.com\/help\/5-easy-non-techie-steps-to-setup-your-tracking-for-version-2-decision-trees\/embed\/#?secret=BggrGLQMjh#?secret=XYtcspEhEu\" data-secret=\"XYtcspEhEu\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Feel free to amend this script script for your needs. Watch the video to understand what the script below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sendCustomGTMEvent(&#8216;customEvent&#8217;,eventData) function works only with version 2 decision trees.  Please contact LeadsHook team to upgrade your account.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;script&gt;\n  \/\/ Get the button element with id \"phonecall\"\n  var phonecall = document.getElementById('phonecall');\n\n  \/\/ Add a click event listener to the button\n  phonecall.addEventListener('click', function() {\n    \/\/ Your lead generation and online conversion logic here\n    \/\/ ...\n\n    \/\/ Log a message to the console\n    console.log('Phone call button clicked. Script fired.');\n\n    \/\/ Push a dataLayer event within the iframe\n    var eventData = {\n      event: 'phoneCallButtonClicked',\n      \/\/ Add any additional data properties as needed\n    };\n\n   \/\/ Send the event data to the parent page\n       sendCustomGTMEvent('customEvent',eventData);\n  });\n&lt;\/script&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Do a full round of testing including seeing your conversion events inside your ad network.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Common Errors &amp; Issues<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Please ensure your JSTagID is correct. It starts with &#8220;JS&#8221;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"834\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-1024x834.png\" alt=\"\" class=\"wp-image-6424\" srcset=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-1024x834.png 1024w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-300x244.png 300w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-768x626.png 768w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-60x49.png 60w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image-150x122.png 150w, https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/09\/image.png 1404w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this article you&#8217;ll learn how to setup Pay Per Call Campaigns using Ringba. We are showing you how to setup Ringba campaigns using Serverside script. We used the clientside version but we found there was a latency when using a number pool. You can see the phone number change in realtime. This &#8216;flashy&#8217; experience [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158,27,12,620,239],"tags":[54,929,926,928,111],"class_list":["post-5798","post","type-post","status-publish","format-standard","hentry","category-custom-field","category-decision-tree","category-leadshook","category-scripts","category-tracking","tag-button","tag-pay-per-call","tag-ringba","tag-serverside","tag-tracking"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"In this article you&#8217;ll learn how to setup Pay Per Call Campaigns using Ringba. We are showing you how to setup Ringba campaigns using Serverside script. We used the clientside version but we found there was a latency when using a number pool. You can see the phone number change in realtime. This &#8216;flashy&#8217; experience [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-07T08:03:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-14T11:39:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-1024x499.png\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook\",\"datePublished\":\"2023-08-07T08:03:01+00:00\",\"dateModified\":\"2024-02-14T11:39:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/\"},\"wordCount\":417,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-2-1024x499.png\",\"keywords\":[\"button\",\"pay per call\",\"ringba\",\"serverside\",\"tracking\"],\"articleSection\":[\"Custom Fields\",\"Decision Tree\",\"LeadsHook\",\"Scripts\",\"Tracking\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/\",\"name\":\"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-2-1024x499.png\",\"datePublished\":\"2023-08-07T08:03:01+00:00\",\"dateModified\":\"2024-02-14T11:39:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-2.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-2.png\",\"width\":1222,\"height\":596},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook - LeadsHook Knowledge Base","og_description":"In this article you&#8217;ll learn how to setup Pay Per Call Campaigns using Ringba. We are showing you how to setup Ringba campaigns using Serverside script. We used the clientside version but we found there was a latency when using a number pool. You can see the phone number change in realtime. This &#8216;flashy&#8217; experience [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2023-08-07T08:03:01+00:00","article_modified_time":"2024-02-14T11:39:41+00:00","og_image":[{"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-1024x499.png","type":"","width":"","height":""}],"author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook","datePublished":"2023-08-07T08:03:01+00:00","dateModified":"2024-02-14T11:39:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/"},"wordCount":417,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-1024x499.png","keywords":["button","pay per call","ringba","serverside","tracking"],"articleSection":["Custom Fields","Decision Tree","LeadsHook","Scripts","Tracking"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/","url":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/","name":"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2-1024x499.png","datePublished":"2023-08-07T08:03:01+00:00","dateModified":"2024-02-14T11:39:41+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2023\/08\/image-2.png","width":1222,"height":596},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/how-to-setup-pay-ringba-per-call-campaigns-inside-leadshook\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/5798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=5798"}],"version-history":[{"count":7,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/5798\/revisions"}],"predecessor-version":[{"id":7285,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/5798\/revisions\/7285"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=5798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=5798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=5798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}