(function($) {
    'use strict';

    $(document).ready(function() {
        document.addEventListener('seekmake_dashboard_loaded', function(e) {
        });

        document.addEventListener('seekmake_dashboard_action', function(e) {
            if (typeof gtag !== 'undefined') {
                gtag('event', 'dashboard_action', {
                    'event_category': 'SeekMake',
                    'event_label': e.detail.action
                });
            }
        });
    });

})(jQuery);
