Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
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