Launchpad Training Hub API Community Support CTM Home
Activities
Activity Logs
Contacts
Flows
Automation
Chats
Forms
Routing
Release Videos
Release Notes
COVID-19
Integrations
ABTasty
Acquisio
AMP
Bing
Bizible
Cake
Facebook
Gong i.o
Google Ads
Google Analytics
Google Data Studio
Google Marketing Platform
Hubspot
Instapage
Kenshoo
Kissmetrics
Mailchimp
Marin Software
Marketo
Microsoft Dynamics
Optimizely
Oracle Maxymiser
Salesforce
SendGrid
Slack
SnapChat
Stripe
SugarCRM
Symplify
Unbounce
VWO
Wix.com
WordPress
Zapier
ZenDesk
ZOHO
General
Help Center
Numbers
Management
Dynamic Numbers
Reports
Analytics
Contact Center
Reports Delete
Usage
Report Settings
Settings
Account Management
Current Account
Contact Management
Parent/Agency
Configuration
Users
Softphone
Texts
Text Settings
Recorded Training
CTM Academy
On-Demand Videos
Upcoming Topical Webinars
Menu +

Install CTM Tracking Code

Tracking Code and Dynamic Number Insertion

In order to track calls back to your online advertising campaigns, you will want to use CTM’s tracking code to dynamically display tracking numbers on your website.

The tracking code is a script that determines the advertising channel that led a visitor to your website and shows the tracking number that corresponds to that channel. Once the visitor calls your tracking numbers, the tracking code allows you to see the details of the visit as soon as the phone starts ringing.

This provides powerful in-the-moment information for your agents and is the data that populates your online advertising reports. The tracking code is unique to each account or account.

Install your Tracking Code

1. Go to Numbers → Tracking Code.

Numbers > Tracking Code

2. Copy the javascript code and paste it into the top of your website, after the tag of each page.

Copy & paste javascript code

Note: You only have to add this code once to your website. The code will not need to be updated or re-installed if you modify your account (allocate new tracking numbers, modify account settings, etc.).

If your site is built on WordPress, you can use our WordPress plugin to install the tracking code.

For Advanced Tracking Script Options, please refer to our API Integration guide.

Test the Tracking Code on your Site

1. Open a New Private Window in your browser.

2. Visit your website from the channel you want to test. For example, to test a Google Adwords visitor, navigate to your websiteurl.com?gclid=test.  For Google Organic, search for your website on Google and click the appropriate search result.
Test the Tracking Code on your Site

3. Once the website and script load, you should see the tracking number that you have set up to track that channel.

To test, we recommend using Google Chrome’s and sign in as Guest in browser.

Set Your Cookie Duration

Another critical function of the CTM tracking is that it remembers your visitors in order to continue to show them the tracking number that they saw when they first came to the site. This allows the software to attribute the call back to the original visit so you know which ad was the one that first got their attention.

1. From the Tracking Code page, select “Cookie Settings” from the left hand menu.
2. Set the duration of days that visitors will be associated with the original Tracking Source. (By default, the system is set to 30 days. Setting the value to 0 will disable cookies).
3. Click ‘Update Settings’ to save your changes.

Set Your Cookie Duration

Using third-party cookies will be helpful if people go to a separate landing page before coming to your domain. If you prefer to not use cookies for your visitors, you can enable “Last Touch” for the tracking source. With this feature enabled, visitors will always be shown the tracking number that matches the most recent channel they used to get to your site.

X