Highlighted

Class not showing up in Event Based Rules

Avatar

Avatar

MMOUIRE

Avatar

MMOUIRE

MMOUIRE

15-10-2015

Hi,

I have been able to set up an even based rule based on a header logo for our website by simply putting in Element Tag = a, and Property = class and Value = company-logo. This fires when I click on the log.

I've done the same for a number of other elements. However, for other elements, particularly those in <li> tags, I cannot get tags to fire.

has anyone had this issue before?

Replies

Highlighted

Avatar

Avatar

Rahsing

Avatar

Rahsing

Rahsing

15-10-2015

Hi Michael,

Could you let us know if your problem has been resolved?

Regards

Rahul

Highlighted

Avatar

Avatar

Cleve_Young

Avatar

Cleve_Young

Cleve_Young

15-10-2015

Sometimes links activate so fast that the DTM rule never gets to finish, or other code firing on that link interferes with or cuts off the DTM code. One way I've used to identify that DTM is at least recognizing the click, but not being allowed to finish is to put a message in the Conditions section of the Rule. After all of the other conditons I'll add a custom code condition like the following:

_satellite.notify("DTM Rule was triggered",1); return true;

If you see that message in the Console you know the Rules conditions are being met but something else is interfering with the rest of the rule executing.

Highlighted

Avatar

Avatar

Rahsing

Avatar

Rahsing

Rahsing

15-10-2015

Hi Michael,

Could you please paste a snapshot of this error for an <li> tag?

Regards

Rahul