AAM Module in Hybrid mobile app

Avatar

Avatar

sambhavj5011451

Avatar

sambhavj5011451

sambhavj5011451

28-08-2018

Hi,

We have a hybrid mobile app which is using webview to display the webstite in mobile. Now the issue is, when we click on some links in app, it opens a new browser window in mobile (iOS) which is pointing to demdex.net/dest5.html and loads a blank page. This is the same URL that AAM script adds on a page as iFrame in desktop.

Has anyone ever used hybrid mobile app to load same version of website on mobile without using SDKs for AAM/AA tracking.

There are no issue with AA tracking, thats working fine.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Varun_Kalra

MVP

Avatar

Varun_Kalra

MVP

Varun_Kalra
MVP

04-09-2018

Hi Sambhav,

This could be because webview or web implementation of Visitor ID Service or AAM uses an iframe called destination publishing iframe which is responsible for third party ID syncs, check this :

Destination Publishing

The empty page is the resulted by Mobile App's odd behavior of opening iFrame in a new window instead of loading in the same page as all other browser behavior.

You can disable this iframe by using the parameter disableIdSyncs set to true, check this doc:

disableIdSyncs

If you are using DIL, then check this : DIL create look for the element: disableDestinationPublishingIframe

But, be aware that this will turn off 3rd party ID syncs

Thanks,

Varun Kalra

Answers (2)

Answers (2)

Avatar

Avatar

Varun_Kalra

MVP

Avatar

Varun_Kalra

MVP

Varun_Kalra
MVP

22-01-2019

Hi Sambhav,

This issue does not happen everytime in webview app, though we have seen it on some apps.
Could you make sure that all the libraries are upto date and check if the issue reoccurs. If it still is there, then please log a support ticket with AAM customer care.

Thanks,

Varun Kalra

Avatar

Avatar

sambhavj5011451

Avatar

sambhavj5011451

sambhavj5011451

06-09-2018

Thanks Varun for replying,

Yes thats correct, it is because of iframe behavior on mobile device.

We do not want to disable the ID synch.

Does it mean that  AAM cannot be used for Hybrid app and we would need to use SDK for mobile app.

Thanks