data.__adobe.analytics.contextData - prodView | Community
Skip to main content
Franc_G
Level 4
August 19, 2024
Solved

data.__adobe.analytics.contextData - prodView

  • August 19, 2024
  • 1 reply
  • 1121 views

hi all, I am setting a product view in data.__adobe.analytics.products. As soon as it is being set, I can see that data.__adobe.analytics.contextData is set to "1". I assume that this to indicate that the prodView has occurred. I can't find any references in the documentation though - products | Adobe Analytics. Can someone point me in the right direction please ? Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Franc_G

@bjoern__koth  so, it seems like this is happening because I don't set anything in events. Have looked at the prodView documentation once again and I can see the following:

How this metric is calculated

This metric counts the number of hits that match either of the following:

  • The value prodView exists in the events variable; or
  • The products variable is set, and the events variable is empty.

In my case, it would satisfy the second scenario. Have looked at the adobe data and I can see prodView for these hits.

 

Did a bit of a blunder - the "ssf flag" is set in the data.__adobe.analytics.contextData, so its all good.

1 reply

bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 19, 2024

Hmm, that's a little odd. What happens if you set your own context data? Does that get overwritten?

 

yes, Adobe Analytics performs an implicit prodView event if products are set without other events. 
Do you see the events coming in?

If not, to be on the safe side, you can also just add the

__adobe.analytics.events to prodView

 

lets see what the others say

Cheers from Switzerland!
Franc_G
Franc_GAuthorAccepted solution
Level 4
August 19, 2024

@bjoern__koth  so, it seems like this is happening because I don't set anything in events. Have looked at the prodView documentation once again and I can see the following:

How this metric is calculated

This metric counts the number of hits that match either of the following:

  • The value prodView exists in the events variable; or
  • The products variable is set, and the events variable is empty.

In my case, it would satisfy the second scenario. Have looked at the adobe data and I can see prodView for these hits.

 

Did a bit of a blunder - the "ssf flag" is set in the data.__adobe.analytics.contextData, so its all good.

bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 19, 2024

So basically as assumed.
Great that you figured it out 

Cheers from Switzerland!