Zaraz Google Analytics Not Working on Subdomains

We are looking to trigger google analytics pixel via Zaraz on all pages of our domain. While Google Analytics is working fine for all pages starting with www but its NOT working on subdomains. So we are not getting traffic data from subdomains. Also, when we inspect pages on www, we see the zaraz but not when we inspect subdomains.

Please suggest what can we do to fix this.