Skip to main content
jesseb47145505
Oct 16, 2015 2:26 AM UTC
Solved

Receiving Visits, but nothing else.

I am seeing about 10% or so of my traffic coming in that isn't being tracked as anything but a visit. No customer evars or sprops are firing, not out of the box tracking, accept for location information. I do get page name, but not the assigned pagename in the html scode. It has been defaulted to the URL.

 

My developers and I are hard pressed to find why this is happening. My assumption is that the variables in the s. functions are empty or blank, but I"m not sure how that could be happening. Any thoughts?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
jhammons-1Accepted solution
Community Manager
Oct 16, 2015 2:26 AM UTC

This can happen if the s variable is being overwritten somewhere in your code. To find where it is happening, add an assert to doPlugins:

s.usePlugins=true function s_doPlugins(s) { console.assert(s.pageName, "pagename is empty"); // ..other code that may or may not be here already } s.doPlugins=s_doPlugins

This will output a stack trace to the console so you can see where the call came from. After you find the call, add a call to s_gi to reset s to the global AppMeasurement object: http://microsite.omniture.com/t2/help/en_US/sc/implement/function_s_gi.html

2 replies

jhammons-1Community ManagerAccepted solution
Community Manager
Oct 16, 2015 2:26 AM UTC

This can happen if the s variable is being overwritten somewhere in your code. To find where it is happening, add an assert to doPlugins:

s.usePlugins=true function s_doPlugins(s) { console.assert(s.pageName, "pagename is empty"); // ..other code that may or may not be here already } s.doPlugins=s_doPlugins

This will output a stack trace to the console so you can see where the call came from. After you find the call, add a call to s_gi to reset s to the global AppMeasurement object: http://microsite.omniture.com/t2/help/en_US/sc/implement/function_s_gi.html

Translate
Alexis_Cazes_
Level 10
Oct 16, 2015 2:26 AM UTC

Hi Jesse,

 

Can you please confirm what kind of implementation it is (JavaScript, Android, IOS)... Is it is mobile and you are using SDK 4.x remember that it can only use ContextData and therefore processing rules needs to be used

Can you send an example of image request please ? 

I will be happy to help you but I need more details.

If it is easier for you contact me via Twitter : @AlexisAnalytics

 

Best regards.

 

Alexis Cazes

Translate