Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Rule only fires once per page view

bobbym31268664
Level 1
Level 1

Hi I have some video titles I'm trying to track the names of. I have a line in the code that only appears when a video modal is active and it's not present when one isn't. I have a core event set to fire when "Element Exists" for elements matching the CSS selector [data-video-title]. I have a variable to set variables set up as: Prop, Set As, %this.getAttribute(data-video-title)%. I have a variable to send a beacon and one to clear variables. 

 

Video titles are only firing once per page view. Going to another page and watching a video does fire the rule. I thought Clear Variables would allow it to fire more than once. Am I making any mistakes in my implementation? 

 

Thank you, 

 

Bobby

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies