You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm planning to add an upsell in our theme and add some Google Tag Manager utm query args. Using esc_url() replaces entities for display the & in the url.
I'm not sure this is an issue with GTM, but knowing how finicky things have been in the past I'm leery to have anything but exactly what they ask for in the URL.
I have https://example.com/?utm_source=engine&utm_medium=customizer&utm_campaign=mt-plugins (via add_query_arg)
I'm planning to add an upsell in our theme and add some Google Tag Manager utm query args. Using
esc_url()
replaces entities for display the&
in the url.I'm not sure this is an issue with GTM, but knowing how finicky things have been in the past I'm leery to have anything but exactly what they ask for in the URL.
I have
https://example.com/?utm_source=engine&utm_medium=customizer&utm_campaign=mt-plugins
(via add_query_arg)esc_url gives:
https://bizbudding.com/product-category/plugins?utm_source=engine&utm_medium=customizer&utm_campaign=mt-plugins
esc_url_raw gives:
https://example.com/?utm_source=engine&utm_medium=customizer&utm_campaign=mt-plugins
The text was updated successfully, but these errors were encountered: