Can anyone provide me with working example how to show analytics (Visits, Page views, Page views per visit, etc) for logged users? As I understand there is no OOB solution, so I've tried to implement flexible dimensions, but didn't find any good examples and failed.
Sitecore 9.3 Experience Analytics - tracking logged users and users roles
571 views Asked by Shmulinzon At
1
There are 1 answers
Related Questions in SITECORE
- Web Forms For Marketers (WFFM) Rich Text Field Type
- Incomplete sitecore publish ( presentation details missing )
- Is there an easy way to fake a Sitecore Device for testing?
- Lost uCommerce interface within Sitecore
- Unable to use WFFM using Sitecore MVC
- How to get all the fields from Sitecore
- 'Sitecore.Forms.Mvc.Models.FormModel' vs. 'Sitecore.Mvc.Presentation.RenderingModel'
- Sitecore WFFM checkbox values on Create Item
- How to add an session value to a custom webforms for markters save action?
- Set a field in all the children of an item
Related Questions in SITECORE9
- Error.html page code showing up in meta description of my homepage
- Delete sitecore item from solr index without publishing parent item
- Sitecore user login/authentication is not maintained between pages
- Sitecore index: SwitchOnRebuildSolrCloudSearchIndex not working with manual update strategy
- is sitecore media library a DAM?
- Sitecore - Confirmation before unpublishing root folder
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- Sitecore Forms - Custom control with dropdown of input controls
- Sitecore 9 publish item error publishing dialog not found error
- Sitecore 9.3 Installation Error without using SIA
Related Questions in SITECORE-ANALYTICS
- purge sitecore analytics geoip records inside request pipeline
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- Tracking a Page Event from ASHX Handler
- Most popular items in sitecore per language.
- Master/Detail Dilema: Wildcard items vs Sitecore Pipeline for Virtual Items or any better idea?
- Sitecore 7.2 DMS - remove users from plan
- Is SC_ANALYTICS_SESSION_COOKIE still used in sitecore 7.5
- How to track a logged in user email when a download trigger event occurs in Sitecore website
- how to collect sitecore information for anonymous
- Tracker.Enabled returns false
Related Questions in SITECORE-XDB
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- Sitecore 8.1 MongoDB collection not updated
- Update OTB facets for anonymous user
- How to use more than one type of identifier for contact identification?
- Redeploy Segments option missing in Sitecore 8.2
- How to configure Sitecore processing server?
- Can both CM and CD servers point to the same MongoDB instance of Sitecore xDB?
- Can you use goals from FXM external Sitecore to customize Sitecore site?
- In Sitecore 7.5 is there a way to view a user's profile key values?
- How to format the connection string for a MongoDB replica set in Sitecore?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
First of all you have to identify your logged in contact by calling the
Sitecore.Analytics.Tracker.Current.Session.IdentifyAs()method, see more details here. When the contact logs in you can use their username to identify them upon the successful login.Note, that the identification and authentication are separate unrelated events. Contacts are identified against the xDB and authenticated against the authentication mechanism used by the website.
When the contact identifies, it is saved to xConnect with a known identifier based on the information passed into the
IdentifyAs()method: Identifier, Source and IdentifierType will be set toContactIdentifierType.Known(it is set toContactIdentifierType.Anonymousfor anonymous contacts). Then you can useIsKnownproperty on theSitecore.XConnect.Contactthat returnstrueif a contact has any known identifiers.If you want to track some custom events for the logged in users to then use them for reporting needs you can add user interactions by calling the
client.AddInteraction()extension method. I have given an example here.If you want to extend the contact with your own custom data then you can create custom contact facets, read more here.
In order to implement your custom report with flexible filtering by logged in and not users, of course, you will need to define your custom dimensions and metrics, read more here.