• Hi,

    I want to use Event Tracking in Analytics to see when people are clicking on the review links. Any advise on the best way to accomplish this would be greatly appreciated! I have the following code which I think I need to add to the links, but I don’t know where to add it.

    onclick=“_gap.push([‘_trackEvent’,’reviewread’,’readreview’,’review’]);”

    Thanks so much!

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

    (@widgetpack)

    Hello,

    Could you request to support to get more information by [email protected]?
    And send link to your website any page with widget.


    Best regards,
    WidgetPack team.

    • This reply was modified 9 years, 8 months ago by richplugins.
    Thread Starter radleyb

    (@radleyb)

    Thank you! I sent the email.

    Plugin Author richplugins

    (@widgetpack)

    Hello,

    Ok, thanks! I understood your question.

    Unfortunately, in regular plugin it can’t be made. Because it’s cloud solution (https://widgetpack.com/google-places-reviews) and we just embed this widget in WordPress via JavaScript.

    But we have a Pro version (https://googlereviews.pro/) hosted by WordPress. There no depend on any cloud services this keep all settings and reviews (with place) in WordPress database and as a result your can change any php files of this plugin and add this one onclick=“_gap.push([‘_trackEvent’,’reviewread’,’readreview’,’review’]);” to any links.

    Please let me know if you want to have more information about Pro plugin.


    Best regards,
    WidgetPack team.

    Thread Starter radleyb

    (@radleyb)

    Thank you. Is there anyway to add a class to the links in the version that I am using?

    Plugin Author richplugins

    (@widgetpack)

    Hi,

    Unfortunately, no.
    But why do you need to do this? You just can use our class for override style, for instance.


    Best regards,
    WidgetPack team.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Analytics event tracking for links’ is closed to new replies.