Google Conversion Tracking

Discussion in 'Customization & add-ons' started by booforum, Aug 3, 2011.

  1. booforum

    booforum aMember Pro Customer

    Joined:
    May 20, 2005
    Messages:
    180
    Where would I put the code for "Google Conversion Tracking"?

    And are there any issues I should know going forward before pasting this code into a page?

    Thanks
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,435
    amember/templates/thanks.html

    However, you may need to have an if/then statement so the tracking isnt triggered by free payments, or by the wrong product ordered.

    Also- it wont include subscriptions after the initial payment.

    David
  3. baduist

    baduist Member

    Joined:
    Apr 13, 2012
    Messages:
    33
    There's nothing at amember/templates. Can't find thanks.html anywhere. Could post this be outdated?
  4. baduist

    baduist Member

    Joined:
    Apr 13, 2012
    Messages:
    33
  5. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    amember version??
  6. baduist

    baduist Member

    Joined:
    Apr 13, 2012
    Messages:
    33
  7. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,435
    amember/application/default/views/
    thanks.phtml
    or
    _receipt.phtml
  8. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    _receipt.phtml is also display after sale or before payment (for confirmation), so it is better to include tracking code into thanks.phtml
    the variable is $invoice
    <?php echo $invoice->first_total ?> // output total to pay now
  9. baduist

    baduist Member

    Joined:
    Apr 13, 2012
    Messages:
    33
    Thanks for the answers guys. Is there a place where all this information is available? It seems pretty hard to find the answers, and I have to keep starting threads (and getting super short answers :)).

    I'd love to help keep an up-to-date documentation if someone can work with me personally to provide all the data.

    As I see it right now, documentation and support is the biggest weak point for amember (comparing to s2member for example).
  10. baduist

    baduist Member

    Joined:
    Apr 13, 2012
    Messages:
    33
    What would be the http url for goals in Google Analytics? mysite.com/amember/thanks.phtml?

Share This Page