Email Response Template

Use Case

Used when a customer is confused why they see USD prices despite adding "Jakarta" to their query.

Template Type

Technical Support Response - Localization Issues

Email Template


Subject: Re: Issue with IDR Currency / Wrong Location Results

To: [Customer Name]
From: Roki Miftah Kamaludin - Customer Success Engineer


Hi [Customer Name],

Thank you for reaching out! I've reviewed the script you shared.

I noticed that while you included location: "Jakarta", Google's API still defaults to the US server's currency (USD) if the region is not explicitly enforced.

The Fix

I have attached a corrected version of your script. The key changes are:

  1. Added gl: "id": This sets the Google Country parameter to Indonesia.
  2. Added hl: "id": This sets the Host Language to Indonesian.
  3. Switched Engine: I updated the engine to Shopping Graph to give you better structured data for product prices.

Your New Code Snippet

const params = {
  engine: "google_shopping",
  q: "Kopi Luwak",
  location: "Jakarta, Indonesia",
  gl: "id", // Forces Indonesia Region
  hl: "id", // Forces Indonesian Language
};

You should now see the results in Rp (IDR).

Let me know if you need help adjusting this for other countries!


Best regards,
Roki Miftah Kamaludin
Customer Success Engineer
LinkedIn