Unable to track Adobe Event Rule via CSS Selectors

haritikam738202

30-01-2019

We are trying to find a third-party pixel on successful sign-up of the newsletter:

Newsletter | E! Online | The Rundown

We placed a Data Attribute on the successful sign-up which happens after clicking on Sign-up button and displays "Thank you for Subscribing" message:

  • data-omniture = "newsletter-signup-success"

Screen Shot 2019-01-30 at 5.53.52 PM.png

Now, I am placing an Event rule to fire when this data attribute occurs on the page on successful sign-up, but I am unable to make the script fire. Below shows my conditions:

Screen Shot 2019-01-30 at 5.55.07 PM.png

I'd appreciate any help in solving this and letting me know how to set the conditions correctly.

Thank you in advance!

Accepted Solutions (0)

Answers (2)

Answers (2)

haritikam738202

31-01-2019

Thank you! When I make those changes it fires before the sign-up because we have a class defined as below:

Screen Shot 2019-01-31 at 10.23.02 AM.png

Can I do custom attribute for data-omniture = newsletter-signup-success which only exists when successfully signed up?

ishans52004352

Employee

31-01-2019

You may want to check the Path (it should be newsletter). Additionally, could you try using the following:

Event Type

element exists

Element Tag or Selector

.newsletter-landing__success