Google Analytics "Track Free Signups" Option Doesn't Seem to Work

Discussion in 'Integration' started by mspronk, Oct 24, 2013.

  1. mspronk

    mspronk aMember Pro Customer

    Joined:
    Feb 6, 2007
    Messages:
    8
    Hello,

    The Google Analytics plugin is working great but does not seem to be tracking any of the sales for a trial product that costs $0 up front, then $X later. We want Analytics to show the $0 transaction for the trial.

    We have the option ticked "Track Free Signups" but that does not seem to help. We use both PayPal and PayPal pro and are tracking the items as configured in the google-analytics.php file. It appears that this section refers to the track free signups options:

    if (empty($payment->amount) && !$this->getDi()->config->get('google_analytics_track_free_signups')) {
    return $out;
    } elseif (empty($payment->amount)) {
    $a = array(
    $invoice->public_id,
    "",
    0,
    0,
    0,
    $invoice->getCity(),
    $invoice->getState(),
    $invoice->getCountry(),
    );
    } else {
    $a = array(
    $payment->transaction_id,
    "",
    $payment->amount,
    $payment->tax,
    $payment->shipping,
    $invoice->getCity(),
    $invoice->getState(),
    $invoice->getCountry(),
    );
    }
    $a = implode(",\n", array_map('json_encode', $a));
    $items = "";

    Any ideas, suggestions, or help would be appreciated.
  2. mspronk

    mspronk aMember Pro Customer

    Joined:
    Feb 6, 2007
    Messages:
    8
    MORE INFO:
    First Price = 0.00
    First Period = 15 days
    Rebill Times = rebill 2nd price Until cancelled
    Second Price = 16.77
    Second Period = 30 days

Share This Page