Adding code snippet to registration "Thank You" page

Options
I have a bit of javascript that needs to be on the final page of registration. (It triggers a notification to a third party that a registration has been completed). I've added the code to the content part of that page in the TeamRaiser set up (13. Customize Pages a. TeamRaiser Pages > Thank You).


The code doesn't seem to be working. Is there a different place that I can add this code (I want it to execute only when registration is complete)?
Tagged:

Comments

  • Hi Sally -


    I have a few questions to ask before I can really understand your scenario. The most likely candidate for script not firing is that there is a javascript conflict, but without more information it's hard to know without seeing it first-hand.
    1. Can you provide a URL to this event registration?
    2. Is your event on a Blueprint?
    3. Does your event have a registration fee?
    Alternate answer to placing the script on the Thank You page from the TeamRaiser module, is to place the script via the PageWrapper (if you have PageWrapper Editor Admin permissions, that is):


    You can use a conditional to only insert the script by the particiular page name:

    [[?xrthanksx::x[[S334:pg]]x::
    <!-- I am the TeamRaiser TY page, insert your code here -->>
    ::<!-- no code here-->]]

    Happy coding,

    Sara
  • Sara Hoffman:

    Hi Sally -


    I have a few questions to ask before I can really understand your scenario. The most likely candidate for script not firing is that there is a javascript conflict, but without more information it's hard to know without seeing it first-hand.

    1. Can you provide a URL to this event registration?
    2. Is your event on a Blueprint?
    3. Does your event have a registration fee?
    Alternate answer to placing the script on the Thank You page from the TeamRaiser module, is to place the script via the PageWrapper (if you have PageWrapper Editor Admin permissions, that is):


    You can use a conditional to only insert the script by the particiular page name:

    [[?xrthanksx::x[[S334:pg]]x::
    <!-- I am the TeamRaiser TY page, insert your code here -->>
    ::<!-- no code here-->]]

    Happy coding,

    Sara

     

    I found out that the problem was that the parameter needed by the script was not being passed when the registration flow switches domains to the secure domain. However, I think putting the code in the page wrapper will fix the problem. Thanks so much.

    == Sally

Categories