noppy — 2012-11-14T11:37:46-05:00 — #1
i hope this is an ok place to ask this. I want to track click from adverts through to a signup page and then track the event of clicking the submit button (can't use success page due to the way the site is coded).
I can't for the life of me find a simple to follow guide how to do this in simple terms. maybe i am not using the correct terms when searching for answers.
does any one know a good tutorial or give me a bit of help setting this up.
any help appreciated.
yesceeohhh — 2012-11-14T23:22:07-05:00 — #2
You can use the following code in your submit button to get tracked in Analytics..
onclick="gaq.push(['trackEvent', ' Contact', 'C2action', 'submit']);
noppy — 2012-11-15T04:17:39-05:00 — #3
thanks for the reply.
Am i correct though in thinking this just tracks any click on the submit button? if this is the case how would i make it so that it tracks where the person came from. I really need to know that they came from a link in my enewsletter or facebook ad etc and then completed the form.
sorry if i am missing something.