We all know too well how to keep track of the leads that are being generated through our website’s contact form with Google Analytics. It’s as simple as setting up a “thank you“ page for our website and measuring how many times that page was visited. This gives us valuable information regarding where our leads are coming from, how much money we’re spending per lead, the keywords that generate the most leads, and so on. However, how can we keep track Penis enhancement methods of that information at a sales level rather than just at a leads level?


Let’s imagine I’m in charge of a bank’s website, and that my website is getting lots of leads from the keyword “mortgage“ in Google. Mortgages are the kind of products you can’t sell directly through an e-commerce website, unlike products such as books, flights, etc… The sale of a mortgage occurs offline, as it requires the applicant’s physical presence and signature. This means that, in the case of mortgages, Google Analytics will only give me information regarding the leads that my website is generating. It won’t give me any information regarding actual sales, the latter being carried out outside my website through my CRM platform.


With Google Analytics, if you’re not selling your products directly though an e-commerce platform, then that means you‘ll only be able to track your customers at a leads level, not at a sales level. And your boss would certainly be interested to know how much marketing money was spent to achieve an actual sale rather than just a lead. Luckily there is a way to make up for Google Analytics’ inability to track your sales in case these occur outside your website. The key consists in integrating Google Analytics with your CRM platform, or with whatever tool you are using to keep a record of your leads. Getting data out of Google Analytics and sending it to your CRM system is pretty straightforward and only requires basic programming knowledge. The trick consists in adding a few lines of code to your contact form that will fetch Google Analytics’ cookies’ information and send it to your CRM system. The following lines of code show how this can be achieved. 


Copy the following JavaScript functions into the section of the HTML page containing your form.


With this code in our contact form, if we were to land on our website through the keyword “mortgages“ in Google and if we concluded our visit by filling out a contact form, our lead would automatically be associated with that keyword in our CRM. This would give us information as to how many people actually closed their mortage deal because they found our website in Google by typing the keyword “mortgages“. Assuming we know how much money we’re spending on the keyword “mortgages“ in Google, this would give us enough information to measure our marketing campaign’s ROI.