Support » Plugin: Call Now Button » Google Analytics

  • Resolved MOTWGUY

    (@jeallen1055)


    Button works great, I use it on several sites. It would be helpful if you could add an “advanced” feature to expose the full URL so tracking information could be added.

    example: 256-555-1212

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jerry Rietveld

    (@jgrietveld)

    Hi there,

    Thanks for your message. Apologies for the late reply. Could you explain what kind of tracking information you would like to add?

    Thanks,
    Jerry

    Thread Starter MOTWGUY

    (@jeallen1055)

    Here’s an example of event tracking for Google analytics:
    <a href="tel:3307253108 onclick="ga('send', 'event', 'Phone Call', 'Click to Call', '330-725-3108', 0);">330-725-3108</a>

    • This reply was modified 2 years, 5 months ago by MOTWGUY.
    • This reply was modified 2 years, 5 months ago by MOTWGUY.
    Plugin Author Jerry Rietveld

    (@jgrietveld)

    Hi MOTWGUY,

    Event tracking has been part of the plugin from pretty much the beginning. Under Advanced Settings you’ll find an option called Click tracking where you can enable event tracking in GA for any version of GA. Is this what you’re referring to?

    For example, when you select Google Universal Analytics (analytics.js), the code of the button will look like this:
    <a href="tel:123456789" id="callnowbutton" onclick="ga('send', 'event', 'Contact', 'Call Now Button', 'Phone');"><span>123456789</span></a>

    Cheers,
    Jerry

    Thread Starter MOTWGUY

    (@jeallen1055)

    Yep, that look like what I need!

    Plugin Author Jerry Rietveld

    (@jgrietveld)

    Awesome! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Analytics’ is closed to new replies.