WordPress.org

Support

Support » Plugins and Hacks » Google Analytics by MonsterInsights » How to use API Filters yoast-ga-push-before-pageview ?

How to use API Filters yoast-ga-push-before-pageview ?

  • Hi,
    Can someone explain how / if I can use the API filters to add some custom code to the tracking javascript via functions.php?

    I’d like to add some custom code that includes some php but when I input into the Custom Code form in the admin, the php is never executed.

    Can I add a filter in functions.php and use the yoast-ga-push-before-pageview hook? Can someone post some sample code where this might work?

    Thanks.
    m

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  • The topic ‘How to use API Filters yoast-ga-push-before-pageview ?’ is closed to new replies.
Skip to toolbar