Expand my Community achievements bar.

SOLVED

AAM Module in Hybrid mobile app

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 9

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 9

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

Avatar

Level 2

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

Avatar

Level 9

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