Expand my Community achievements bar.

SOLVED

Unable to track Adobe Event Rule via CSS Selectors

Avatar

Level 3

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!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 3

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?