Sitecore setting up goals - sitecore

I'm currently searching if there's a way of associating goals in to a button without using the sitecore form, is that possible without any additional code?
Currently trying and searching if there's a way to associate goals into a button

Related

How to turn on/off Hotjar dynamically without page reloading

I have a web application using Hotjar to track user's information and behavior while they navigate through it, but I would like to give the user the possibility to turn on/off Hotjar tracking.
The idea is to have a check button that would turn on when selected and off when deselected. I was thinking also that this action could use some specific cookies, that would tell Hotjar the tracking is on or off dynamically.
Is it possible? If so, is it possible without page reloading?
According to this position from HotJar support, it is not yet possible to turn off using events.

How to Assign States to Viewers of Django Web Application?

Problem Statement
I'm working on building out a single-page Django web app and am trying to implement the following functionality:
- All viewers of the page are associated with a state. There are buttons on the page which enable viewers to change their state.
- The application stores a list of all current viewers of the page, and their associated states. Whenever a user changes their state, this stored list of viewers updates with this new information.
- The application should display how many people are online (viewing the page) at a given time.
Blockers
I'm unsure of how to collect a list of all current viewers of a page in Django, nor how to collect how many users are currently viewing the page.
Ideally, my application would not require a login to use: therefore, I'd rather either associate viewer state with a user object that doesn't require sign-in, or not associate viewer state with a user object (I'm still new to user objects though, so forgive me if this point doesn't make complete sense).
What I'm Looking For
A discussion of higher-level strategies which I can use to implement this functionality, or other places to look to gain insight in tackling my problem. I'm pretty new to Django, so I'd appreciate it if answers also direct me to locations in my Django project which are of relevance (e.g. "Consider doing X in views.py, then..."). Alternatively, if there are GitHub projects you know of with similar functionality, if you could direct me to them to investigate further, that would also be appreciated.
I'd be happy to offer further clarification as required. Thanks in advance!

Customizing Activities (To-dos) in Odoo 11 CE

I cannot find a detailed documentation that talks about this aspect of customizing activities (To-dos) in Odoo 11 CE. I managed to programmatically (i.e. in Python) create new activities, associate them to a specific model instance, and assign them to a particular user.
But I still need to customize them further, and here are my questions:
When an activity appears in the activities menu (i.e. in the top bar of Odoo), it shows an icon, title, and few stats (i.e. number of Late, Today, and Future activities).
How can I customize the icon?
How can I customize the title?
How can I customize the stats?
How can I group the the activities based on some field in the model instances? (This will allow me to give different custom icons, titles, and stats to different groups, and also open different custom views upon clicking the groups)
When an activity is clicked, the default view of the associated model is opened; how can I open a custom view?
Thank you!
I think that your questions lead you to a non-existing activities/to-do features in Odoo. To be able to get it done you would need to extend it and customize it by yourself with a deep knowledge of Odoo internals and somehow re-make the activities widget and templates in the mail module

Sitecore DMS custom visitor classification

I am trying to implement custom visitor classification.
I defined my custom types in master database under and published them
/sitecore/system/Settings/Analytics/Visitor Identifications
And I set the visitor classification upon login using api call
Sitecore.Analytics.Tracker.Visitor.SetVisitorClassification(member.MemberType, member.MemberType, false);
But I was still getting my visits in visit detail report as Anonymous, upon digging I found that [VisitorClassifications] table in analytics database still doesn't have my custom Visitor Identifications.
Is there something I need to do get the custom "Visitor Identifications" I already defined in sitecore in to analytics database ? I wonder if making manual entry in to that database is the right way ? Would I break something ?
Open Control Panel and click on 'Analytics' Link.
Then you can find a link called 'Update Visitor Classification'
This will launch a wizard. It says, 'This wizard will help you : Update visitor classifications in the Analytics database.'
Try this. I think this should help you.

How to build a facebook-like activity stream sidebar in Django?

I've been looking for this across the web and I've found some interesting approaches like Djando Activity Stream, but I want to develop my own application based on what is already done. What I specifically want is to know how to approach on developing a Facebook-like side bar that displays a activity stream based on actors, actions, objects and time. What is the most flexible database schema? How to implement it with an existing contacts application? How to make it personalized for every user? how to group related activities? Is it javascript the best way to handle the client side control?
I'm currently working with contentTypes and GenericRelations to be able to relate different application models. But I'm still not on track with this. Your help, tips and comments about how to develop this in the simplest and more flexible way will be very helpful.
I think this is the right package to use: django-notification Secondly you just use plain old jQuery and ajax calls to put the stream of request.user in the sidebar. you could also filter the action stream based on actor, object or something else.