Adding Google Analytics to your Wix site -- and a free alternative option: StatCounter

Wix only allows accounts with a connected domain to add Google Analytics. If you have a connected domain, then use these instructions to get started.

No custom domain? There are also free alternatives to consider, such as StatCounter. Here are instructions for installing the tracking code on Wix.