Target Prehiding Snippet makes the Page Blank for few seconds, Alternate?

Avatar

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

315 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

315 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile
PratheepArunRaj
Moderator

05-09-2018

Dear Team,

We have implemented Target using Asynchronous Launch.

As per the link : https://docs.adobelaunch.com/extension-reference/adobe-extensions/adobe-target-extension , if we use Asynchronous way to push Target through the Launch, we need to add Pre-hiding snippet. We have done the same, but after the addition of Pre-hiding snippet our page goes blank for few seconds and then loads.

Do we have any solution to fix this? Kindly advice

Thank You

Arun

Replies

Avatar

Avatar
Give Back 5
Level 3
skandg43264764
Level 3

Likes

31 likes

Total Posts

38 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile

Avatar
Give Back 5
Level 3
skandg43264764
Level 3

Likes

31 likes

Total Posts

38 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 5
View profile
skandg43264764
Level 3

06-09-2018

Hi Arun,

By default the snippet pre-hides the whole HTML BODY.If you only want to pre-hide certain HTML elements and not the entire page.

You can achieve that by customizing the style parameter. It can be replaced with something that pre-hides only particular regions of the page.

You can refer this documentation to see this in detail:

https://marketing.adobe.com/resources/help/en_US/target/ov2/c_target-atjs-faq.html

Let us know, If you have any follow-up queries or concerns.

Regards

Skand Gupt

Avatar

Avatar
Boost 50
Employee
tanvia28417128
Employee

Likes

74 likes

Total Posts

61 posts

Correct reply

8 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
tanvia28417128
Employee

Likes

74 likes

Total Posts

61 posts

Correct reply

8 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
tanvia28417128
Employee

11-09-2018

Hi Arun,

The page is expected to go blank for a few microseconds with at.js. This was included to avoid any flicker on the page. This might take upto few seconds on slow network connections though.

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

11-09-2018

Hi Arun,

In your Launch Target rule do you have the body hiding enabled? If not, then it wouldn't reveal page until the pre-hiding timeout happens (3000 ms).

1569728_pastedImage_0.png

Avatar

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

315 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

315 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile
PratheepArunRaj
Moderator

14-09-2018

Dear TanviAgarwal ,

Thanks for the revert. But page blank for few seconds is also not a good experience right?

Our IT Team is not okay with the blank screen for few seconds. Do we have any other option to arrest this?

Dear ryanr8 ,

I have enabled the same. If it is enabled, don't we need Pre-hiding snippet? Kindly advice.

Thank You

Arun

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

20-09-2018

Yes, the body hiding enabled requires the pre-hiding snippet be implemented outside of Launch and before the Launch inclusion script tag when Launch is loading async.

Avatar

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

315 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile

Avatar
Seeker
Moderator
PratheepArunRaj
Moderator

Likes

315 likes

Total Posts

871 posts

Correct reply

265 solutions
Top badges earned
Seeker
Bedrock
Engage 1
Affirm 250
Contributor
View profile
PratheepArunRaj
Moderator

20-09-2018

Dear ryanr8,

Thank for the information. But the per-hiding snippet is making the page to go blank for few seconds and that's our concern. Business didn't want the experience. What to do?

Thank You

Arun

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

203 likes

Total Posts

224 posts

Correct reply

91 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

28-09-2018

Hi Arun,

If you've implemented correctly you should not see the page go blank for a few seconds. If you want to direct message me screen shots of your setup in Launch and send a url to check I'd be happy to review it for you.

-Ryan

Avatar

Avatar
Validate 1
Level 1
bkoth
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Validate 1
Give Back
Affirm 1
View profile

Avatar
Validate 1
Level 1
bkoth
Level 1

Likes

0 likes

Total Posts

4 posts

Correct reply

1 solution
Top badges earned
Validate 1
Give Back
Affirm 1
View profile
bkoth
Level 1

08-05-2020

Hey Ryan

just found this thread since we're looking into the same issue, async at.js loading (through Tealium tag manager).

Correct me if I'm wrong but the pre-hide snippet will cause anyone with an ad blocker to have a white screen for a few seconds, right? Is there any newer way around it (using 2.3.0), and is the 3s timeout value still best practice?

Cheers, Bjoern