Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Adobe Target Flickering issue

pradeep_07
Level 4
Level 4

Hey,

 

I am trying to load Launch script Async along with Adobe target. I see flickering issue with async script. I know we have pre hiding snippet which need to be placed top of the header tag , but going with pre hiding snippet causing page load performance issue . is there any other recommendation or alternate solution for flickering issue?

 

Thanks,

 

 

Adobe Target
3 Replies
yuhuisg
Community Advisor
Community Advisor

The pre-hiding snippet causes the browser to not show any of the BODY contents until the timeout (specified in the snippet) has passed. Is that content hiding what you meant by "page load performance issues"?

As an alternative, if you are experimenting with only one part of the page, you can modify the pre-hiding snippet to hide just that portion of the page. This is done by changing the "body" selector in the script to the selector for that page portion. It will still cause the browser to not show the content of that page portion for a while, but that should still show the rest of the page's BODY content.

pradeep_07
Level 4
Level 4
thanks . Is there a way to load target outside of launch? if yes , how does it work?
yuhuisg
Community Advisor
Community Advisor
@pradeep_07 Yes, you can definitely run the pre-hiding snippet outside of Launch. It will work in exactly the same way. It's all JavaScript, after all. The only difference is that your developers will need to add the code to the pages and then deploy those pages to production, whereas with Launch, you can publish the changes whenever you're comfortable.