Have a banner that sometimes displays on a webpage.
The text in the banner changes depending on circumstance and I want to use GTM visibility trigger or variable to identify which type of banner is shown.
Trying to get a CSS selector that works for this element (this shows one example with text ‘Get help urgently’.
Have a banner that sometimes displays on a webpage.
The text in the banner changes depending on circumstance and I want to use visibility trigger or variable to identify which type of banner is shown.
Trying to get a CSS selector that works for this element (this shows on example with text ‘Get help urgently’.
<h2 class="heading-l">
<div class="xrm-editable-html xrm-attribute" data- languagecontext="English"><div class="xrm-attribute-value">Get help urgently</div></div>
`
Tried to use CSS selector tools, but I just get div#urgentEnquiry h2 > div > div and this doesn’t help.
Looked at simo ahava’s blog https://www.simoahava.com/analytics/css-selector-guide-google-tag-manager/ but the examples use HTML that uses
Can anyone help?