Support » Plugin: Google Analyticator » Setting up goals for outbound link events

  • Hi – I would like to set up a goal in Google Analytics around outbound links that are clicked and tracked through Analyticator. I have the outbound link tracking enabled and it works properly as an event reported in Google Analytics. I would like to assign a goal for whenever outbound links are clicked.

    Based on the code in the following code in the plugin, it looks like the Google Analytics Category would be: Outbound Traffic

    ga('send', 'event', 'Outbound Traffic', href.match(/:\/\/(.[^/]+)/)[1], href);

    How do I assign the Action for “href.match(/:\/\/(.[^/]+)/)[1]”?

    Am I missing something, or is there another way to do this?


  • The topic ‘Setting up goals for outbound link events’ is closed to new replies.