Example:
<a onclick="return gtag_report_conversion('tel:800-123-4567');" href="tel:800-123-4567">Call now!</a>
I would greatly appreciate help with this issue. This is something we would like to implement for all of our clients.
Hi @1stteamllc I was having the same issue but figure out a fix. If you add the number to the text section it will allow google ads to swap out numbers. We did ours like this.
In the button text section: “Call Now: 413-306-5555”
Tested it and it works
Yes, but this track conversions on every page? I made about 20 landing pages and I need to know which page the clicks are coming from. It would be nice to have the conversion in adwords, but even manually being able to compare numbers using a spreadsheet would be nice.
@kraker can you clarify what you did exactly to track conversions? Thanks
@jgrietveld
Adwords tracks conversions separately from conversions in Analytics. If it’s not too much trouble, do you think a different onclick setting for Adwords could be incorporated into the plugin settings?
I think the output would look like this:
onclick=”gtag(‘event’, ‘Call Now Button’, {event_category: ‘contact’, event_label: ‘phone’});gtag_report_conversion(tel:555-555-5555);”
Thanks in advance.
Scratch my previous reply here. I no longer think there’s a need to add the functionality I mentioned to the plugin.
The reason is you can now import Conversion Goals directly from Analytics into Adwords.
In Adwords
Tools & Settings > Conversions.
Click the blue + button.
Click Import.
(If you haven’t linked the Analytics and Adwords accounts, you can do so here… after which, start the instructions above over again.)
Hi all!
Thank you all so much for your inputs! I apologise for my very late response!
Special thanks to chernicky for explaining how to do this now without changing the code of the Call Now Button!
That being said, I believe some people would still prefer to be able to enable the onclick event on the Call Now Button so I’m adding the option now. I expect to push this update before the weekend!
Again, thanks all for the feedback and suggestions!
Cheers,
Jerry