How do I add a google analytics tag to a Spark donation confirmation screen?

Options
I am trying to add a tag to the donation confirmation screen for a Spark donation page in order to track the results of online marketing tactics in google analytics. I have the tag, just not sure where I put it within Spark.
Tagged:

Comments

  • Hey Neal,



    It sounds like you're asking how to put custom code on the confirmation page. For this we can edit the donation form, and make sure it's set to "use custom confirmation page". This will give you WYSIWYG editor and you can click HTML and pop in your code just like you normally would on a FTI part.



    Thanks!


    Karen
  • Will JavaScript execute in a custom confirmation page? I tried adding some and it didn't run. In fact, the confirmation page doesn't even seem to load as a separate page. You stay at the same URL as the donation form, which makes me think the content of the page is swapped out dynamically. Maybe that's why the JS code won't run?

Categories