In Google analytics custom dimension value is not getting tracked

In Google analytics custom dimension value is not getting tracked

  

Given javascript ,

ga('send', 'event', 'Apply', 'Apply for Job', 'Apply for Job');
            ga('set', 'dimension2', '"+Session.HCP_ATS_SESSION.AtsId+"');
            ga('set', 'dimension7', '"+Session.Company.Code+"');
            ga('set', 'dimension8', '"+JobItem.SourceJobId+"');
            ga('set', 'dimension11', 'Similar');
            ga('set', 'dimension12', '"+JobItem.Specialty+"');}

Using given javascript,  dimension11  is getting tracked for some functions and for other functions it's not getting tracked by using the same javascript. So is there any way that we can confirm that value is getting set in custom dimension.