Integration plugins

Discussion in 'Troubleshooting' started by jooza, Sep 18, 2008.

  1. jooza

    jooza New Member

    Joined:
    Jul 17, 2008
    Messages:
    11
    To be able to return a customer to one of my pages which they visited previously (after logout) I think would require a small, separate database with some fields common to amember and an extra which contains the url of the last area of my site visited. Do I need an integration plugin for this functionality?
  2. Sergei

    Sergei aMember Pro Customer

    Joined:
    Mar 6, 2006
    Messages:
    96
    Why not use Google Analytics?
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Just to make sure I understand:

    1) User visits site
    2) User logs in
    3) Browses around to various pages
    4) Leaves your site (closes browser, whatever) while viewing "EXAMPLE PAGE" <- could be any page on your site
    5) User comes back to your site
    6) User logs in and is redirected to "EXAMPLE PAGE"

    This seems fairly easy to do, would involve two minor modifications.

    1) Code added to your header or footer (assuming they are loaded every page) that either writes the URL to the database for the user when they are logged in once on exit (via javascript) or every page (via PHP)
    2) Modified redirect to point to that user variable

Share This Page