Sinisterly
How to easily track email leads - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: How to easily track email leads (/Thread-How-to-easily-track-email-leads)



How to easily track email leads - hacxx - 11-20-2018

For years i have been ticking in a serverless way to capture emails. I found that this is not possible and in any case it will require some elements to be hosted on a server. After overthinking this issue i come up with two solutions, the first don't require any hosting and the second only require a free hosting plan. So i will enter in detail next...

Solution 1:
The solution 1 is quite simple and i have used in a few projects that i have develop. The solution basically takes advantage of bitly api and a xml/ajax request to create a new bitly link that record the url formation. Adding the email as a variable following the actual url will record the user email in bitly control panel.

Solution 2:
The solution 2 requires hosting of a *.html file with the code from StatCounter. StatCounter is the leader in web statistics. In this solution we create a form where the user enters there email and hit the button that forward the form details to a hidden iframe window that calls the *.html file. The form must be GET to log the information because POST do not pass the parameters in the url.

Here it is the 2 solutions to save an email, does anyone have any aditional ideas to save emails?


RE: How to easily track email leads - mothered - 11-21-2018

With the second solution, clever using the StatCounter and the hidden IFrame.

The GET method to submit a HTTP request makes sense.
I'll look Into this In detail, thank you.


RE: How to easily track email leads - hacxx - 11-21-2018

I'm using the second solution on the site in my signature and it works well. Saving not just the email but also the combo box info.