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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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