This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Could you explain a bit what this code is trying to do ? so I can assist better
Also shortcodes don't work inside Javascript since Javascript is process on the frontend. Shortcodes are processed by PHP which occurs on the server side.
Hi, Shane is out today so I'll take over this ticket. I hope that's okay with you. I think I see what you're trying to do here, but I'm not quite clear. Should the script tags for each modal element be in the source code of your page on page load, or should they be inserted into the DOM dynamically when each modal is opened?
It appears to me that you're trying to trigger some tracking code when someone opens a modal, but instead all the code is included directly in the page. This will result in your tracking events all firing on page load, instead of waiting until the modal is opened. Can you explain in a bit more detail for me?
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.