Expand my Community achievements bar.

Adobe Summit 2025: AEP & RTCDP Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

_satellite.track as a synchronous call

Avatar

Level 1

I've run into an issue on iOS devices trying to track a direct call rule on the native 'pagehide' event. The issue being that Safari will only fire a network call if the request is synchronous (Javascript - AJAX call within a unload/pagehide event - Stack Overflow ). By default _satellite.track() is an asychronous call, but I'm wondering if anyone is aware of how to make this synchronous to resolve my issue?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

Direct call rules are in sync with the thread executing it. So if it is called in an async call back, it will not be synchronous. If it is called on an event handler, it will be.

Cheers,
Jantzen

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi,

Direct call rules are in sync with the thread executing it. So if it is called in an async call back, it will not be synchronous. If it is called on an event handler, it will be.

Cheers,
Jantzen