Skip to main content

We are seeing some interesting behaviour when we have an application embedded within an iFrame.

We are using the instructions found here and setting 

{ 'iframeModeEnabled': false }

However we are finding that when trying to identify the user onLoad, that the events are still being sent to the parent.

As a work around we are using a timeout, however that seems less than ideal, and will probably result in users who aren’t identified properly. Using a timeout of 1 second on a local dev environment gives us the desired results in that the data is sent via POST rather than being sent to the parent iFrame.

Is there an event we can get via the “aptrinsic” javascript sdk, that would tell us when the configuration has been copied over? It seems that the data we set on `aptrinsic.c` is copied over at a later time.

Be the first to reply!

Reply