Google Analytics - Track every property separately [closed] - google-analytics

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm creating a real estate site, where providers can promote their properties. Since it's nice for providers to see some statistics about clicks, views etc. I tought I use Google Analytics to track this stuff.
In blogger, you can enable Google Analytics and show statistics just for your blog. I'm wondering if it is possible to do it similar for the properties, so that property providers can see separated statistics for each of their properties.
Does Google Analytics have such a functionality? Or is Blogger just an exception because it belongs to Google?
Thx!

You have 2 options, at least in my mind:
Allow the user to input their own account number so that they can get data into their account for just their pages. If you do this, you'll need to make sure that you use different namespaces (see: tracker names) in order to allow for this.
Create profiles based off of the URL (if your URLs show what provider the property is for.) This is a lot more limited than option 1 because there is a hard limit to the number of profiles you can have and it requires you to manually add individuals to each profile.
If I were you, I'd go for option 1. Option 2 is a "last resort" option in my books, or if it is for very few providers (e.g. just a handful of friends as providers)

Related

How can I see/track users who have seem +3 pages on my google analytics account? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
One of the company's KPIs is: "have seen +3 pages on the website".
On google analytics, I can see the pages/session metrics. I have tried to create the following segment but it didn't work (see screenshot). I still see pages/session under 3 and the numbers look a bit too low (second screenshot)
segment
pages/session
I not only want to find out how I can see this info in analytics but and most importantly, I want to do 2 things:
Use this information to retarget these users with Facebook Ads
Display this information on a Google Data Studio Dashboard.
Any help with this would be much appreciated. :)
You have to include sessions instead of users, then remove the rules where session duration is equals 1 (it doesn't make sense), so set pageviews >= 3:
In the report the value of Pages / session becomes representative:

Should I keep order history on Woocommerce? GDPR [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I'm currently going through the process of making sure my Woocommerce websites are compliant with the GDPR legislation coming into effect, May 25th. The default way Woocommerce works is that it stores every order in the database so customers are able to view their previous orders and the admins can process them.
My question is.. Should I introduce a way customers can delete their own orders? Or a maximum amount of time I hold onto these before automatically deleting?
Is there an industry standard for this?
Thanks in advance
What you're looking at is the right for no longer relevant data to be erased. Keep in mind this is different from the right to be forgotten. This does not need to be a programatic thing. Sites like Facebook and Google give a set of admin controls to do this so they don't need to process hundreds of thousands of users individually. The rules state 30 days from request.
A note in site terms on an email to contact to have your data deleted really should suffice. Again keep in mind it is legal to keep sales data, only specific data may be requested to be destroyed. This is paramount in an e-commerce environment.
There are WP plugins to allow users to delete their account but this may cause issues with WC.
A good place to start is with WooCommerces own blog post on the issue
https://woocommerce.com/2017/12/gdpr-compliance-woocommerce/
For full detail of the right of erasure check here
https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/right-to-erasure/

Is web-scraping legal for scientific purposes? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am writing a research on a service ranking algorithm, and I want to prove its performance and accuracy by running it on a public data. let's say apple store data, google play, expedia etc. Can I parse their data from HTML and use it in my research? or I would be performing illegal act (web scraping)?
And should i mention explicitly in my research that the data is used only for scientific reasons?
I've read about webscraping and the controversies about its illegality, but i did not find any article about if it's used for scientific purposes only.
Thanks in advance
There is nothing inherently illegal about web-scraping a site.
However, I would suggest that you pay attention to the particular site's "Terms of Use" to see if it is something which they expressly forbid. For example, the Expedia Terms of Use here http://www.expedia.ie/p/support/termsofuse outline:
you may not visit or make available the website or any part of the web
pages of the website by automatic means, such as by using crawlers or
shop bots to systematically retrieve or copy information or connect
the content of the website functionally to another website via links
*That being said, as long as you don't exert an unreasonable load on the site, or republish their content as your own, I don't expect you will run into any problems.

Unique Visitors and Pageviews discrepancy between two accounts for a single domain [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
We have created two accounts for a single domain. Both these accounts reside in a separate code. There's a huge variation in unique visitors and pageviews (attached) between these two accounts in the standard dashboard. Any idea where we are doing wrong?. FYI: We set up event tracking for only one account where we are seeing more unique visitors and pageviews. Does event tracking inflate UVs and PVs? Since this is a standard reporting not a custom reporting, I guess it must be something to do with page tagging.
Appreciate any help.! Variation in UVs and PVs
Google Analytics is not 100% accurate. I know, it's surprising.
Here's one reference for that:
http://www.clickz.com/clickz/column/2188027/little-google-analytics-matter
Basically, through ignoring some data and "sampling" the rest, Analytics is more like an Exit Poll than a fully traceable Ballot.
To get such a difference, if we assume there is no random element at play in GA, there must be a slight difference in the data the two accounts collect. At the very least, one must be fired before the other. If a small number of users closed their browsers during the page load there would be a difference which would then multiply up with the sampling.
It is indeed also possible that the event tracking will affect the data held. This is speculation but it would make sense that tracked events are less likely to be ignored. It would follow from that that you could massage "raw" Analytics by adding the right Events, and take advantage of the fact that Google Analytics is not 100% accurate. However, massaging two accounts to have the same numbers is nigh on impossible.

How do you set up an API key system for your website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Let say that I have a website with some information that could be access externally. Those information need to be only change by the respected client. Example: Google Analytic or WordPress API key. How can I create a system that work like that (no matter the programming language)?
A number of smart people are working on a standard, and it's called OAuth. It already has a number of sample implementations, so it's pretty easy to get started.
Simple:
Generate a key for each user
Deny access for each request without this key
Currently, I use a concatenation of multiple MD5s with a salt. The MD5s are generated off of various concatenations of user data.
A good way of generating a key would be to store a GUID (Globally Unique Identifier) on each user record n the database. GUID is going to be unique and almost impossible to guess.
There are also infrastructure services that manage all this for you like http://www.3scale.net (disclosure I work there), http://www.mashery.com and http://www.apigee.com/.

Resources