Data capturing on Page Load rules

Avatar

Avatar
Validate 1
Level 1
shreyasr2921505
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
shreyasr2921505
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
shreyasr2921505
Level 1

09-02-2017

Hi ,

 

I have a requirement where on page load i need to capture some  information , i have captured info for all fields , except 1 field , this data is not availlable on page load ,

since api takes some time to bring data from database , now once the page is loaded i can access this info , but by now variable is evaluated  and in DTM we have logged as NULL , how can this be achieved on Page load rule .

Can i make it to wait until i get api response ,

can i update the page load rules data later after page loads ,

currently my rule is executing at bottom of page and still  not capturing value , guess by then data from API is not there 

 

Thanks 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 5
andrew_r-GrfLbX
Level 5

Likes

82 likes

Total Posts

133 posts

Correct reply

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

Avatar
Validate 10
Level 5
andrew_r-GrfLbX
Level 5

Likes

82 likes

Total Posts

133 posts

Correct reply

36 solutions
Top badges earned
Validate 10
Validate 1
Boost 50
Boost 5
Boost 3
View profile
andrew_r-GrfLbX
Level 5

10-02-2017

You either set the rule to trigger on DOM Load or a better way would be to have the script which is pulling the data from database to run _satellite.track call and set up a direct call rule in DTM then you can be sure the tag won't trigger until the data is loaded.

Answers (0)