Learn business growth with Google Analytics 4 Forums Google Analytics 4 Troubleshooting issues with GTM Data Layer Variable Version 1 Reply To: Troubleshooting issues with GTM Data Layer Variable Version 1

  • Aiden

    Member
    2 August 2022 at 10:09 am

    Sure thing, happy to help! You’re absolutely okay mixing and matching v1 and v2 data layer variables in your GTM container. You’d typically choose depending on the structure of the objects you’re pushing.

    While v1 is a little more limited – it can only handle flat data structures and doesn’t offer recursive merging of complex objects. In your case though, where you’re handling simple info like first names, last names, and phone numbers, these limitations probably won’t cause any headaches.

    If you want to dive deeper into differences and use cases for v1 and v2, check out this nice article. But don’t sweat it, for your application it sounds like either version should do just fine. Happy data pushing!