- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Hi,
I have problems firing some events.
I have created an add to Cart event just like in the Tealium advanced course, followed the same steps.
When I test the events sometimes it fires and sometimes it doesnt. I have tested with the UTag debugger, filtering just the utag.link
Any clues what may be happening?
Thanks!
@germanpedreira The most likely issue is that the selector is not correct for every "add to cart" link on your site. The selector in the screenshot is very specific, which means any variation in the site HTML will cause the selector not to work.
You can try a couple things to improve the selector:
.class1, .class2, .class3
span
at the end of the selector is not necessary.For more information, see How to determine the CSS selector of an element.
07-24-2023 12:33 PM - edited 07-24-2023 01:22 PM
@TealiumJustin Yes, it seems that the problem is with the selector.
I tried removing the span but doesnt seem to work all the times.
I have tried to add the class to the element selector but seems that I am doing it wrong.
I tried with this ones:
And a few more but they dont work, not sure what else to try.
Thanks for the help!
07-24-2023 12:40 PM - edited 07-24-2023 12:41 PM
Copyright All Rights Reserved © 2008-2023