Connect Google Analytics – Magelon
HomeProductsFeed OptimizationImage TemplatesCSS PartnerWhitelabel CSSPricingResourcesFree ToolsBlogFAQHelp CenterLoginStart Trial

Connect Google Analytics

Connecting Google Analytics 4 (GA4) allows you to create segments based on sales and product performance data, including revenue, quantity sold, and the steps from product view to purchase.

Connecting a Google service involves two steps. First you need to connect your own Google account in your profile, which gives Magelon permission to read on your behalf. Then, in the merchant’s settings, you choose which account, property or ID belongs to that merchant.

Start the connection

Open the merchant, choose Settings and go to the Google Services tab. Under Google Analytics, click Link a Google account for Google Analytics. You are taken to your profile.

The Google Services tab of a merchant with the Google Analytics panel open, showing the Link a Google account for Google Analytics button.
Google Services in the merchant’s Settings, with the Google Analytics panel open.

Grant access

Under Connected Google accounts, click Connect Google Analytics and sign in with the Google account that has access to the merchant’s GA4 property. Magelon asks for read-only access.

The Connected Google accounts section in Profile Settings, with an arrow pointing to the Connect Google Analytics button.
Connected Google accounts, in Profile Settings.

When Google asks what Magelon may do, make sure See and download your Google Analytics data is checked, then click Continue.

The Google sign-in screen asking to let Magelon see and download your Google Analytics data, with the checkbox ticked and a Continue button.
Google’s permission screen. Keep the Google Analytics permission ticked.

Return to the merchant’s Settings → Google Services and select the GA4 Account and Property.

The Google Analytics panel with the connected Google account list open, showing one account to choose.
Back in Google Services, choose the Google account you connected in your profile. 

Then match the product IDs:

Setting Choose
Google Analytics dimension Item ID
Product attribute Store ID

This step matters most. It tells Magelon how to match the products in your Analytics reports with the products in your feed. If the product IDs do not match, Magelon cannot associate the sales data with the correct products. Click Save.

The Google Analytics panel with a Google account, GA4 Account and Property chosen, Google Analytics dimension set to Item ID and Product attribute set to Store ID.
Then choose the Account and Property, and match Item ID with Store ID.

Segments based on purchases

Once connected, the Google Analytics metrics — Revenue, Quantity, Viewed, Added to Cart and the cart-to-view and purchase-to-view ratios — are available as filters and as columns on the Products page, over periods from 7 to 90 days.

That is what makes performance segments possible: best sellers, products that are viewed but never bought, products that sell well once added to the cart. See Segment use cases.

Need a hand?If sales do not appear on your products after a day, the ID matching is the usual cause. Contact support@magelon.com and we will check it with you.