How can we use Google Analytics 4 in our app listing

oferariel
Visitor
2 0 7

Google Analytics is replacing Universal Analytics code with the new Google Analytics 4. On July 1, 2023
https://support.google.com/analytics/answer/11583528?hl=en

 

Shopify App Listing currently supports only Universal Analytics code, and there's no option to enter Google Analytics 4 id

Is there some way to embed GA4 in our app listing?

Replies 22 (22)

KanishkT
Shopify Partner
31 0 11

Following..

Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/

nlevos
Shopify Partner
9 0 7

Following

• Creator of Ecomsolo (app to save time + automate reports and data exports, add and manage multiple stores, and more)
• Guy who likes to help people

TobiasDalhof
Shopify Partner
32 5 12

I share your concern.

 

As someone who dislikes Google Analytics, it would be great to have additional options for open-source alternatives such as Phantom, Plausible, or even for Shopify to add their own analytics features.

— I'm building Delm Estimated Delivery Dates
— Was my reply helpful? Click Like to let me know.
— Was your question answered? Mark it as an Accepted Solution.

TobiasDalhof
Shopify Partner
32 5 12

Looks like this is now possible:

— I'm building Delm Estimated Delivery Dates
— Was my reply helpful? Click Like to let me know.
— Was your question answered? Mark it as an Accepted Solution.
Piam
Shopify Partner
25 1 11

Does it typically take a few days for data to start populating? Has anyone else had success with this?

 

For reference, you can find my app listing page at: https://apps.shopify.com/by-the-numbers

 

(Note: I verified that the GA4 code is present on the page, but after 24 hours, the analytics console is still empty)

Cofounder, By the Numbers
(https://apps.shopify.com/by-the-numbers)
piam@bythenumbersapp.com

sniper2804
Shopify Partner
400 25 68

How can I know what search terms people are using to find my app? 
In UA, the pages had query params like search_id, search_details, etc. which contained this information.
But I am not receiving these details in GA4.

Automate & bulk assign products to shipping profile: Auto Shipping Profiles: Shipr
Calculate accurate shipping rates: Shipping Calculator: ShipMagic
Hide, rename, reorder payment methods at checkout: Payment Customization: PayMix
KanishkT
Shopify Partner
31 0 11

Hi @sniper2804,

Follow these steps:
1. Go to the Explore tab in the menu of your GA4 property
2. Create a new exploration by clicking on the '+' button (blank)
3. Then, click on dimensions '+' icon and do the following import:

KanishkT_0-1682943976972.png

4. Now click on Metrics '+' icon and do the following: 

KanishkT_1-1682944124673.png

 

5. Now, double-click on these two: 

KanishkT_2-1682944170911.png

 

6. You'll see the URL view where you can see the search terms (keywords) used to visit your app page / add your app.

Hope this helps!

Thanks 🙂

Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/
sniper2804
Shopify Partner
400 25 68

@KanishkT 
Wow, that worked.

You rock bro!

Automate & bulk assign products to shipping profile: Auto Shipping Profiles: Shipr
Calculate accurate shipping rates: Shipping Calculator: ShipMagic
Hide, rename, reorder payment methods at checkout: Payment Customization: PayMix
KanishkT
Shopify Partner
31 0 11

Thanks 🙂

Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/
Piam
Shopify Partner
25 1 11

WoW I was not figuring that out on my own! I really appreciate it.

If I ever see you around I owe you a coffee!

 

Do you have any other tips?

Cofounder, By the Numbers
(https://apps.shopify.com/by-the-numbers)
piam@bythenumbersapp.com
Avifrie
Shopify Partner
5 0 1

Hi @KanishkT,

 

Does this still work? I tried the same report and it came back with no data

Avifrie_0-1685958327016.png

 

KanishkT
Shopify Partner
31 0 11

@Avifrie You have to double click on the 'page location' and 'views' and then it will show up.

Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/
Avifrie
Shopify Partner
5 0 1

@KanishkT My bad! Thanks it works!!

 

Is there a legend of params Shopify send across so I can figure out what each of them mean?

Ellianto
Shopify Partner
1 0 1
harshil_adesara
Shopify Partner
1 0 0

You are awesome @KanishkT 

I've been trying to figure this out, but just couldn't do this until I saw this. And BOOM. Works like a charm!

 

I do have one followup qs. though. This shows pageviews, but is there any metric/event to track App installs too? In the old GA we could track App installs using the earlier "events" but I'm unable to figure out how to track installs in GA4 😞

 

Please help!

 

Harshil

Co-founder, Peppyduck

My Shopify App: Back in stock WhatsApp alerts

KanishkT
Shopify Partner
31 0 11

Thanks @harshil_adesara 🙂

Yes. There's a way to track installs/Add App button clicks in GA4. To do this follow these steps:

1. Connect your app listing tracking/measurement ID (Starts with G-xxxxxxx) with your App. You can do this here: 

KanishkT_0-1688542607857.png

 

2. Go to Settings > Events like this:

KanishkT_1-1688542751168.png

 

3. In front Add App button, you'll see mark as a conversion toggle. Enable it and you're good to go.

4. To track it later, go to Reports section in GA4, see for this:

KanishkT_2-1688542879596.png


If you don't find it then you can add it to your reports section by clicking on edit icon. Like this: 

KanishkT_3-1688542926132.png



Hope this helps 🙂

 





Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/
archie1337
Shopify Partner
4 0 1

Thank you very much @KanishkT! I'm wondering whether there's a possibility to have a better view of keywords only, as it's not clear enough with urls like apps.shopify.com/XXX?search_id=XXX&surface_detail=some+keyword&surface_inter_position=1&surface_intra_position=5&surface_type=search

 

KanishkT
Shopify Partner
31 0 11

I'm glad that it was helpful.

I think that's all we get from the GA4 for now. I don't know if they'll add more features in the near future. However, if you want to get detailed insights of your app listing traffic, keywords and other important things, you can give this solution a try (7 days for free): https://www.appstoreanalytics.io/ 

I was using this tool but due to some compatibility, I had to cancel their subscription. You can give it a try. 

🙂

Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/
archie1337
Shopify Partner
4 0 1

Do you know perhaps how to properly set up Google Tag Manager in order to track my embedded app user behavior? I think it's not straighhtforward since there are iframes used and GTM has problems tracking that.

archie1337
Shopify Partner
4 0 1
For anyone interested, I've managed to get it working.
Solution:
- if you use GA directly: `gtag('set', 'cookie_flags', 'SameSite=None;Secure');`
- if you use GA via GTM: tag configuration -> In the "Fields to Set" section, click on "Add Row". -> In the "Field Name" column, type `cookie_flags`. -> In the "Value" column, type `SameSite=None;Secure`.
Fahad_Nawaz
Shopify Partner
16 0 1

Mine is coming up as disabled, I cannot click on it. Do I have to do something else to make it work? 

Fahad_Nawaz_0-1718221808295.png

 

Multistore Inventory and Order Synching via Syncerize

!Contact for custom app development!
Fahad_Nawaz
Shopify Partner
16 0 1

ok nevermind, got it to work but I wanted to see what people are searching on google.com when they land on my app listing page. Is there a way to get that information? Because right now, it only says page referer is google and no more information. So basically what they searched on google to land on my app listing page, is there a way to find this information?

 

Fahad_Nawaz_1-1718222397179.png

 

Multistore Inventory and Order Synching via Syncerize

!Contact for custom app development!