ID Conflict
-
There is an issue with how the split tests are displayed on the page if you also track overall page conversions using Google Analytics.
Elementor has a built in “Button ID” for buttons. That ID is assigned to the link itself as an ID to track conversions in Analytics.
<a href="[conversion-page]" id="ButtonID">The conflict with the split test is that the same ID has to be assigned to all three buttons. That way, Google Analytics tracks the conversion regardless of which button is displayed to the visitor.
The problem is that all three buttons are available in the source code, they are just hidden from view. So there are three buttons with the same ID on the page, two of them are not visible.
This could have unintended consequences but I don’t know if it is an immediate problem. A few possible solutions could be changing the button IDs for non-displayed buttons or not writing the HTML for them at all. Just a few thoughts.
Thanks,
Ryan
The topic ‘ID Conflict’ is closed to new replies.