-
Troubleshooting issues with GTM Data Layer Variable Version 1
“Hey folks, I’ve run into a curious situation with my GTM container. I’ve got three data layer variables – ‘firstName’ and ‘lastName’, which are version 2, and ‘phoneNumber’ which is version 1.
The odd thing is, when I use ‘dataLayer.push’ to first add someone’s phone number, and then remove it, the ‘phoneNumber’ doesn’t get removed from the output, even though I’m using version 1 for it.
So what I’m scratching my head about is – can you mix and match version 1 and 2, or should all of the variables be the same version? Any help would be greatly appreciated!”
Log in to reply.