I blocked spam referral n social traffic sites but daily attack from different sites so give me solution for it whether blocking country traffic helps or not.
You can't block it because most of these visits are from API calls and never touch your site. You have to filter it in google analytics. Google it. Filtering to only allow approved hostname(s) will get rid of most of it.