ShopWeight

Google tag (gtag.js) vs PostHog: which slows a Shopify store more?

PostHog is usually the lighter of the two. On the typical store it was moderate, while Google tag (gtag.js) was heavy.

Both are analytics apps. We measured Google tag (gtag.js) on 559 Shopify ecommerce stores and PostHog on 24.

Analytics

Side by side

AppTypical processing timeStores measured
Google tag (gtag.js) Heavy (300 ms to 1 second) 559
PostHog Moderate (100 to 300 ms) 24

Google tag (gtag.js) was heavy on 75% of the stores it was measured on. PostHog was moderate on 42% of the stores it was measured on.

On stores that run both

20 of the stores we checked load both. PostHog took less processing time than Google tag (gtag.js) on 16 of them.

Each band is an app's typical processing time across the stores it was measured on. Those stores differ from app to app. That makes the result on stores that run both the fairer test. Apps found on fewer than 20 stores aren't listed yet. The list grows as more stores are checked.

All apps in the index · How we measure these numbers

ShopWeight isn't affiliated with Shopify or with any app maker listed here.

Check your own Shopify store to see how every app on its homepage ranks.

Check my store