Skip to main content
fredrambert
Level 2
January 20, 2021
解決済み

trackAction in mobile app is causing pageViews to increment

  • January 20, 2021
  • 7 の返信
  • 2735 ビュー

Hi All, 

has anyone else run into issue where trackAction calls are incrementing pageviews ? 

 

final Map<String, Object> contextData = new HashMap<String, Object>() {{
put(Key.SCREEN_NAME, screenName);
put(Key.SECTION, section);
put(Key.DLC_CLICKED, true);
put(Key.DLC_FILE_TYPE, content.getExtension());
put(Key.DLC_NAME, content.getTitle());
put(Key.DLC_PROPERTY_ID, placeId);//content.getPlaceId());
}};
trackAction(action, contextData);

 

このトピックへの返信は締め切られました。
ベストアンサー khurshid

Check if a processing rule is setting Page Names. If Page Name is set in processing rules, custom link increment page views.

7 の返信

ankitnagarsheth
Level 2
January 20, 2021

You can explicitly set the mapping on https://mobilemarketing.adobe.com/ so that contextData variable is mapped to eVar/prop/event. More info at https://experienceleague.adobe.com/docs/mobile-services/android/analytics-android/actions.html?lang=en#section_3EBE813E54A24F6FB669B2478B5661F9 

 


 

 

fredrambert
fredrambert作成者
Level 2
January 21, 2021
Hi Ankit. thanks for the note. I'm not sure this identifies the issue we are having though. Basically, we are triggering trackAction, however as you can see above, these actions are also triggering page views. This doesn't seem right as we expect that only trackState would increment page view counter.
khurshid
Adobe Employee
khurshidAdobe Employee回答
Adobe Employee
January 22, 2021

Check if a processing rule is setting Page Names. If Page Name is set in processing rules, custom link increment page views.

fredrambert
fredrambert作成者
Level 2
January 25, 2021
Thanks Khurshid. That was indeed the issue.