D
D
Dmitry Serikov2022-01-25 18:26:04
Google Analytics
Dmitry Serikov, 2022-01-25 18:26:04

How to catch dynamic css selector?

https://art-buket.com/ the site has a quick order button, it does not work in any way in the google tag manager click-all elements-corresponds to the css selector #awooc-custom-order-button. But all these buttons have their own id at the end, for example #awooc-custom-order-button-123, the other one has #awooc-custom-order-button-789 how can I set the target for a quick order?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vlad11660, 2022-01-25
@vlad11660

as an option, write a regular expression that will catch the text #awooc-custom-order-button- and then specify an expression that checks that there will be a 3-digit number

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question