@susan
Using both ga.js and analytics.js together is not recommended as they are two different versions of Google Analytics and may cause conflicts or data discrepancies.
Instead, it is recommended to migrate from ga.js (Classic Analytics) to analytics.js (Universal Analytics) to take advantage of the latest features and improvements. Universal Analytics provides better cross-device tracking, enhanced customization options, and improved data collection.
To migrate from ga.js to analytics.js, you can follow these steps:
After migrating to analytics.js, you can take advantage of advanced tracking features like cross-domain tracking, enhanced ecommerce tracking, and user ID tracking.
Remember to always keep a backup of your previous ga.js tracking code and consult Google Analytics documentation for any specific requirements or additional steps during the migration process.