How to code tracking script into "only all 'thank you' pages"?

Options

We have a Google Analytics consultant asking us to implement a code on our 'thank you' pages -- of which there are many.

How can I include this code in the page wrapper for only those pages that are 'thank you' pages?

Tagged:

Comments

  • Cory,

    What specific applications are you talking about, as it varies from app to app. For example, in Donations, you could add a conditional to the wrapper like:



    ]x::T::]]x]::.donation=completed::T::]]x::xTxTx::
    code for donation thank you page here
    ::]]

    This conditional just checks that:

    a) The user is in the donations application, with application id 9.

    b) The currently URL contains ".donation=completed", indicating the user is on the thank you page.

    Other applications could be coded similarly using different applications ids and different URL strings to test for.

    In Survey, on the other hand, it's not quite as easy -- since one sets the thank you page URL on a form-by-form basis in Survey, there is no real way to test whether or not a given page is a Survey thank you page.

  • Also, I'd be interested to know what exactly the consultant is looking to do. Convio has built-in Google Analytics integration that can be turned on for your site, with some optional features like funnels which allow you to track a user's behavior and abandonment down pre-defined paths, and also the ability to add transactional details to thank you pages in apps like Donation forms, e.g. amount donated.

  • Noah Cooper:

    Also, I'd be interested to know what exactly the consultant is looking to do. Convio has built-in Google Analytics integration that can be turned on for your site, with some optional features like funnels which allow you to track a user's behavior and abandonment down pre-defined paths, and also the ability to add transactional details to thank you pages in apps like Donation forms, e.g. amount donated.

    Hi Nathan,

    Thanks for the advice and example. The consultant is trying to track conversions on visits referred by specific banner ads.

    My predecessor appears to have coded a lot of different analytics conditionals (for Google Analytics and another stats monitor, eTracker) page-by-page and in the pagewrapper, and not used the Convio options you point out here.  Perhaps this wild site options interface wasn't available at that time -- I'm not sure.  I'd love to set up GA through Convio but I'm not sure what all the consequences will be for my situation.

    I'll have to read this:

    Enabling Google Analytics Tracking (in Convio)

    http://help.convio.net/site/PageServer?pagename=Admin_Enabling_Google_Analytics

    And search around some more first...

    Thank you!

Categories