Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Viewport

Avatar

Level 1

HI,

After I see the banner on a particular page by scrolling down to the button until i get it into my view port .A rule should fire in the Omnibug . How should I set the conditions for this .Please need your help.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi -

In DTM, you will want to set up an Event Based rule.

In the "Conditions" , you will want to select "enters viewport" and provide the element tag/selector that needs to enter the viewport.

In this example (see screen shot below), when the attribute scrolled-to enters into the viewport and is in the viewport for 2000 milliseconds, then the rule will fire off.

1405934_pastedImage_0.png

Thanks -

Sarah

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi -

In DTM, you will want to set up an Event Based rule.

In the "Conditions" , you will want to select "enters viewport" and provide the element tag/selector that needs to enter the viewport.

In this example (see screen shot below), when the attribute scrolled-to enters into the viewport and is in the viewport for 2000 milliseconds, then the rule will fire off.

1405934_pastedImage_0.png

Thanks -

Sarah