def METHOD_NAME(self):
    """Converts the AnalyticsData to DXO object.
    Returns:
        DXO object
    """
    data = {TrackConst.TRACK_KEY: self.tag, TrackConst.TRACK_VALUE: self.value}
    if self.step is not None:
        data[TrackConst.GLOBAL_STEP_KEY] = self.step
    if self.path:
        data[TrackConst.PATH_KEY] = self.path
    if self.kwargs:
        data[TrackConst.KWARGS_KEY] = self.kwargs
    dxo = DXO(data_kind=DataKind.ANALYTIC, data=data)
    dxo.set_meta_prop(TrackConst.DATA_TYPE_KEY, self.data_type)
    dxo.set_meta_prop(TrackConst.TRACKER_KEY, self.sender)
    return dxo