Need help with setting up Google ads, Analytics and GA4

Need help with setting up Google ads, Analytics and GA4

misselvinl
Visitor
1 0 1

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 

 

Replies 5 (5)

soleseriouss
Trailblazer
316 10 38

Have you tried referring to the tutorials on YouTube?

Online Sneaker Store - Soleseriouss

bianca_dih
Shopify Partner
1 0 0

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 

flareAI
Shopify Partner
2405 223 541

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


2. 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 "</head>" tag:

{% if order %}

<script>
gtag('event', 'purchase', {
"transaction_id": "{{ order.order_number }}",
"value": "{{ order.total_price | money_without_currency }}",
"currency": "{{ shop.currency }}"
});
</script>
{% 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

flareAI : Get Sales from Google Search, on Autopilot
$10+ billion in eCommerce on Google Search, every day. Find out how much you are missing
soleseriouss
Trailblazer
316 10 38

This will surely help OP!

Online Sneaker Store - Soleseriouss
SarahM72
Shopify Partner
3 0 0

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