• Resolved clickharder

    (@clickharder)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author rocketelements

    (@rocketelements)

    I understand the problem. Not writting the html could be a potential performance problem but it is on our list. Maybe there are other upsides on removing the content too. For now we will stick to that as the most common online services do it similar.

    Thread Starter clickharder

    (@clickharder)

    There could also be performance gains depending on how much information is being split test on a page. If the split test is image heavy you would be loading unnecessary images which is bound to have a greater performance cost.

    Plugin Author rocketelements

    (@rocketelements)

    Yes this is true. We will release this in the next version. Due to Elementor limitations we can only purge the content of the widget itself and not the wrappers surrounding the widget. That should be a solution anyway. At least for the image loading.

    Plugin Author rocketelements

    (@rocketelements)

    We release a new version where the widget content is purged. You may take a look it fits your needs 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ID Conflict’ is closed to new replies.