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]
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}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?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.