Rich-text Reply
Highlighted

prerender issue with code snippet

Nicole 02-13-17

prerender issue with code snippet

Whenever I add the optmizely snippet to my website either hard coded into the head tag or inserted via a dynamic tag manager,    I get  a white box that pushes the page's content down when the site is run through a prendering program.

 

As everyting else works just fine, I was wondering if there was a to advoid this prerendering issue.

 

download (1).png

Level 2

robertchan 02-13-17
 

Re: prerender issue with code snippet

In your browser, right click and inspect the blank white box. Once you determine what the element is, you can remove it in your code:

$('.whatever-the-selector-is').remove();
Robert Chan

Experimentation Hero