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 best solutions below
Related Questions in SITECORE
- How to Customize Sitecore Copy operation
- Joomla 5..0.3 delay in search
- What's the event for when a Branchitem has finished creating?
- Convert Sitecore data sources to Guid, programatically
- How to specify an existing ItemId While uploading Media Items to Sitecore XM Cloud using UploadMedia mutation?
- Sitecore to WordPress migration
- Why changing template in Sitecore using powershell script creates a version in English language even if there no version exists?
- I want to convert sitecore search facet filter from multiple to single
- Sitecore - select fields and write to an excel sheet by changing the field names in Powershell
- Coveo for Sitecore: Precondition failed: The parameter 'p_ApiKey' must not be an empty string
- In Sitecore 10, why would my Content Editor Panel not open
- Not loading CSS files after login to my sitecore instance
- AWS - Amazon.Extensions.S3.Encryption.AmazonS3EncryptionClientBase is attempting to implement an inaccessible interface
- Cannot use import statement outside a module - jest + nextj.js
- To get the sitecore username who created sitepage
Related Questions in SITECORE9
- Sitecore index: SwitchOnRebuildSolrCloudSearchIndex not working with manual update strategy
- Sitecore user login/authentication is not maintained between pages
- HttpContext.Current.Session is null which inturn causing issues in my web application
- Content tagging Sitecore 9 and 10's: create Custom Folder Structures in Sitecore 9 and 10's TAP Repository for Bucket Management
- Problem with changed templates during Sitecore package installation
- SwitchOnRebuildSolrSearchIndex is providing wrong results for SOLR master-slave setup
- Sitecore 9 - restricting role from publishing without approval
- In solr Master-Slave configuration custom indexes are getting out of sync sometimes in one of the slave server
- Sitecore XP 9.1 Installation Error - The property 'Value' cannot be found on this object. Verify that the property exists
- Sitecore - WebP image not getting generated from CDN with Dianoga tool
- Sitecore Forms - Custom control with dropdown of input controls
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- Sitecore - Object reference not set to an instance of an object - Launchpad
- Sitecore 9.0.2 Installation certificate issue
- How to disable Sitecore Custom Submit Action OK button until mappings are chosen
Related Questions in SITECORE-ANALYTICS
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- enable/disabling tracking consent with sitecore 10.1
- How to track a logged in user email when a download trigger event occurs in Sitecore website
- Tracker.Enabled returns false
- how to collect sitecore information for anonymous
- What happens if I visit a page with a campaign id?
- Sitecore.Analytics.Tracker.Current is null when invoked through a pipeline
- Identify returning user interaction data from xDB in sitecore 9
- How do I unlock a sitecore contact?
- Sitecore Analytics - Tracker.Current is null when invoked through a pipeline
- Method 'get_Lookups' in type 'Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDataAdapterProvider'
- Sitecore Analytics Profiling Tab No Value
- Sitecore Setting Time for Visitor Session to Flush Data to MongoDB
- Sitecore Analytics Tracker Data
- How these Test Strategies function in A/B Testing
Related Questions in SITECORE-XDB
- Sitecore 9.3 Experience Analytics - tracking logged users and users roles
- enable/disabling tracking consent with sitecore 10.1
- Sitecore 8.1 MongoDB collection not updated
- Unable to get xDB reports using Sitecore Powershell
- Xconnect Connection Issue
- Where do I find the data related to Campaigns in the Sitecore's SQL database?
- Sitecore 9 xconnect error: Sitecore.XConnect.XdbCollectionUnavailableException, Forbidden
- Identify returning user interaction data from xDB in sitecore 9
- Redeploy Segments option missing in Sitecore 8.2
- Update OTB facets for anonymous user
- How do I unlock a sitecore contact?
- Sitecore 8 MongoDB Identifying visitor issue
- Sitecore 8.1 How to extend Experience Profile
- Sitecore contact tracking: how does it work?
- Is there a way to force Sitecore to sync MongoDB data with it's SQL database?
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)
Popular # Hahtags
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?
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.