GA: Custom Code Installation & Verification Tips
Mapping all Tracking Items
Before any code installation begins, create a reference file of all tracking you intend to implement. We organize our reference by tracking methods (events, pageviews, dimensions, goals, etc.). This will help you catch any potential tracking gaps that should be covered.
Testing & Validation
Whenever possible during Universal Analytics upgrades, we create a new property in the client’s Google Analytics account for implementation testing. This allows us to view all newly coded tracking alongside the existing tracking. We can verify that the new tracking is being mirrored by existing tracking, and then transition the existing tracking out. When using this testing method, be sure to remember to switch out the test UA-ID for the existing one.