If you're experiencing discrepancies between your app dashboard data and Google Analytics, or if you're unable to access purchase data on Google Ads/Google Analytics, follow these steps to ensure proper integration and tracking of app events.

1. Set the Correct Currency in Google Analytics

Ensure that your Google Analytics currency setting matches your app's currency. For example, if your app uses Indian Rupees (INR), make sure Google Analytics is set to INR as well. This step is crucial for accurate revenue reflection.

2. Add the Appbrew Pixel to Shopify

To improve event tracking and reporting, add the Appbrew pixel to your Shopify store. This will help synchronize important events like checkout completions and starts.

  1. Follow the steps outlined in this guide: Enable Appbrew pixel on Shopify

  2. Add the following code to your Shopify store:


function sendEvent (event, payload) {
  if(window.ReactNativeWebView) {
    window.ReactNativeWebView.postMessage(JSON.stringify({
    action: "SEND_EVENT",
    payload:  {
      event,
      payload,
      source: "web-pixel"
    }
  }))
  } else {
    window.parent.postMessage({
      source: "web-pixel",
      event,
      payload
    }, window.location.origin)
  }
}
console.log("pixel", window)
analytics.subscribe('checkout_completed', (event) => {
  console.log('checkout_completed')
  sendEvent('checkout_completed', event.data.checkout)
});
analytics.subscribe("checkout_started", event => { 
  console.log('checkout_started')
  sendEvent('checkout_started', event.data.checkout)
});

3. Verify Event Tracking

After implementing these changes, verify that the following events are being tracked correctly in Google Analytics:

4. Monitor and Report Discrepancies

If you continue to notice significant discrepancies between your app dashboard and Google Analytics after implementing these changes, please report them to our support team. Provide specific examples of the events and metrics that are showing inconsistencies to help us investigate further.

Note: It may take some time for the changes to reflect in your Google Analytics reports. Allow 24-48 hours before assessing the impact of these modifications.