Expand my Community achievements bar.

SOLVED

[Pre-Hiding Snippet] - Confusion Regarding Implementation

Avatar

Level 2

Hi everyone,

I'm seeking some clarification on the implementation of the pre-hiding snippet in Adobe Launch and the correct configuration of the Body Hiding and Body Hidden Style settings. We're experiencing some confusion about how to set these configurations in two different scenarios:

Scenario 1: Without the Pre-Hiding Snippet Hard-Coded

Currently, we have not implemented the pre-hiding snippet. Our settings are:

  • Body Hiding: Enabled
  • Body Hidden Style: body {opacity: 1}

Is this the correct configuration, or should we make any changes to optimize performance or functionality?

Scenario 2: With the Pre-Hiding Snippet Hard-Coded

We are planning to hard-code the pre-hiding snippet into our implementation. For this scenario, we need guidance on:

  • Should the Body Hiding still be enabled?
  • What should the Body Hidden Style be set to?

Appreciate it!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @miahi

For scenario 1 (no pre-hiding code deployed to the page):

  • Body hiding should be disabled (it only make sense to enable it IF the prehiding code is on the page)
  • Body hidden style doesn't matter when disabled

For scenario 2:

  • If you want utilized the flicker management capabilities in Target, then yes you should enable body hiding.
  • The body hidden style can usually be left at the default body {opacity: 1} it should match the style set in your pre-hiding snippet if you customized it.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi @miahi

For scenario 1 (no pre-hiding code deployed to the page):

  • Body hiding should be disabled (it only make sense to enable it IF the prehiding code is on the page)
  • Body hidden style doesn't matter when disabled

For scenario 2:

  • If you want utilized the flicker management capabilities in Target, then yes you should enable body hiding.
  • The body hidden style can usually be left at the default body {opacity: 1} it should match the style set in your pre-hiding snippet if you customized it.