How do I block Duplicate Entries based on a particular field in Google Forms - forms-authentication

How do I block Duplicate Entries based on a particular field in Google Forms (For Eg: I am Collecting Contact Details and I don't Want duplicate entries based on Mobile Numbers)

There is currently no option or built-in feature that checks and prevents duplicate field entries for Google Forms.
As a workaround, although it won't prevent the user to submit a identical value, you could do some validations using Google Apps Script and delete duplicates from there. Also, see this post.

Related

Disable form field google script

I have a link that leads to a prefilled Google form, the prefilled form is editable and user can change the entries
I added a note not to change anything but of course user still has a capability to change it if they want to.
Is there a way to lock or restrict the user from editing the prefilled form?
The user need to see the fields with the prefilled content, but they should not be able to edit/modify it.
There is no way to use prefilled values with a standard Google Form without allowing the user to edit those values in the form. Consider creating a web app based form instead of a standard Google Form. See the Web App Demo for sample code.
In the event the prefilled values do not need to be viewed or edited, you can put the fields that that hold them in a section of their own. Then skip that section so that it is not visible to people who fill in the form.

form in wordpress adding row in spreadsheet

I want to create a form in wordpress
that will add a row into a google spreadsheet
what is the best way to do that?
any example?
Thanks.
I would personally create a Google Form that has fields for the data you intend to have in your form in WordPress. Check the source of the Google generated form and duplicate the form (with your own styling) on your own site, as long as all of the field's names and id's match, the method is correct, and the action on the form tag is correct you should be able to submit the form and it will add a row to a spreadsheet.

Analytics Hostname Filter Removes Domain

I have an extremely weird filter issue with Google Analytics and Shopify. It used to control spam referral issues and control page views for just the store.
A view is setup that includes only the store's subdomain and its checkout based on the hostname filter field. I have tried these filter patterns:
store\.domain\.com|.*shopify\.com
store\.domain\.com|checkout\.shopify\.com
^(store\.domain\.com|checkout\.shopify\.com)$
The only pages included have a hostname of store.domain.com. No pages on shopify.com ever get included. It's only when the filter is removed altogether that page views on the shopify.com start appearing.
Here's where it gets weirder.
I have an unfiltered view setup where I run the exact filter patterns on the hostname as an advanced segment. Pages on the sub-domain checkout.shopify.com show for any of the filter patterns.
Secondly, I confirm the pages disappearing in the analytics reports have a hostname that is exactly:
checkout.shopify.com
Any further debugging ideas? Possible explanations?
The reason why your filter isn't working is because the Checkout at Shopify uses virtual pageviews instead of the regular ones, in order to have neat names that make your reports and funnels clean instead of leaving a bunch of meaningless IDs like the ones you see in the URL. These pageviews don't contain a hostname.
Now you may be wondering why it worked in your advanced segments. If you check your Hostname report (under Audience > Technology > Network) you'll see the checkout.shopify.com hostname there, but with 0 sessions and some transactions. That's because it was the ecommerce tracking code that sent the hostname value that you saw in your segment, not the pageview.
One solution in this case is to create your filter in two steps.
1) Merge the Hostname and Request URI into Custom Field 1 with an Advanced filter. If Hostname is your Field A, make sure you leave "Field A Required" unchecked.
2) Filter the custom field for store.domain.com|/checkout
On a side note, my preferred method to avoid spam in to simply create a new property. You'd be surprised how most spammers only target UA-XXXXX-1 and leave alone all others properties. They are probably just using the Measurement Protocol to send fake data and they generate the IDs programatically instead of actually going through the trouble of finding the code on the site.
I hope that helps, and don't hesitate to contact me or Shopify's support if you need any extra help.

Spam Referral people on my Wordpress

for some time in google Analytics I observe very busy with foreign sites. These are spam site. How can I protect?
Screen GA:
http://oi60.tinypic.com/2vctdae.jpg
These are called "Ghost Referrals" and the best way to rid yourself of them is to add a new view and create an Include filter for it.
Check out the full post http://blog.tylerbuchea.com/google-analytics-filtering-out-ghost-referrals/
First go the the Analytics Admin section and choose the Account and Property you'd like to apply the filter to. Then create a new view like "example.com (Ghost Referalls Filter)". Trust me on this create a new one and don't reuse your existing one. I'll explain later.
Add a new filter to your freshly created view. Then select the Custom tab, mark the Include radio button, and choose Hostname from the dropdown. Then you'll want to enter your sites hostnames separated with the OR operator "|" and make sure to add a backslash before each period. This will white list only your hostnames and block any other sites from sending fake data that muddy up your Analytics reports.
Example entry
example\.com|www\.example\.com|translate\.google\.com
So Why The New View?
If you add a filter to an existing view it will permanently change that view and all of the past data.
I Don't See Any Data
Unfortunately Analytics doesn't apply filters to past data. So all of the data in the filtered view will be from the day it was assigned onwards. Just give it a few days and you'll be using your original view less and less.
If your picture is what I think it is, its actually a GA issue. Its fake referral spam.
https://megalytic.com/blog/how-to-filter-out-fake-referrals-and-other-google-analytics-spam

Wordpress Advanced Custom Fields - Limit A User's Choice To One Option

I have a WordPress website and as part of the news items, the editor can add either an:
internal link OR
external link OR
file
Currently I have this set up as a repeater field with maximum rows set to 1.
Is it possible if say one value has been entered, to prevent another of the values from being filled in.
E.g. I add an internal link and then try to add an external link. A message of some sort is then shown to me to say that only one value can be selected at a time.
I know I can add a description to the field with this information but I want to make it idiot proof so that the user can never add more than one value.
Thanks for your time and help in advance.
I can't write this in comments but celeriko right. Install types plugin there is ability of conditional logic. You can very easy implement of from backend.
Types: http://wp-types.com/
Reagrds

Resources