Skip to content

Instantly share code, notes, and snippets.

@PetersonDave
Created October 10, 2013 16:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save PetersonDave/6921298 to your computer and use it in GitHub Desktop.
Google Analytics Event Save Action. As the form action is empty, we're using this to tag a form as one which should track form submits in Google Analytics.
public class RecordGoogleAnalyticsSubmitAction : ISaveAction, ISubmit
{
public void Execute(ID formid, AdaptedResultList fields, params object[] data)
{
return;
}
public void Submit(ID formid, AdaptedResultList fields)
{
return;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment