PHP SDK

When the site moves

A migrated site and a cloned site produce the same signal — the stored site hash no longer matches — and need opposite answers. Only the owner knows which happened, so the SDK exposes it rather than guessing:

if ($insights->hasIdentityConflict()) {
    // ask: "Did this site move, or is it a copy?"
    // moved  → $insights->resolveIdentityConflict();  keeps the installation id and its history
    // copy   → do nothing; the server treats it as a new installation
}

While unresolved, every snapshot carries the flag and the server pauses delta computation for that installation.