In X-cart 4 google analytics is not implemented using Global Site Tag. So when you do convert over (I will create a post for this later) you will need to know how to track internal searches in analytics.