Tracking phone calls made from Google Ads campaigns through my website

Highlighted
New Member
2 0 1

Hello,

I recently launched some Google Ads campaigns to drive traffic to my sister's office who's a dentist and I would like to track the phone calls made through the website.

Since I've already pasted the Google Analytics script on my Shopify preference, I saw on the Google tutorial that i need to add the config command (the piece of code that contains my conversion ID) to every instance of the global site tag.

However, I'm not able to locate the global site tag on my theme liquid in order to made the necessary change indicated on the Google Tutorial,

The tutorial says that the global site tag should be looking like this after I locate it and I update it with the google ads command :

<script async src="https://www.googletagmanager.com/gtag/js?id=GA-_TRACKING_ID">

</script>

<script>

  window.dataLayer = window.dataLayer || [];

  function gtag(){dataLayer.push(arguments);}

  gtag('js', new Date());

  gtag('config', 'GA_TRACKING_ID');
  gtag('config', 'AW-CONVERSION_ID');

</script>

Have anyone already done this before ? Where can i find the Google Analytics script in order to add the Google Ads tag?

Thank you in advance for your help guys!

Have a pleasant evening!

0 Likes
Highlighted
Shopify Partner
1763 110 318

Dear TechnoOutfit,

 

Hope this will help you https://www.youtube.com/watch?v=pnp_es0VB0Y

Best Regards
MS Web Designer | MS Web International | Task4Store
Contact Us: https://www.task4store.com/pages/contact-us OR task4store@mswebdesigner.com
9.9/10 Customer Rating | 1000+ Happy Clients | 100% Satisfaction Or Money Back Guarantee
0 Likes
Highlighted
New Member
4 0 0

It's easier to place a Google tag manager (GTM) snippet ones to your theme and then create tags with Ads in GTM.
To connect your your GTM  https://help.shopify.com/en/manual/reports-and-analytics/google-analytics/google-tag-manager. It's easy. 
Then in GTM create a constant with your Google analytics ID

Google Tag Manager - Google Chrome.jpgGoogle Tag Manager - Google Chrome2.jpg
Google Tag Manager - Google Chrome3.jpg

Then Create a Tag connecting your Google Ads as described. Submit your changes in GTM. 

Google Tag Manager - Google Chrome4.jpg Google Tag Manager - Google Chrome5.jpg
GTM will add all services to your site and you won't need to add any snippets more to the code.

0 Likes