Support » Plugin: MailPoet Newsletters » [Plugin: Wysija Newsletters] FIX – Unsubscribe link does not work with Google Analytics

  • Resolved Chandle

    (@chandle)


    wysija-newsletters/helpers/mailer.php

    Move:

    $Wysijaurls=array();
                    $Wysijaurls["action=unsubscribe"]="[unsubscribe_link]";
                    $Wysijaurls["action=subscriptions"]="[subscriptions_link]";

    After:

    $urlreuse=$url;

    Find:

    if( isset($email->params['googletrackingcode']) && trim($email->params['googletrackingcode']) ){

    Replace with:

    if( !in_array($url, $Wysijaurls) && isset($email->params['googletrackingcode']) && trim($email->params['googletrackingcode']) ){

    Remove:

    $coreUrl=false;

    (obsolete line)

    http://wordpress.org/extend/plugins/wysija-newsletters/

  • The topic ‘[Plugin: Wysija Newsletters] FIX – Unsubscribe link does not work with Google Analytics’ is closed to new replies.