{"action":"created","issue":{"url":"https://api.github.com/repos/mishbahr/djangocms-forms/issues/9","labels_url":"https://api.github.com/repos/mishbahr/djangocms-forms/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mishbahr/djangocms-forms/issues/9/comments","events_url":"https://api.github.com/repos/mishbahr/djangocms-forms/issues/9/events","html_url":"https://github.com/mishbahr/djangocms-forms/issues/9","id":100563097,"number":9,"title":"Making successful submission a conversion point","user":{"login":"zanderle","id":5232693,"avatar_url":"https://avatars.githubusercontent.com/u/5232693?v=3","gravatar_id":"","url":"https://api.github.com/users/zanderle","html_url":"https://github.com/zanderle","followers_url":"https://api.github.com/users/zanderle/followers","following_url":"https://api.github.com/users/zanderle/following{/other_user}","gists_url":"https://api.github.com/users/zanderle/gists{/gist_id}","starred_url":"https://api.github.com/users/zanderle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanderle/subscriptions","organizations_url":"https://api.github.com/users/zanderle/orgs","repos_url":"https://api.github.com/users/zanderle/repos","events_url":"https://api.github.com/users/zanderle/events{/privacy}","received_events_url":"https://api.github.com/users/zanderle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mishbahr/djangocms-forms/labels/non-issue","name":"non-issue","color":"fef2c0"},{"url":"https://api.github.com/repos/mishbahr/djangocms-forms/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T14:57:11Z","updated_at":"2015-08-12T18:06:21Z","closed_at":null,"body":"Hi!\r\n\r\nI am trying to make my form be a conversion point on my website. Meaning, I would like to send some data to Google Analytics after the form was successfully submitted.  I have two questions about this:\r\n\r\n1.) The sending to GA should be done, when formValid is called. What do you think would be the best way of going about this? Should I be extending the CMSForms in jquery.djangocms-forms.js, or is there a neater way of doing it?\r\n\r\n2.) It'd be much easier if this was already a part of the project. I can create a PR for this feature, but am not sure if you would want to include it (I assume it would depend on whether or not this is a common requirement). Let me know if there is a need for this or not.\r\n\r\nThanks,\r\nŽan"},"comment":{"url":"https://api.github.com/repos/mishbahr/djangocms-forms/issues/comments/130395295","html_url":"https://github.com/mishbahr/djangocms-forms/issues/9#issuecomment-130395295","issue_url":"https://api.github.com/repos/mishbahr/djangocms-forms/issues/9","id":130395295,"user":{"login":"mishbahr","id":1264089,"avatar_url":"https://avatars.githubusercontent.com/u/1264089?v=3","gravatar_id":"","url":"https://api.github.com/users/mishbahr","html_url":"https://github.com/mishbahr","followers_url":"https://api.github.com/users/mishbahr/followers","following_url":"https://api.github.com/users/mishbahr/following{/other_user}","gists_url":"https://api.github.com/users/mishbahr/gists{/gist_id}","starred_url":"https://api.github.com/users/mishbahr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishbahr/subscriptions","organizations_url":"https://api.github.com/users/mishbahr/orgs","repos_url":"https://api.github.com/users/mishbahr/repos","events_url":"https://api.github.com/users/mishbahr/events{/privacy}","received_events_url":"https://api.github.com/users/mishbahr/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T18:06:21Z","updated_at":"2015-08-12T18:06:21Z","body":"I'm already working on this feature.. I was planning on implementing it both client side .. so a onFormValid callback option for the jQuery plugin and also option to send data server side using Google measurment protocol.\r\n\r\nPull requests are welcome.. I can't guarantee to merge it in.. I will take your implentation into consideration.\r\n\r\nThank you.\r\n\r\nDon't forget to 'Star' the repo... If you found it useful."}}