Brave (widget) builder UTM capture Integration
As HandL UTM Grabber works well with cache enabled websites. In most ofCreate the
cases,fields youin doBrave notFormneedtoshown anybefore. server-sideField adjustments.Name BecauseMUST match our pluginparameter leveragesname. trackingSee client-side.our However,parameter name here Native WP ShortcodesAdd the following JS codes in your WP's footer
<script>
jQuery( document ).ready(function() {
Object.entries(brave_popup_formData).forEach(entry => {
var [k, v] = entry;
var fields = JSON.parse(v.fields)
Object.entries(fields).forEach(entry2 => {
var [k2, v2] = entry2;
if
you(v2.uid feel&& thathandl_utm_all_params.indexOf(v2.uid) the> tracking-1){
isjQuery('#brave_form_field'+k2).hide()
notjQuery('[name="'+k2+'"]').attr('value',Cookies.get(v2.uid))
working,}
please})
do})
the})
approproate</script>
steps based on your setup and server configuration.