I would like to get the logs of every user activity.
Every link or button a user clicks.
Every page a user visits.
Every transaction, action a user does.
All of the activities from every user.
Is there a module or feature in Odoo version 14 CE that can do this?
Many people use the free module 'Audit Log' https://apps.odoo.com/apps/modules/14.0/auditlog/
There are many other apps available to download in the odoo app store. I would search for the term 'audit'.
https://apps.odoo.com/apps/modules/14.0/sh_user_audit/
https://apps.odoo.com/apps/modules/browse?search=audit
Related
I am new to Shopify and exploring options to run a streaming service. I want to build functionality through which I am able to limit the number of users concurrently login through a particular account.
That is if say 4 users are logged in through user A it should not allow 5th user at the same time (Based on plan) as people share their login credentials. Does Shopify provide this functionality or any good recommendation of any such app?
You can check this app . This is solving similar problem not sure how they are doing it though .
You can configure this app easily and set your custom banner for 5th user (In your case) or also force log out the first user in case of 5th user attempts to login.
Planning to start implementing Branch dynamic link generation and referrals in my android app, but I have a specific use case that I would want to implement in coming days.
Because a user could install the app via the referred dynamic link but could also uninstall the paid app within first 48 hours, I would like to credit the user with referral reward only after 48 hour window, so that users don't take undue credits without actually keeping the app installed.
Is this possible using Branch dynamic links and Referrals system?
Referrals are based on a session, not a device. If a user closes and opens the app before triggering the referral rule, then the referral points will not be delivered. You could achieve this by a little effort. You could set up a webhook and record the timestamp of when the referral event occurs and use the reward API to give the referring user a reward after the two days. If you have any further questions, feel free to reach out to integrations#branch.io.
I am using mixpanel user profile tracking.
1 : If a new user, say A , visit my site and go through some pages without sign-up. That time mixpanel is tracking events to a unknown profile.
2 : Then the user A, sign up in my site and placed an order.
That time mixpanel is tracking previous events and the events after sign up also to a the same profile. (mentioned in above point).
3 : Then the user comes to my site using his mobile, then he go through the pages without login
That time mixpanel track the events to different a profile.
4 : The user then logged in in his mobile and continue to place order.
Then the mixpanel track events after the login into the previous profile mentioned in the 1st and 2 nd step.
My problem is I would like to re-map the tracking done in the 3rd step also to the profile which is used to track in 1st and 2nd step
There are 2 routes
1-) Queue anonymous events: the idea would be that instead of sending Mixpanel the events when the user is still anonymous, you save them either on the device (if it's a mobile app) or on your server. Then, when the user logs in, or creates the account, you can flush the stored events since now you know who the user is. As you might realize, the downside is that if the user never logs in or signs up, then the events are never sent (unless you build a mechanism in your server to flush them in that case).
2-) You could so as you currently do, but when the person goes to step 4, and logs in, before changing the ID to the correct one, you could create a People profile with the anonymous ID, mark it with a flag that it's an orphaned profile, and save the correct ID for it. That way, you can schedule a task to look at those profiles every so often, export their events, and import them back with the correct ID. That would essentially duplicate the data for those events, but you would have the full history with the correct ID. You could also try to filter events based on the "orphaned" flag later on, but it does mean you will always have to have it mind.
In the event management app I am building I require user notification functionality. Having never implemented something like this before, I am after some advice on how you would go about doing this.
Here are a couple of scenarios that will require notifications.
Scenario 1:
Each event in the system has a start date associated with it. If the event also has delegates assigned to it that have a status of 'Provisional', I would like to send a notification 3 days before the event start date to any users with the role 'Admin', informing them that there are still provisional delegates assigned to this event.
Scenario 2:
There are accounts in the system, and each account has an account manager assigned to them. Accounts can also have multiple contacts associated with them. An account manager is able to assign a note to the account which is tied to a contact. So they can, for example, create a note of the type 'Scheduled Call'. The scheduled call has a date and time associated with it, so if around 1 day before I would like to send a notification to the account manager, informing them that they have a scheduled call due for this contact at the specified date and time. I'd like to keep sending or showing this notification until it is dismissed or deleted.
Summary:
There are several other scenarios but these 2 cover the basic functionality. I guess my question is this, has anyone implemented this or can anyone tell me how you would go about implementing such functionality in Laravel 4?
Specific questions are:
Method of Implementation
How to Automatically Check for these Specific Scenarios. Cron or via IronMQ or similar?
Where to store the code. In a helper function or it's own controller?
Are there any other considerations I have missed? Thanks.
I think you would need some sort of scheduled task / CRON job. Using the scheduled task, you can then run php artisan YOUR_CUSTOM_COMMAND. Obviously you would need to develop your own commands to use. See: http://laravel.com/docs/commands
Iam a RoR developer and I want to calculate DAU for my website. By DAU I mean:
DAU- Total Number of users who either came to my website and logged in or who came to the website and were already logged in.
I implemented Devise in my website because it tracks current_sign_in_at. And later found that these attributes mean as:
current_sign_in_at - The latest time the person logged in to my website.
(Using this I can get the count of people who came to my website and logged in.)
But I am missing the count of people who came to the website and were already logged in.
One of the way I found to implement it is trigger a function in delayed job which updates the timestamp whenever the root action is called and home page of my website loads. But since my website gets around 1000 - 2000 hits per minute I guess this function will become the bottleneck.
Can anyone please suggest me the best way to implement it.
Many Thanks.
Possible solutions:
Use a service like Google Analytics(custom variables), KISSmetrics(visitor identity) or Mixpanel(distinct_id) and send them the user id and you can find daily active users.
You can do something like what you mentioned, store the last active time for the user in a database each time you get a request, if you get 1000-2000 hits per minute, you might want to store it in an in memory store like redis instead. If users will be coming to your website from different paths and not just root url you could create a after_filter in the application controller which updates the redis store with the current time for the user.
If you are interesting in looking at more then just the daily active users in future, it is worthwhile to create a log for your users in another database. Again I'd suggest an before or after_filter in application_controller which queues a job to store time, user_id, any other data you might be interested in. I'm using a mongo db separate from my ActiveRecord MySQL database to do this.