How to capture traffic source in google analytics

Topic summary

Capturing traffic sources for a Shopify app in Google Analytics using UTM parameters appended to the Shopify Admin app URL is the core topic. UTM parameters (e.g., utm_source, utm_medium) are campaign tags added to links to identify where traffic originates.

Suggested approach: include UTM parameters in all promotional links. Google Analytics will record these, and you can review them under Acquisition > All Traffic > Source/Medium and via secondary dimensions.

Latest issue: a participant sending paid traffic to their Shopify App Store listing reports that in GA4 (Google Analytics 4) all installs appear as “direct,” not attributed to ads. The flow is: users click “Add App” on the listing and are redirected to the app’s onboarding page.

Status: attribution of installs from the Shopify App Store listing in GA4 remains unresolved. It is unclear whether UTM parameters or current GA4 setup captures the source across this redirect flow. No confirmed solution or action items were provided.

Summarized with AI on January 3. AI used: gpt-5.

Hi,
I have a shopify app and i am sending traffic to my shopify app from various sources. I want to know if there is a way to capture the source in google analytics

Example : below is url when a store opens my app
https://admin.shopify.com/store/{store_name}/apps/{app_name}

i am retargeting my customers with campaigns where url is https://admin.shopify.com/store/{store_name}/apps/{app_name}?utm_source=something&utm_medium=something

Question - is there a way to get these utm_source, utm_medium in Google Analytics?

@cipher1

To track the sources of traffic leading to your Shopify app in Google Analytics, you can utilize UTM parameters such as utm_source and utm_medium in the URLs. When promoting your app through various campaigns, ensure to include these parameters in the links. For example, your URLs might look like this: “https://admin.shopify.com/store/{store_name}/apps/{app_name}?utm_source=something&utm_medium=something…”

Once these links are clicked and users visit your app, Google Analytics automatically captures this data. You can then access this information in your Google Analytics account by navigating to “Acquisition” > “All Traffic” > “Source/Medium.” There, you’ll find details about the sources and mediums of your traffic, providing insights into the effectiveness of your campaigns or sources. Additionally, explore different reports or use secondary dimensions in Google Analytics to delve deeper into the performance of specific campaigns based on the UTM parameters used. By leveraging UTM parameters and Google Analytics, you’ll gain valuable insights into how different marketing efforts drive traffic to your Shopify app.Hope that helps.Thanks

Hello,

We are sending traffic directly to our app’s Shopify page through Google Ads or other paid sources. Users click on the “Add App” button and are redirected to our app’s onboarding page. We want to track the the source of installs in our shopify app store listing. In GA4, all the installs are showing “direct” sources and not from the ads.

Thanks in advance!

Alex