Optimizely Commerce Analytics (B2B) supports both Universal Analytics and Google Analytics 4. This section only covers setup for Google Analytics 4.
Google Analytics implementation requires a testing process. Optimizely recommends implementing Google Analytics on your Sandbox site first and verifying accurate event tracking before recreating the tracking on your Production site.
Therefore, please complete the first two steps below twice—once for Sandbox and once for Production—before moving to the third step.
- Set up Google Analytics for your website.
- Set up Google Tag Manager with GA4.
- B2B Analytics go-live checklist.
Json files
You will need the following json file for Spire CMS during this process. The file for Classic CMS is coming soon.