Closed dchun closed 9 years ago
@phuong3030 I just realized that we can actually get the referer data from our servers when the POST request is made -_-
We can add something to the inline js file that detects if google analytics is setup, if it is, collect all relevant information like the following example: http://stackoverflow.com/questions/5631830/get-the-referrer-paid-natural-and-keywords-for-the-current-visitor-with-google
The referer data can be get by using ahoy library. In quote public link, we have collect the ip and the view duration. Compare with google analytic, ahoy uses for create our data.
Ahoy:
Google analytics
i meant analytics coming in from the client side of for requests not quotes. So when a form is submitted, we should collect data like ip and referer
I will add the script to form-inline.js and inline script tag to form raw html. So we can collect the data we want.
Since we are adding forms via js, it may require additional work to get referer (ip etc) data since we are not retrieving it serverside.
@phuong3030 Any ideas on how we should collect some basic analytics for incoming requests and form submissions?