We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

How to set up telephone calls tracking?

Development and Programming

Sobek's avatar
Sobek
3 posts
14 years ago
Sobek's avatar Sobek

Hi All I have difficult task to achieve: I need to be able to track telephone calls from various marketing sources. Our telephone system is set up to give us statistics how many calls are coming from each campaign: each campaign has different telephone number. Our page template allow us to choose telephone number showed in header. Our website: http://www.idealresponse.co.uk/

I will explain my problem by example: Visitor was lead to website by AdWords, he landed on designated “landing page” where telephone number showed is for that campaign. If he call that number our calls statistics will show it.

BUT: if he browse website further he will see general phone number (as he navigate away from designated landing page) If he call to number showed on general (organic) pages we will loose track of that campaign (source of call).

Is there any way to override telephone numbers so number on entry - landing page will override all pages?

I was thinking about customized URLs or use of cookies. No idea 😊

I wonder if someone’s got some idea how to solve it.

Regards Sobek [email protected]

       
lebisol's avatar
lebisol
2,234 posts
14 years ago
lebisol's avatar lebisol

You can detect where on the site user is by looking into URL and what EE refers to as URL Segment. Then use Conditionals to form the logic based on what segment user is visiting. so simple eg.

visitor is on http://example.com/index.php/products/sale/
{if segment_2 == 'sale'} Sales Dept. Tel # {/if}

or perhaps http://example.com/index.php/contacts/support/mobile/
{if last_segment == 'mobile'}  Mobile Tech Support Tel # {/if}
       
Sobek's avatar
Sobek
3 posts
14 years ago
Sobek's avatar Sobek

Thank You!

By my understanding it will work on page where visitor landed, for example: http://www.idealresponse.co.uk/services/ideal-response/flood-and-water-damage/adwords but if he navigate away using menus we will lost /adwords segment. Unless is a way to add this segment to all links from AdWords page; alternative versions of all pages?

       
lebisol's avatar
lebisol
2,234 posts
14 years ago
lebisol's avatar lebisol

Sorry but not sure about appending to URL without 404 issues, have not tried to play with AdWords that much.

       
Sobek's avatar
Sobek
3 posts
14 years ago
Sobek's avatar Sobek

Thanks.

       
Ian from Aus's avatar
Ian from Aus
94 posts
14 years ago
Ian from Aus's avatar Ian from Aus

You could store the phone number for that user in their session via a cookie… that way it could be retrieved anywhere on the site. It would require coding either by enabling PHP in your templates (or an included header template), or by using an add-on of some variety.

       
lebisol's avatar
lebisol
2,234 posts
14 years ago
lebisol's avatar lebisol

This might be of use when dealing with cookies: http://devot-ee.com/add-ons/cookies fwiw

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.