AdWords
4.6K members online now
4.6K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

call tracking alpha numeric

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

using the call tracking js does anyone know if it can be done with a an alpha numeric number ie:

123-555-tele

 

i've tried multiple ways including rewriting on the fly with jquery to no avail.

 

 

2 Expert replyverified_user

Re: call tracking alpha numeric

Top Contributor
# 2
Top Contributor
Hi Matt G,

Did you get a vanity number from Google? I'm not sure I understand your question.

Under Part III: Create a JavaScript snippet to display a Google forwarding number, take a look at the 3rd example on this page: https://support.google.com/adwords/answer/6095883?hl=en

This is for a click-to-call link when the number is formatted differently for the link and for display. I don't know for certain, but I would be surprised if the number 123555tele would work for the tel: link.

If that's no help, please provide a little more detail about what you want to do.

Best of Luck!

Pete
petebardo -- Deadhead doing AdWords

Re: call tracking alpha numeric

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
yes the number comes from google changes via JS:
onload="_googWcmGet(gcall, \'123.555.tele\')"

Re: call tracking alpha numeric

Top Contributor
# 4
Top Contributor
Hi Matt G,

Did you get this working?

Pete
petebardo -- Deadhead doing AdWords

Re: call tracking alpha numeric

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
negative. no matter the code i use the cookie sends the proper formatted number from google, but also appends my alpha number to it. so the number change happens, just not properly formatted.

Re: call tracking alpha numeric

Community Manager
# 6
Community Manager
Hi Matt,

Unfortunately the website call tracking feature does not support vanity numbers.

Let me know if you have any questions,
Cassie

Re: call tracking alpha numeric

Top Contributor
# 7
Top Contributor
Hi Matt,

Interesting. Do you want to provide the gcall function code? That doesn't make sense to me.

Pete
petebardo -- Deadhead doing AdWords

Re: call tracking alpha numeric

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭
<script>

// CHANGE FONES BASED ON CLASS NAME
var gcall = function(formatted_number, mobile_number) {
var eee = document.getElementsByClassName("google-number");
for (var i = 0; i < eee.length; i++) {
eee[i].href = "tel:" + mobile_number;
eee[i].innerHTML = ""
eee[i].appendChild(document.createTextNode(formatted_number));
}
};

&lt;/script&gt;

<a class="phone-call google-number" href="tel:+15128373376">512.837.DERM (3376)</a>

onload="_googWcmGet(gcall, '512.837.DERM (3376)')"

Re: call tracking alpha numeric

Top Contributor
# 9
Top Contributor
Hi Matt,

I see. That probably isn't going to work. Try this:

onload="_googWcmGet(gcall, '512.837.3376')"

or this:

onload="_googWcmGet(gcall, '512-837-3376')"

See if that works for you.

Pete

petebardo -- Deadhead doing AdWords

Re: call tracking alpha numeric

Visitor ✭ ✭ ✭
# 10
Visitor ✭ ✭ ✭
worked! I thought it had to look into the class match the strings and rewrite the new phone in. why does this work?