Categories

Find Articles

Preview doesn’t work or preview not showing correctly

1. The VWO code snippet that you have added on the page is not from the same account in which you have created the test. Please first make sure that the VWO code is from the same account in which you have created the tests. If the code snippet is from the correct account ID go to step 2(see image below to learn where to find account id in your VWO account).

You pasted the code in a wrong way

2. Go to the developer’s tool in Chrome (press F12) or Firefox (use Firebug) and look into console and check if there is some error in console regarding the VWO code snippet. In case you see some errors in the console, it could possibly be because you introduced some undesirable changes in the VWO code while pasting it on your web page. You could have accidentally introduced some new lines while pasting the code snippet. Please remember to copy paste the code snippet as it is without changing anything in the code (not even pressing Enter Key accidentally).

Test page pattern is wrong

3.  In case above two issue are absent, check your test page pattern again and make sure you have http or https or http* included in your test page pattern. Also check if there is a spelling mistake or incorrectness in the test page pattern. In case you are doubtful, use * as a test page pattern temporarily while debugging the issue.

Element coming on the page through Ajax, JavaScript, or embed tags

4. In case the above reasons do not lead to an explanation, it could possibly be an issue with the element being added on the page through Ajax or Javascript. VWO applies changes to the element as soon as the code is loaded and doesn’t wait for full page to be ready. In case an element is created later on the page through AJAX, embeded elements, Javascript, it should be changed using jQuery using Add JS/CSS functionality in VWO.

Element doesn’t have a unique ID

5. In case all above reasons fail to explain the issue, it could very well be an issue with xpath’s.
It is much better to have a unique ID on the element on which you wish to make the change rather than change elements without ID’s. In case you do not have a unique ID on the changed element, it’s xpath will be derived from the last element that has an ID. In such cases inconsistencies may very well arise due some script tags not loading in the xpath and therefore the xpath becoming invalid.

It’s a thumb rule that changes on elements with unique ID’s work much better
.

VN:F [1.9.22_1171]
Rating: 1.2/5 (19 votes cast)
Preview doesn’t work or preview not showing correctly, 1.2 out of 5 based on 19 ratings
Tags

No Comments

No comments yet.

Leave a comment →


Raise Support Ticket

Top

Raise a Support Ticket!

Your Name

Your Email

Your Query

Or, contact us through email support@wingify.com

Contact us for more information!

Your Name

Your Email

Your Message

Or, contact us through email info@wingify.com