S-tag for teamraiser registration transaction details?

Options
We are trying to capture registration fees paid and any additional donation amounts made during the teamraiser registration process for an individual user. Looking to generate those values on the the thank you page of the teamrasier registration ('rthanks') for the purposes of tracking through google analytics.



e.g.: a user signs up for a teamraiser, pays $15 registration fee, and makes an additional donation of $5 at time of registration. When they get to the thank you page, we want to run javascript that says: this user paid $15 fee, $5 donation, (or at least 'this user paid $20 during registration').



On donation forms this is easily done with the S120 tag, displaying on the thank you page amounts paid during the donation process, but there doesn't seem to be a comparable tag for TeamRaiser registration forms.



S48:dollars will not work as it may or may not include registration fees, depending on teamraiser settings. Any ideas?
Tagged:

Comments

  • Hi, Jeff!  I haven't had much time to look over this, though the problem interests me.  I'm on vacation atm and did a bit of reading -- I think it's possible you could use [[S48]] to find out this information, though the needed parameters might not be in the documentation.  Another possibility might be [[S16]], where you create a custom report that can grab those values for you when you pass in the fr_id and cons_id, though that might not be the best since reports can cause delays -- the thank you page might take an unacceptably long time to display when a web user expects snappy responses.



    I'll give it some testing and see if I come up with anything!
  • Not pretty sure about S-tag but on your wishlist of 'at least this user paid XX amount during registration' you can actually grab the value through Javascript like below -- note total amount value is on #total_amt selector ID container of that 'rthanks' page.



    var rthanks_total=jQuery('#total_amt').text();    

    var rthanks_market=jQuery('#fair_market_amt').text();    

    var rthanks_deductible=jQuery('#tax_deductible_amt').text();




    With that said, you could probably invoke the call to the ga ('send','pageview','[[S8]]'+rthanks_total)  to report that back to GA, or through virtual labeling ga send/event if you prefer roughly speaking post value retrieval above.



    If you want to break it down further like deducing the registration fee from the total amount, you could probably use cookie to listen to the selected radio button of the participant type (which is usually associated with its registration fee) and if they happened to have additional donation made during registration, you could also hold that in a cookie and use that to deduct at the rthanks page and report back to GA.



    Hope it helps.



    regards,

    Daniel



    EDIT Add On --

    You know that you could also pass the cons_id on that rthanks page, once someone registered and reaching that rthanks page, an account has been created on the backend thus you could also append that for your GA pageview send alongside the fr_id (that would make it easier to sort out duplicates in case if you don't have any specific conditional to really check whether this is someone reaching the rthanks the first time that they registered or if this is someone who happened to hit the rthanks again either through back button or for any reason)



    Ideally you want to make sure that GA only hit on the first initial registration completed process -- you could do that by checking the existence of those selector id mentioned above initially. When it's a second visit or if you happened to have already been registered for that even (and you are logged in) those containers won't be there the 2nd time.

     

Categories