set metatags in onBeforeAction