Can't get "Has made Visitor API calls in the last 30 days" step to be completed

Hi!
I want to make “Has made Visitor API calls in the last 30 days” step to be completed in order to get BFS badge. I’ve sent several Visitor API api calls from storefront. I made this API call by using next script:
window.Shopify.analytics.visitor({email: "test@powr.io"}, {appId: "gid://shopify/App/219169”}).

After I made this call I’m getting “true” as a response, which means that visitor method was successful. But “Has made Visitor API calls in the last 30 days” checkmark still doesn’t appear.
Could it be related to wrong appId: "gid://shopify/App/219169” and it should be appId: "219169”?
Please help me resolve this issue.

Hi, Did you manage to resolve this issue? If not, then we can assist you.

@Saman_Khalid how did you resolve it?

We resolved it. The issue was that the Visitor API expects your API client ID (numeric) as a string, not the App GID (gid://shopify/App/…).

Shopify.analytics.visitor(
{ email, phone },
{ appId: “YOUR_API_CLIENT_ID” }
);

Verify that the produce_batch request contains:

“api_client_id”: “YOUR_API_CLIENT_ID”

(without the gid://shopify/App/ prefix). Once that’s correct, allow 24–48 hours for the Partner Dashboard to reflect the Visitor API check.

Thanks, will try this