Can we add pre-hiding snippet through Launch Rule

Avatar

Avatar
Give Back 5
Level 4
LordOfTheRings
Level 4

Likes

66 likes

Total Posts

128 posts

Correct reply

23 solutions
Top badges earned
Give Back 5
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Give Back 5
Level 4
LordOfTheRings
Level 4

Likes

66 likes

Total Posts

128 posts

Correct reply

23 solutions
Top badges earned
Give Back 5
Validate 10
Validate 1
Contributor
Shape 1
View profile
LordOfTheRings
Level 4

04-02-2021

Hi Team,

 

Client Dev Team doesn't want to add pre-hiding snippet on page and is not much confident about this code. Target is implemented through launch async and we want to add this snippet before loading target action?

So wanted to check if that works? We checked and it didnt work actually , we observed flicker.

 

Regards,

Ambika

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
surebee
Employee

Likes

69 likes

Total Posts

83 posts

Correct reply

21 solutions
Top badges earned
Coach
Contributor
Shape 1
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
surebee
Employee

Likes

69 likes

Total Posts

83 posts

Correct reply

21 solutions
Top badges earned
Coach
Contributor
Shape 1
Give Back 5
Give Back 3
View profile
surebee
Employee

04-02-2021

Hey @LordOfTheRings,

Thanks for reaching out!

Per our docs, If you load at.js via a tag manager, which is also loaded asynchronously, you must add the snippet before loading the tag manager. If the tag manager is loaded synchronously, the script might be included within the tag manager before at.js. Therefore, for your use case, the snippet must be added to the page prior to the Launch embed code, directly on the page.

Hope this helps!

Answers (0)