Skip to main content
alternative
Source Link
Anibal
  • 7.4k
  • 14
  • 22

You can implement Analytics Event Tracking (E.g. Click on Contact Button).

<a href="#" onClick="_gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);">Submit</a>

Ref: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

As an alternative, you can add Javascript source code in each contact page. As the simplest posible way, you can install NoNumber Sourcerer (http://www.nonumber.nl/extensions/sourcerer), and a snippet like this to associate the event with the button:

jQuery( '#ContactButton' ).click(function( event ) {
  _gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);
});

You can implement Analytics Event Tracking (E.g. Click on Contact Button).

<a href="#" onClick="_gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);">Submit</a>

Ref: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

You can implement Analytics Event Tracking (E.g. Click on Contact Button).

<a href="#" onClick="_gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);">Submit</a>

Ref: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

As an alternative, you can add Javascript source code in each contact page. As the simplest posible way, you can install NoNumber Sourcerer (http://www.nonumber.nl/extensions/sourcerer), and a snippet like this to associate the event with the button:

jQuery( '#ContactButton' ).click(function( event ) {
  _gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);
});
Source Link
Anibal
  • 7.4k
  • 14
  • 22

You can implement Analytics Event Tracking (E.g. Click on Contact Button).

<a href="#" onClick="_gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);">Submit</a>

Ref: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide