Expand my Community achievements bar.

SOLVED

To exclude traffic by page DOM element or JavaScript variable?

Avatar

Level 1

Hi all,

 

Is there a way to exclude or to specific traffic by the content of the page, (DOM element or Javascript variable)?

Campaign trigger only when specific variable /element is within the targeting pages.

 

Many thanks!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @collettec199516 

 

I guess in that case you'll need to fire mbox on dom ready event. Then create DL which returns some value if dom element is present. Pass it in mbox param and use it to create audience

 

Thanks.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi @collettec199516 

 

I guess in that case you'll need to fire mbox on dom ready event. Then create DL which returns some value if dom element is present. Pass it in mbox param and use it to create audience

 

Thanks.