trackAction call generates pageView

Avatar

Avatar

marishg69668790

Avatar

marishg69668790

marishg69668790

24-01-2020

We are working on Adobe Analytics implementation on our mobile app. It is observed that a simple trackAction call is generating pageViews in Adobe. Any help here is appreciated.

Looks like Adobe SDK sets pageName and therefore pageviews are incremented.

marishg69668790_0-1579896420331.png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vinod_Tanwar

Employee

Avatar

Vinod_Tanwar

Employee

Vinod_Tanwar
Employee

20-05-2020

Hello,

I think you have posted your query in incorrect forum and might want to post your query here Adobe Analytics Forum .
AEM Mobile is a totally different product used to build content-rich hybrid apps and stands separate from AEM.
Thanks,

Vinod

Answers (2)

Answers (2)

Avatar

Avatar

marishg69668790

Avatar

marishg69668790

marishg69668790

26-01-2021

Hi @fredrambert 

Hope you found the resolution based on your last comment. 

We had processing rules to concatenate certain context variables and build a string that sets the page name.

When these context vars are set in the trackAction() call, it completes the rule for a pageName and the pageName gets assigned. The solution is to remove the building blocks that sets pageName if there are  OR  make adjustments in processing rule such that pageName is not set for a trackAction call.

 

I shall  go back and check my notes on the exact changes we did if you still would like to know.

Best,

Avatar

Avatar

dswest_sv

Avatar

dswest_sv

dswest_sv

11-09-2020

This looks to be related to the same bug in s code that I reported a couple of years ago. I'm betting that if you trace this you will see the same behavior noted when only two args are passed to s.tl(). Check the docs on the sdk and see if there is not a third argument for the link which expects a string (generally you would send the link address as the third argument. Since the code base is different in the sdk it might be something else--for the same use case in s code and a much more in depth discussion, see: https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/pageviews-incrment-in-s-t...