there are a few step to with this.
Setup your Google Analytics account for your site.
Hyperlink your Slides and/or Layers.
Add the "ga-button" class to your hyperlinks.
Add the following script to your slider's Custom JavaScript section.
jQuery('body').on('click', '.ga-button', function() {
var $this = jQuery(this),
data = $this.attr('data-link') || $this.attr('href');
if(!data) {
data = $this.attr('data-actions');
if(data) data = data[0].url;
if(!data) data = $this.attr('id');
}
gtag('event', 'click', { event_category: 'outbound', event_action: 'click', event_label: data});
});
Track All Slide Changes:
jQuery(window).on('load', function() {
jQuery('.rev_slider').each(function() {
var ids = jQuery(this).attr('id').split('rev_slider_')[1].split('_')[0],
api = eval('revapi' + ids);
api.on('revolution.slide.onchange', function(e, data) {
var data = 'Slider ' + ids + ' changed to slide #' + data.slideIndex;
gtag('event', 'click', { event_category: 'outbound', event_action: 'click', event_label: data});
});
});
});
All done Enjoy;