twitter.png
facebook.png
youtube.png
linkedin.png

Free Way to Track Website Phone Leads to Get at Your ROI

Jul 13, 2016

There are more sophisticated ways to do this, but if you are on a budget and need to track phone leads from your website, here is an inexpensive way of doing it. This article shows you how to add a little javascript to your website to display different phone numbers to your users so you can track where your leads are coming from. A pretty slick way to put together an ROI for a campaign. Here is the code that you would add to the <head> of the page:

var current_page = document.URL; var sourceConfirm = current_page.indexOf(“?source-track”);
var phone_num=”XXX-XXX-XXXX”; if (paidConfirm != -1) { document.cookie = “Track this Source”; } else { }
var cookieCheck=document.cookie.indexOf(“Track this Source”);
if (cookieCheck != -1) { phone_num=”YYY-YYY-YYYY”; } else { }

Replace “?source-track” with whatever parameter you are using to tag the inbound link with. Replace XXX-XXX-XXXX with your default phone number. Replace YYY-YYY-YYYY with the variable phone number that you would like tracked.


Put the following tag where you need the phone number to display:

<script>phone_num</script>


Tags:

Category: Online Marketing