sGTM: Run Multiple Custom Client Template Unit Tests

sGTM: Run Multiple Custom Client Template Unit Tests

In this advanced level guide I’ll introduce how to create & run multiple Server-side GTM Unit Tests. I will share some practical tricks with examples on how to overcome unexpected challenges when your Custom Client Template Unit tests try to claim the request right after each other when we run them in batch. For the better understanding, I’ve wrapped the technical parts in a fictional business story. If you’re not interested in the story nor the planning or custom client coding part jump right to the section on Testing: Unit Testing our Client Template. ...

June 4, 2024 · 18 min · Roland Bende