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

load order question

Avatar

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

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

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
scottt6073095
Level 4

25-07-2018

I need to load content in a specific order where timing is super important. what is the best way to accomplish this in launch. In DTM, I could use sequential HTML but I don't see that option in launch for a third party tag.

I tried creating a rule and use "then" but when I check console.logs it doesn't fire in that order

I need to make sure I fire in order:

  1. pardot cookie tracker script
  2. then fire src script that gets written in with document.write and appends to our dataLayer object as a child
  3. then collect the data from the child object in evars

step 2 needs to be sequential as it takes more time to load and right now analytics is already trying to capture values before its ready to provide any. How can I create the same sequential HTML as I do in DTM that works?

thanks for any help.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

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

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
scottt6073095
Level 4

27-07-2018

I didn't want a delay so I am just self-hosting analytics file and injecting the script I need to load at a specific time

Answers (2)

Answers (2)

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

468 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

14-11-2018

That's probably the best way to do it. You could also load the AppMeasurement script managed by Adobe, but do so synchronously, then make sure all your rules are triggered in the correct order.

Avatar

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

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

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
scottt6073095
Level 4

26-07-2018

I was able to use the "discovery data layer" extension and create a rule that delayed the global variables from firing for 1000 ms and it worked perfectly and collected all the data from the child object however, i want to make sure there is not a better way to do this.