mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			360 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			360 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import analyticsHelper from '.';
 | 
						|
 | 
						|
export default {
 | 
						|
  // This function is called when the Vue plugin is installed
 | 
						|
  install(Vue) {
 | 
						|
    analyticsHelper.init();
 | 
						|
    Vue.prototype.$analytics = analyticsHelper;
 | 
						|
    // Add a shorthand function for the track method on the helper module
 | 
						|
    Vue.prototype.$track = analyticsHelper.track.bind(analyticsHelper);
 | 
						|
  },
 | 
						|
};
 |