First Move Direct Marketing

35 Years of Delivering Direct Marketing Success

35 Years of Delivering Direct Marketing Success

[av_textblock size=” font_color=” color=”]

Unsubscribe

[/av_textblock]

[av_textblock size=” font_color=” color=”]

    Email (required)


    [/av_textblock]

    [av_codeblock wrapper_element=’script’ wrapper_element_attributes=”]
    function getParam(param) {
    var vars = {};
    window.location.href.replace( location.hash, ” ).replace(
    /[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
    function( m, key, value ) { // callback
    vars[key] = value !== undefined ? value : ”;
    }
    );

    if ( param ) {
    return vars[param] ? vars[param] : null;
    }
    return vars;
    }

    var unsubEmail = getParam(‘unsub’);

    document.getElementsByName(‘unsubscribe-email’)[0].value = unsubEmail;
    [/av_codeblock]