Can I collect data from form fields with Google Analytics? - forms

I have a website with a "contact me" form. Users can leave their name, email, and message and I'll get an email containing their data.
I've set up a goal on Google Analytics for the registration and everything works fine.
Now, the question is: Can I see their names and emails on my Analytics? Is there any way to make Google Analytics save that data and show it to me?
Thanks in advance,
Daniel

Theoretically this can be done using custom variables. See: http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html
However, I believe that name and email address are considered Personally Identifiable Information so sending it to Google Analytics is most likely against their Terms of Service. See section 7: http://www.google.com/intl/en/analytics/tos.html
You would need to use another tracking system such as Piwik: http://piwik.org/

You can try using event tracking.
eg.
Register

Related

Firebase Email Verification

I'm quite a noobie at Firebase. I'm asking for a sort of step by step guide to setup email verification.
Currently, my app uses basic email password login. I want users to be verified so I'm hiding content based on a user's emailVerified property. I'm calling the .sendEmailVerification() and it sends to the current user's email but, whenever I click the link in the email it says the link has expired or someone has used it, this also doesn't change the property. I suspect it has something to do with the api manager. I currently have my website hosted to the built-in Firebase hosting URL.
Based on this link in the docs (which refers to a similar function but not the exact one): https://firebase.google.com/docs/reference/js/firebase.auth.Auth#sendPasswordResetEmail
p.s. I can't find anything regarding this exact function in the docs.
I think I need some sort of listener at the link of the email or on my website?
Thanks in advance, any answers are appreciated.
there could be an issue with your browser api key. You may have some referrer restrictions on it. This could cause the misleading error (code expired or used) to occur. Either fix that issue or generate a new one in the Google console.

Adwords and Form Tracking

Im not an expert in Google Tracking and Adwords and i had a request where a client wants to track the people who submit a contact form on a website, coming from an adwords ad.
So someone lands on a specific site on the clients site via Adwords, then fills out the contact form on that site. Now they want to know how many people coming from adwords ads, are willing to submit the form.
This seems to be very obvious, and i thought there might be already a solution for this.
Conversion Tracking already happens when the form is submitted, but they cannot comprehend whether someone submitted the form coming from adwords or or not.
I´ve been told to save the GET-Parameter from the Adwords-Link inside the database, the website is running on, every time the form is submitted. That doesnt seem to be the right way. Also there are some security issues with that.
Can anyone give some advice, how this could be achieved.
I hope i explained that right.
Thanks in advance.
If you need to save source into DB:
Simpliest way migth be parsing UTM parameters and populate the hidden fields in the form, so you know that user came from AdWords or any other source.
If you are using automatic tagging (which I would recommend), you are going after GLCID parameter, if manual, it's just utm_source.
I would do tracking from all sources (not only AdWords) - it might happen that you also need to know if user came through Facebook, LinkedIn article or so.
More on tracking sources into database here and here. More on AdWords tagging here.
If you only need to know if people from AdWords submit forms (=converts):
Chances are, that you already know. See Google Analytics. Filter out segment of people who did goal of sumbmiting form and see Aquisition -> All traffic.
More on Google Analytics here
You should check and make sure you have auto-tagging enabled. The best way to do this in Google Analytics go into the Admin > Property column > Product Linking section > Adwords Linking.
Once you have Adwords and Analytics linked up simply go back to the Reporting tab and navigate to Acquisition > Adwords > Campaigns as shown here
If you have properly set up your goals in Analytics you can use the Conversion filter to select the goal you want to view and this will show you all goal conversions that came from Adwords.

SurveyMonkey API: Using existing email collector and/or HTML in body_text programmatically

I am guessing there is no support for this, but need to confirm for a client.
I am using send_flow from the API. Is it possible to:
In any way add recipients to an existing Email Collector? The reason is that automating surveys creates quite a few collectors if done daily or more frequently.
Is it possible to send in HTML in email_message.body_text programmatically? It does state plain text in the documentation, and it does not get converted and shows up in the email as plain text. If I use the same HTML-code in an Email Collector created in the SurveyMonkey-website, it works fine, but then again I have no way of using an existing collector it seems, as in question 1.
Continuing from question 2, if we can't send in HTML programmatically, is there a way to change the default email template? The API states "Default template is used if this [body_text] is not specified", but I can't see any option of customizing this in our client-accounts.
Have also considered using a Web Link Collector and send emails outside of SurveyMonkey. The challenge with that seems to be:
Can't register [CustomData] with the responses, which is vital for the analysis, without adding potentially large dropdowns inside the survey itself.
The Survey URL is not unique in terms of forwarding it, although this can be an acceptable risk.
Thanks a lot, any ideas or feedback is appreciated.
Thanks to Tony at SurveyMonkey this was solved by him pointing to Custom Variables in the Platinum version, then adding these to a Web Link Collector and sending the HTML email from our integrating application.
http://help.surveymonkey.com/articles/en_US/kb/What-are-custom-variables-and-how-do-I-use-them
The problem with web link collector is that there is no way to track response rate since SurveyMonkey doesn't know how many links were sent out. I don't know a way around this.

Unique "reference" for form response?

I just created a Google form for online enquiries for my business. I set it up so that it sends an email to the person who submits the form using the "FormEmailer" script but my question is, is there a way I can give that person or more specifically that FormEmailer generated email a unique "Reference" number at the time of submission?
Thanks in advance.
Dan
Absolutely, if you are willing to do some coding on your own.
You may want to look at the recently launched Form Notification add-on for Google Forms, which also sends emails to people who respond to a form. This add-on is meant to be a code sample, and you can find the source code on GitHub, and a quickstart about it in the Apps Script documentation.
To do what you are asking, you would just need to copy the code and add another "Reference number" field to the RespondentNotification template, and then modify the sendRespondentNotification() function accordingly. Alternatively, you can just insert the reference number into the email subject in that function.
Note that this add-on has some limitations: the number of emails sent out (like all of Apps Script) are subject to quota limits. In addition, the add-on isn't really meant used for forms with multiple collaborators/editors. However, Form Notifications should give you a good idea of how to write scripts that respond well to form submissions.

How to check mail open rate using google analytic?

The problems is since the mail is not an actual html page putting in webserver
The problems are:
How can i use the google analytics to check the open rate of the mail?
IF i use a random code eg. newsletter?code='sadsd' I can actually know who have opened the email?
Can i view the result by capture the data instead of login to google and view.
Thank you for any kind of help/ experience sharing.
How can i use the google analytics to check the open rate of the mail?
IF i use a random code eg. newsletter?code='sadsd' I can actually know who have opened the email?
You can't just write something and get something. First of all, if your question is referring to email campaigns then there is a well structured way to achieve this. You can use this for reference.
Can i view the result by capture the data instead of login to google and view?
Yes, by using GA-API , you can extract the data, store it in database and view it in your desired format.Also for testing purpose, by using tools like Omnibug or Charles you can test what values are getting passed to the google analytics server (through the Google Analytics Code placed to capture the data(from user interaction) and pass the data (to GA server)).
*Pardon me if I misunderstood your question.