Track specific user actions with some analytics package - analytics

I am looking for a way to track user actions in a website. I m talking about specific users.
I would like to search for user#domain.com and get a log or something that looks like this:
user#domain.com performed action A 3 minutes ago
user#domain.com performed action B 5 minutes ago etc.
I understand that I cannot use Google Analytics as described above due to the T&Cs so I was wondering if there is some other analytics framework which allows that.
I would really like to avoid storing everything myself due to the amount of data that I can get.
Thanks

If this is a service which needs user#domain.com to register and you/your company has a contractual relationship with this user, you are allowed to store data like this after having the user agreed to that.
And this doesn't depend on the tool you use (GA, home grown database PIWIK, what else) as this is a privacy issue and not a "with what shall I do this" - issue.
Finally: fortunately Google Analytics can do that. Have a look at custom variables and custom metrics within the doc.

Related

Data in database and google analytics does not match

Why are the counts I see in my database different than what I see in Google Analytics? The goal conversion number showing in Google Analytics is much lower than what I see in the database. This is the case for several months.
Few reasons here
Sampled data vs. unsampled data: You can read about here: https://support.google.com/analytics/answer/1042498?hl=en - For API work i normally use a web query explorer to verify that my API call's are being sent and responses match to verify the data: https://ga-dev-tools.appspot.com/explorer/
Adblockers: You might get hits/submissions from people where they are using an ad blocker, hence more entries in Database or Google Analytics.
Users vs. Sessions vs. Hits: You are looking at Unique Visitors/Sessions in Google Analytics instead of the total number of "Events", Not sure how your Goal is setup but best to use events and look at "Total Events" and "Unique Events" to get a sense.
Implementation: You may be firing JavaScript after the person has hit the button without waiting for the page change, can happen on some sites where you take them to a thank-you page or something. Best to check how this is setup and the order in which tag fires and page works.

Access VisualForce Page without salesforce account

I'd like to create visualforce page that inserts a record into salesforce account object. However, I expect some of the page users won't have salesforce accounts. Can they still access it? If not, what are the alternatives that can be used to visualforce page in this case? (Please don't consider Web to Lead Forms).
Thanks,
Yes, it's possible. Go read about Salesforce Sites. For a start:
http://wiki.developerforce.com/page/Websites
http://wiki.developerforce.com/page/An_Introduction_to_Force.com_Sites
(of course it's also possible to write that page in say Java/.NET/PHP and use integration via SOAP or REST to talk to Salesforce... but these 2 main links will keep the whole solution within SF so no need to need to learn new language, have extra maintenance effort etc)
Sites are VF pages that expose a bit of your company's data without need to log in. You can use them to input data too, just remember that in theory anybody could learn the link and spam you (not too different from web2lead, inbound email handlers etc). You specify security in a way similar to Profiles, the records will have "Created By = {site name} Guest User".
I don't think there's anything out of the box to restrict visibility, they're open to whole world. So if you would want something similar to login IP ranges (so only sales reps from your office's network can enter data) - you might have to write some logic in the controller.

Alternative logging system for drupal

I need to log some actions in Drupal. i.e: published content type of type X, deleted comment y, assigned role W to user Z etc.
It could be very easy to do this using watchdog, but i don't want to do it because i want to keep this logs without deleting rows and because i don't want to mix business actions with error logs.
I think there must be a module that does this, maybe also only an API module.
Ideally it should use a new entity to store logs and it should be integrated vith the views module.
Thank you in advance
I've been looking for something similar. But I just don't see anything with that type of subscription. I did find this: http://drupal.org/project/logging_alerts . It adds e-mail logging and allows rules to add watchdog statements.
With the idea of rules a heartbeat monitor may actually do the job as well. http://drupal.org/project/heartbeat It is supposed to give you Facebook style home feeds but you can choose what is logged to it with rules so it will only log node creation info etc.
Just some thoughts that I was going through when I stumbled upon this question in google.

Pointers for Custom Sitecore Analytics

I am trying to do some very basic analytics on an existing sitecore site. All i need to find is basic behavior (page views, time on page) about logged in user. For instance, I need to be able to see which pages a particular logged in user has viewed, and how long he/she stayed on that page.
I am using Sitecore 6.4, is this possible?
If so, what is the preferred way to go about doing this?
The way that Sitecore's analytics work isn't quite like you might imagine. It's really not designed to do reporting on specific users without some configuration on your part. Basically it means that you have to set up their username to be captured.. which is probably easiest to do by assigning a tag to their session. From there, there are things like the session reports and then you can pull up all the sessions for that tag (username). This is something that you will probably have to spend some time and some trial and error to do... but it is possible.. just not necessarily an out of the box report.

Infuriating user queries on Google's App Engine

I have a web service on Google's App Engine that uses Google's user API for authenticating users, managing accounts (including premium service subscriptions), and for managing data ownership. For almost everything, it works really great.
However, very often I need to use the datastore viewer to check on a user's entry in response to a support request, and need to enter GQL to look up someone's account info. The query usually looks like this:
SELECT * FROM UserAttr WHERE user = USER('blah#fish.com')
This should work just fine, but for whatever reason, the USER constructor (?) above is case sensitive, and furthermore, sometimes has weird behavior if the user has a Google account with a gmail.com address. If it's a gmail.com address, sometimes USER('whoever#gmail.com') works, but sometimes USER('whoever') works. It's maddening that I have to try all kinds of different permutations in the GQL console to try and look things up, and I usually give up if the obvious case differences don't work.
Am I doing something totally wrong here, or is the behavior of this really this bad? Any idea if this kind of thing works better in the Python API (that is, if I do a similar request via Python, will it still exhibit this idiotic behavior?). I'd like to avoid writing my own admin pages for this app, if I can make Google's dashboard work for me.
I'm having the same problem, I figured out that google doesn't recommend storing users at the datastore at all as the email address might change:
from here:
Both the db and NDB libraries have UserProperty property types so that
applications can store user values. However, since these values become
invalid when users change email address, most applications have no
good use for this feature.
they probably also mean when the user representation changes internally.
I'll let you know if I find anything to solve this
---- EDIT ----
here
they recommend storing the user's ID for the sake of queries and comparisons. makes sense...

Resources