I have setup google tag manager triggers a page where id's are used for triggering visibility of elements events. There are 2 versions of the page. I'm performing A/B testing for the both versions. To track events in variation separately I used different ID names by editing in google optimise. On testing the google tag manager the visibility events related to variant are not being triggered.
For Example: I have used id="tech-pro" for an element in original website and changed it to id = "tech-pro-v1" using google optimise a/b testing. The visibility event for the element with id = "tech-pro-v1" is not being triggered when it appears in A/B testing.
Please Help