2.4K members online now
2.4K 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

New Ad extension

Explorer ✭ ✭ ✭
# 1
Explorer ✭ ✭ ✭

Hi Guys,


For all of you technical people out there - I need some help with the new feature from Google - the website call extension tracking feature. According to their specs, they can replace anything in a specific class/span. What happens if I have my phone number in multiple span classes?
Is there a way to have it match to multiple classes?



1 Expert replyverified_user

Re: New Ad extension

Top Contributor
# 2
Top Contributor
Hi david-nationalp,

I suggest you create a class that has no style attached and wrap the phone number with a span of that class. Place that all within the span class tag where the numbers appear on your page. Something like this:

<span class=yourClass><span class=googlephone>1-555-555-5555</span></span>

This will preserve the style of yourClass and allow the Google script to update all phone numbers on your page.

Best of Luck!

petebardo -- Deadhead doing AdWords