Allow custom code to only run on the front end #27328
jamieburchell
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prerequisites
What problem is your feature request going to solve? Please describe..
When using custom code to add Analytics/GTM to a website, the code is also run in the template editor which makes this documented use case unviable.
Describe the solution you'd like.
It would be nice if you could choose to only execute the code on the front end
Describe alternatives you've considered.
Add additional conditions in GTM for tag firing but this complicates tag/trigger setup, especially as the URLs are not in a predictable and easy format to filter e.g.
example[.]com/?elementor_library=homepage&post_id=x&render_mode=screenshot&render_mode_nonce=x&ver=x.
Additional context
#25562
Agreement
Beta Was this translation helpful? Give feedback.
All reactions