Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Dynamic Telephone Number Insertion

dynamic telephone number insertion



1:15 pm on Aug 10, 2011 (gmt 0)

5+ Year Member


been looking around for a possibility to utilize dynamic telephone number insertion for my adwords campaign but I couldn't find a workable solution to dyanmically show telephone numbers on my site.

for example:

If visitor comes to my site through campaign A, a cookie is saved on his computer and, depending on this data, a telephone number is displayed. In this case telephone number A.

Does anyone know a piece of software that already does this? I can imagine, that it wouldn't be too difficult to set up.



1:17 pm on Aug 11, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Can you not just process your content before it is sent to the browser and replace/add the required telephone number?

You are obviously using some PHP solution for your site?


5:13 am on Aug 12, 2011 (gmt 0)

5+ Year Member

If Adwords ref data -> campaign A
setcookie("Campaign", "a");


if isset($_COOKIE["Campaign"]) {
if ($_COOKIE["Campaign"] == "a") echo "Tel 123";
else echo "Tel 987";
else echo "Don't bug us";


10:07 am on Aug 12, 2011 (gmt 0)

5+ Year Member

@mipapage you are right, badbadmonkey showed me the solution.

@badbadmonkey, it didn't work at first but I managed to get it to work.

Thanks a lot.

Featured Threads

Hot Threads This Week

Hot Threads This Month