Hi,
I have a script that is triggered when someone clicks in an area with a specific ID. For example:
– I add “tiqets” to block/advanced/html anchor;
– I add this to wp_footer:
<script
src=”https://tiqets-cdn.s3.amazonaws.com/booking_engine/loader/11384.js”></script>
– Someone clicks on the area of that block with #tiqets and it triggers the above;
I’ve tried with css classes, using .tiqets instead of #tiqets on the trigger-selector, and adding “tiqets” to blocl/advanced/additional css classes, but it didn’t work.
I would like to trigger this when someone clicks on a specific menu item in the primary navigation and also in the off canvas menu. For this I would need tho add an ID to a menu item. Is this possible? If not is there any turnaround?
Thank you for your help