How to Install Tracking Code on Your Website
Revenue.io can replace standard phone numbers on your website with smart tracking numbers that reflect a visitor’s referral source. For dynamic number insertion (DNI) to work, add the Revenue.io tracking JavaScript to each page. Insert the snippet between the <head> tags of each page’s HTML.
You can obtain the tracking code in several ways.
Dynamic Number Insertion tool
You can open Dynamic Number Insertion in the left navigation under Call Tracking at any time to access the tracking code.
- Insert the tracking code between the
<head>tags on every page where you want smart numbers to appear. - In the HTML where the phone number appears, wrap each number you want to replace with a
divorspanthat uses theringdna-smartnumberclass, for example:
<div class="ringdna-smartnumber">1-800-111-2222</div>or
<span class="ringdna-smartnumber">1-800-111-2222</span>- We recommend that you conduct a test to make sure that Revenue.io’s dynamic number replacement is working. When the referral source you are tracking takes you to your website, make sure that the proper smart tracking number is being displayed.
Last updated on