Need help with setting up Google ads, Analytics and GA4

Topic summary

Request for help setting up Google Ads conversion tracking and Google Analytics with transaction tracking on a Shopify store, including both Universal Analytics and GA4.

Responses varied:

  • A suggestion to follow YouTube tutorials for guidance.
  • A recommendation to use the Littledata app, with links to setup and a 30-day trial, offering an automated approach.
  • A detailed step-by-step guide from another participant covering Google Ads conversions setup, adding Google Analytics to Shopify preferences, enabling transaction tracking by editing theme code, and sample snippets for Universal Analytics and GA4. Code blocks were included and are central to that reply.

There is disagreement about accuracy: one participant endorsed the step-by-step guide, while another criticized it as likely AI-generated and “completely wrong,” questioning credibility due to app promotion.

No clear resolution or confirmed working solution emerged. The original poster has not confirmed what they tried or what worked. Key open items are choosing a reliable setup method and verifying the correctness of the provided code and steps.

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

Hello,

I would like to ask if anyone can help me to setup the following functions:

  1. Google Ads conversion tracking setup

  2. Google Analytics setup (with transaction tracking)

2.1. Universal Analytics

2.2 GA 4

1 Like

Have you tried referring to the tutorials on YouTube?

Hi there,

The Littledata app helps set up all that in no time. You can see more details here and you can install our app by accessing this link.

We offer a 30-day trial when you can test all our features. If you have any questions you can reach out to help@littledata.io

My best,

Bianca

Hello @misselvinl ,

This is Gina from flareAI app helping Shopify merchants get $5Million+ in sales from Google Search, on autopilot.

I can definitely help you with setting up Google Ads, Google Analytics (with transaction tracking), Universal Analytics, and GA4 for your Shopify store. Here’s a step-by-step guide to getting you started:

  1. Google Ads Conversion Tracking Setup:

Log in to your Google Ads account and go to “Tools & Settings” > “Conversions”
Click on the “+ Conversion” button
Choose the type of conversion you want to track (such as purchase, lead, or sign-up)
Follow the prompts to set up the conversion tracking code
In your Shopify store, go to “Online Store” > “Preferences”
Paste the conversion tracking code in the “Additional scripts” field

  1. Google Analytics Setup (with transaction tracking):

Log in to your Google Analytics account and create a new property for your Shopify store

In your Shopify store, go to “Online Store” > “Preferences”

Paste the Google Analytics tracking ID in the “Google Analytics” field

To enable transaction tracking, go to “Online Store” > “Themes” > “Actions” > “Edit code”

Navigate to “Sections” > “header.liquid”

Paste the following code just before the closing “” tag:

{% if order %}

{% endif %}

2.1. Universal Analytics:

Follow the above steps for Google Analytics setup (with transaction tracking)

To enable Universal Analytics, add the following code just after the Google Analytics tracking ID:

ga('create', 'UA-XXXXXXXX-X', 'auto');
ga('send', 'pageview');

2.2. GA 4:

Follow the above steps for Google Analytics setup (with transaction tracking)

To enable GA4, add the following code just after the Google Analytics tracking ID:

gtag('config', 'GA4_MEASUREMENT_ID');

I hope this helps you set up your Google Ads, Google Analytics, Universal Analytics, and GA4 for your Shopify store.

Gina

1 Like

This will surely help OP!

Serious question… did you use ChatGPT to answer this? It’s hard to trust someone touting an app when their response is completely wrong.