function enqueueData(data, isCurrClick) {
  packageQueue.push(JSON.stringify(data));
  if (isCurrClick) {
    currClickPackage = [];
  }
}
/**
 * Pushes the current click package to the queue to be sent, then resets the current
 * click package (if isCurrClick is set to true)
 * @param {Object} data - The data that you would like to pacakge and enqueue
 * @param {Boolean} isCurrClick - If data is the currClickPackage (true) or not (false)
 */
Pushes the current click package to the queue to be sent, then resets the current
click package (if isCurrClick is set to true)
@param {Object} data - The data that you would like to pacakge and enqueue
@param {Boolean} isCurrClick - If data is the currClickPackage (true) or not (false)
Pushes the current click package to the queue to be sent then resets the current click package ( if isCurrClick is set to true ) @param { Object } data - The data that you would like to pacakge and enqueue @param { Boolean } isCurrClick - If data is the currClickPackage ( true ) or not ( false )
function enqueueData(data, isCurrClick) {
  packageQueue.push(JSON.stringify(data));
  if (isCurrClick) {
    currClickPackage = [];
  }
}
function enqueueData ( data , isCurrClick ) { packageQueue . push ( JSON . stringify ( data ) ) ; if ( isCurrClick ) { currClickPackage = [ ] ; } }
Pushes the current click package to the queue to be sent, then resets the current
 click package (if isCurrClick is set to true)
 @param {Object} data - The data that you would like to pacakge and enqueue
 @param {Boolean} isCurrClick - If data is the currClickPackage (true) or not (false)
Pushes the current click package to the queue to be sent then resets the current click package ( if isCurrClick is set to true ) @param { Object } data - The data that you would like to pacakge and enqueue @param { Boolean } isCurrClick - If data is the currClickPackage ( true ) or not ( false )