Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
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