Questions tagged [tracking]

For questions related to Sitecore's tracking features for analytics, including the tracking data models, architecture, visitor identification, the submission of tracking data to Collections for storage, and the tracking of contacts, interactions, events, goals, etc.

Filter by
Sorted by
Tagged with
1
vote
0answers
23 views

How do I track contacts and see their visits upon registering to my site?

This is the method I have to register a Contact and their facets to the xDb (I have also registered some of my personal facets). However upon registering, my known contacts visits and visit duration ...
0
votes
1answer
41 views

Tracking User Personal Information in sitecore CDP

In sitecore CDP, I'm using Email Corner PopUp template to Track user email address and their Interactions on the site, Now I want to get first name, last name, gender of the user. For this , am I need ...
2
votes
2answers
77 views

Send tracking data to Sitecore CDP

I am currently working with Sitecore CDP. I have Sitecore site .when user visit the site , I need to capture the user Interactions using Sitecore CDP, In Official Document I found JavaScript snippet ...
1
vote
1answer
122 views

Sitecore - Application Insights Telemetry - Custom properties

I am struggling with accomplishing the following scenario: I need to create a custom property for Application Insights, containing an identifier for the user (which is read from the data store at ...
1
vote
1answer
56 views

Recipient Activity tab under email template item does not track unsubscribe contact data

We are unsubscribing contact through client api and using custom url in email campaign message and calling custom method, we are using the below code : _clientApiService.UpdateListSubscription(new ...
0
votes
0answers
132 views

Sitecore Forms Field tracking controller issue

When we tried to submit the form, we are getting NullReferenceException in FieldTrackingController. Its not even hitting our server side custom submit action. We did rebuild link database and indexing....
0
votes
1answer
83 views

Tracking external downloads with Sitecore analytics

I am using Sitecore 9.1.1 with SXA 1.8.1. I have a set of pdfs stored externally but I would like to use Sitecore Analytics to register download page events when someone is downloading the documents. ...
0
votes
0answers
55 views

New Interaction doesn't show after 2nd: using IdentifyAs

I am developing a function to support tracking user behavior through a mobile app. Below is the current scenario: Case 1: Anonymous User 1 - Working fine: Anonymous user visits the page, then these ...
0
votes
0answers
131 views

Sitecore.Analytics.Tracker.Current.Contact.IsNew is returning false always even if all cookies are cleared

Basically, on form submit, I'm trying to store data into contact's Personal Info facet for an anonymous visitor who is visiting the website for the first time using the code here from the official ...
1
vote
1answer
35 views

Explore mode GeoIP data not available

In Sitecore Experience Editor Explore view I am facing one issue in which I am not getting any country list in GeoIP section under Visitor information. Below is the screenshot of my page. Please ...
0
votes
0answers
199 views

Tracker.Current is null on CD for media request event

I'm using Sitecore 9.1.1, and I've wired an event up to media:request that forces a track of the download page event, as well as increments a counter of number of downloads that a user has performed ...
2
votes
2answers
133 views

How to map tracking field with glass mapper

Using native Sitecore ways, the following can be achieved by doing: var pageItem = Sitecore.Context.Item; var trackingField = new TrackingField(pageItem.Fields["__Tracking"]); The question is ...
3
votes
1answer
523 views

How do I change the Sitecore Analytics cookie to be SameSite=None?

With the default security changes in browsers, third party cookies are getting blocked. Sitecore's SC_ANALYTICS_GLOBAL_COOKIE doesn't seem to have a SameSite property in it so it is being treated as ...
0
votes
2answers
249 views

How tracking works for Layout service used for Mobile apps (API-Only Mode)?

I'm new to JSS, I need to use JSS Layout service to send personalized content to a Mobile App(API-Only Mode). From Jss Documentation Via Layout Service Layout Service requests are tracked on ...
0
votes
1answer
315 views

JSS Tracking API example fetch errors

I am trying to use the JSS Tracking API, according to https://jss.sitecore.com/docs/fundamentals/services/tracking, with Sitecore XP 9.1. Following the example code: import { trackingApi } from '@...
2
votes
1answer
625 views

Experience Forms Tracking Issue - alias should not be null or an empty string. Parameter name: alias

We are getting the error once we submit the Sitecore 9.1 form. This is happening when we enable the checkbox Is tracking Enable in Sitecore core form. and this error is not with Standalone role, only ...
2
votes
1answer
118 views

Tracker.Current is NULL inside email in EXM

I currently have a Sitecore form that has only one field, an email field. When submitted it sends an automated email to the email address inputted by the user. In the email body, I have a controller ...
0
votes
1answer
206 views

Pass form field value to controller rendering in EXM

I am using Sitecore forms and EXM. I've saved the contact in xdb then I'm using standard Sitecore email campaign message to send an automated email. In this email, I have a put a controller rendering ...
1
vote
1answer
329 views

Tracker.Current.Session.Interaction.IP is returning the IP of my site (localhost) rather than the client IP

I'm trying to use geolocation data in my code, and I found that the reason it isn't working is because the IP address in Tracker.Current.Session.Interaction.IP is returning as 127.0.0.1 (localhost, ...
1
vote
3answers
704 views

IP Geolocation Tracker.Current.Session.Interaction.GeoData returning N/A for all properties

Using 8.2, trying to use Geolocation Service in my code to get data about the user's location: var geoData = Tracker.Current.Session.Interaction.GeoData; geoData is not null, however every property ...
3
votes
1answer
315 views

Tracking a page event to something other than the current page

I'm working on a site design that has a set of news headlines in the "hero" area, and when you click an article you don't get taken to that page, you're jumped down to an anchor that has the article ...
0
votes
1answer
288 views

How to disabled analytics tracking for specific type requests?

We do not want certain request to be tracked for analytics data say for example API calls. How we can achieve this using Sitecore config change? We are using Sitecore 8.2 update 3.
3
votes
1answer
247 views

How to do filtering and sorting on “Pages by URL” in Experience Analytics

Here are my business requirements: I want to track the most visited pages during the last month I want to track the particular page in the Experience analytics I am not able to find any sorting or ...
2
votes
0answers
53 views

Is there a way to use the Universal Tracker SDK from a controller rendering?

It seems that SitecoreUTSessionBuilder make async calls, and controller rendering can't have async calls in them. Am I misunderstanding something? Is there a way to use the SDK from Sitecore? Thank ...
3
votes
2answers
267 views

Tracking and identifying multiple users on the same session

Sitecore's documentation always talks about how the same person comes back to the site and is identified. How are multiple persons handled? Say that a person first enters the site (anonymous tracking)...
3
votes
1answer
197 views

What are the side effects of disabling Sitecore.Analytics.Media.MediaRequestEventHandler?

Our load tests have shown that the Sitecore.Analytics.Media.MediaRequestEventHandler reduces load time of media assets by a certain factor. If we were to disable this handler, what functionality ...
2
votes
0answers
32 views

Analytics tag not persisting between sessions

I'm using Sitecore 9.0.2 and I'm attempting to use tags in Sitecore analytics to track if a particular modal has been closed, so it doesn't reappear. This is working within a session, but when the ...
5
votes
1answer
240 views

How do you track known users in Sitecore 9 Update 1?

I am working on creating an intranet, and I know the users logging in to access the site. I am trying to create and update contacts' personal information. However, I am running into issues with Read-...
2
votes
2answers
1k views

How do I track how many users clicked my link?

I have a Sitecore component which displays news headlines and "readmore" link. Once the user clicks on "read more", it shows extra information on the same page. How can I track all the users who ...
1
vote
0answers
574 views

Enabling the internal search in the sitecore analytics

I try to track the top searched keywords to my website using the Sitecore analytics, I read that first I need to register the search page event, So I wrote this : if(Tracker.Current == null) {...
3
votes
2answers
3k views

Analytics.Tracker.Current is null in Sitecore 9 Update-1 Forms submit action with "Next" navigation step

I'm trying to implement custom submit action in Sitecore 9 Forms according to the guide, but found the problem with Tracker.Current which is null while accessing from SubmitActionBase. Tracker is ...
1
vote
1answer
554 views

How to add item in contact custom facet List type property

I have created a custom facet model with Sitecore 9.0.1 & xConnect. My contact custom facet contains a property of List<string> which I want to populate with different values while contact ...
3
votes
2answers
474 views

Analytics showing ajax calls as page view events. How to prevent that?

After enabling the Sitecore 9 analytics, when I open the Experience Profile, I see all the WebApi ajax calling as page view events or page events in the Experience Profile. Why this is happening? ...
0
votes
1answer
556 views

Loading VisitorIdentification.js causes 404 not found error

I am trying to enable VisitorIdentification on our pages, so I have added @Html.Sitecore().VisitorIdentification() to our layout pages. However, when the page loads, it throws a 404 when trying to ...
4
votes
2answers
530 views

Whats is the correct way to implement FXM generated script

I'm having a problem implementing FXM generated script on some of out sites. The Issue, I found is that, the generated Tracking script script is located on our CMS, which is not a public domain. I ...
0
votes
1answer
142 views

Do I need mongo db/xDb license to set xDb.TrackingEnabled = true? [duplicate]

We use Sitecore 8.2 update 3 and we do not have xDB license and mongo db, however in one of the modules we need to use geo IP which requires having xDB.TrackingEnabled = true. Can this be achieved ...
3
votes
2answers
2k views

SC_ANALYTICS_GLOBAL_COOKIE domain name in multisite

I have a multisite configuration running SC8.2u2. All sites have a common domain name xxx.com, however the SC_ANALYTICS_GLOBAL_COOKIE domain name on sub-sites is set to the sub-domain accounts.xxx.com ...
1
vote
0answers
263 views

Tracker.Current.Session.Identify error :The given key was not present in the dictionary

In my Sitecore application, I've created custom facet (it has simple fields and object lists). I identify the user by the method: try { if (Tracker.IsActive) { Tracker.Current....
2
votes
1answer
100 views

IdentifyAs not using conditions right away

I have a simple form that takes an email which I use to identify a Contact. I also have a label with some text that changes based on a condition on the same page. After identifying the Contact I ...
5
votes
1answer
214 views

Sitecore 9 - Incrementing engagement value

The following code worked on Sitecore 8.x to increase Engagement Value programmatically: Tracker.Current.Interaction.Value += value; This code compiles and executes file on Sitecore 9.0.1, but after ...
1
vote
0answers
80 views

Update tracker.Contact.BehaviorProfiles

In my Experience Editor i have added the following condition: where the value of the specific profile key in the contact behavior profile is greater than 3 I update the Contact behavior profile in ...
12
votes
1answer
596 views

Subscribing to EXM Email: How do you manage multiple contacts using the same computer?

We are currently working on a project, where we implemented a registration process using WFFM, EXM and Engagement Plans. We are facing one specific issue, regarding the contact identification with EXM....
6
votes
1answer
839 views

Sitecore.Analytics.Tracker.Current.Session.Contact Is Null

I'm currently trying to identify a contact using Sitecore.Analytics.Tracker.Current.Session.Identify(user) and an exception keeps being thrown "this.Contact should not be null". Debugging ...
6
votes
1answer
1k views

Cannot create tracker / session is not initialized on Sitecore 9

I'm getting the following error while attempting to test some analytics functionality on Sitecore 9: 9528 15:23:51 ERROR Cannot create tracker. Exception: System.InvalidOperationException Message: ...
3
votes
0answers
103 views

Get List of all user journey

I want to create a report where I want to get the list of all user identified, pages views count, all the pages views by user and timestamp. Please suggest the best way to track user journey.
4
votes
2answers
653 views

"Method not found" error with MongoDB.MongoCursor

I have problem with MongoDB.Driver.MongoCursor. When I want to set tracking I get an error: Method not found: 'MongoDB.Driver.MongoCursor`1 Sitecore.Analytics.Data.DataAccess.MongoDb....
6
votes
1answer
257 views

How does Sitecore XDB handle a DNT=1 (do-not-track) request from a browser?

I have a client with a privacy policy that says we will respect the DNT header coming from a browser. Does Sitecore automatically not track DNT visits or do I specifically have to disable tracking for ...
6
votes
1answer
646 views

Programmatically log visit when Analytics cookie is disabled

Due to EU cookie law, I have a site where we are disabling the Tracker via a pipeline processor ala: Disable xDB tracking for single requests By interacting with the site, this will serve as consent ...
3
votes
0answers
598 views

Tracker.Current.Interaction.Pages in Sitecore is returning only the current page

I know that Tracker.Current.Interaction.Pages should return all the pages user has visited in the current session. Where as in my case it is returning only the current page. Can someone please let me ...
4
votes
3answers
670 views

Tracker.Current.Interaction.Profiles PatternLabel is always null

This is Sitecore.NET 7.5 (rev. 141003), already with MongoDB; I have created some Profile Cards: With some matching Pattern Cards with same values: Then I assigned these profile cards to lots of ...