Google Ads tracking tags

Tracking is a very important part of seeing success in Google Ads. Fortunately, and unfortunately, tracking options have gotten more complex over the last few years. That means while you have lots of options to customize your tracking setup, you also have many opportunities to make mistakes that could cause your campaign tracking to be inaccurate.

Now with Multifeeds you can quickly add tracking tags to your Shopify store with ease and meet the requirements of various Google's programs including enhanced conversion tracking, Google Automated Discounts, etc. These tags include conversion tracking tag, and remarketing tag.

The first 2 tags are FREE of charge

Conversion tracking tags

A conversion tracking tag track an event that could typically set as a "goal" in your ecommerce funnel. The most typical one is the "purchase" event that measure purchases. However depends on your target, conversion tracking tags can also measure other "micro" conversion actions.

add_payment_info This event measures when a visitor submit payment info, e.g. credit card number
begin_checkout This event measures when a user start filling the checkout form, providing personal details including email, phone number, address, etc.
add_shipping_info This event measures when a user fill in the shipping data to receive an order.
add_to_cart This event measures when a user adds an item to the shopping cart.
purchase This event measures purchases.
view_cart This event measures user opening the cart.
view_search_results This event measures user searching for a keyword, most likely looking for a product.
view_item_list This event measures user viewing a collection.
view_item This event measures user viewing a product.
page_view This event measures user viewing a specific page on your site.

For example in early phase of the campaigns you might want to optimize the campaigns based on the "add_to_cart" events instead of "purchase", as number of "add_to_cart" events will be much more than the number of "purchase", providing more sensible data for Google to crunch. After a couple of weeks when the campaigns get more traction and Google has enough insights of your products and potential audience, you could switch to the "purchase" conversion action. One could also consider "begin_checkout" event which is between the "add_to_cart" and the "purchase" events in the funnel.

Remarketing tag

Unlike conversion tracking tags which are used to track a single event (typically with a monetary value), remarketing tags track various activities of a potential customer on your Shopify store, providing valuable insights to Google Ads so it can later on show effective remarketing advertisements to the same customer when he/she surf the internet.

Typical tracked activities include

view_search_results This event measures when a user visits a search results page.
view_item_list This event measures when a user visits a category page.
view_item This event measures when a user visits a product page.
add_to_cart This event measures when a user adds an item to the shopping cart.
purchase This event measures purchases.

Google tags group

Multifeeds organize Google tags in groups, each typically connected to a specific Google Ads account. Tags in a group could also share some localization settings, including the format of item IDs in the feed, or market specific tracking.

Why connecting a Google Ads account?

By connecting a Google Ads account to a tag group, you could have Multifeeds automatically create and configure a conversion action in Google Ads corresponding to the tag installed in your Shopify store. The tag and the conversion action then works hand in hand automatically, helping you avoid going through the time consuming and error-prone process of creating conversion action.

Item ID matters

The item ID in the tags must match the Item ID in product feeds, or Google won't be able to match the conversions (or remarketing events) with products in the Google Merchant Center.

Some common Item ID formats:

  • shopify_XX_{product_id}_{variant_id}. XX is a 2-letter country code. This format is used by the Google Youtube channel app.
  • {product_id}_{variant_id}
  • {variant_id}
  • {sku}

For Google Ads remarketing tags, the item ID in tag has another option which is to match against Item group ID in product feeds.

Most feed apps use the product ID as the item group ID as in Shopify, variants of a product is a native equivalence to the item groups in Google Shopping. Because of this the Item ID in the remarketing tags could be set to use Product ID.

  • {product_id}


The Item id can be configured as a template. By interleaving the texts and the tokens, the ids will be composed at runtime to form the firing item id.

The supported tokens include {product_id}, {variant_id} and {sku}

Market tracking options

Shopify markets make it extremely easy for merchants to go international by providing multiple localized versions of the storefront. However it also creates a challenge to make sure that statistics of a market does not skew the others. By default, a tag is set to fire on all localized versions of the storefront. To track specific market, use Market tracking options.

Specific currency

Select this option to limit the tags to fire only on pages that the currency is available. In fact, except for the page_view event which could fire on special pages that don't have currency data, all other events are tracked with currency.

Specific URL pattern

This option is helpful if you have dedicated domain/subdomain or URL subpath for different markets. For example, a store could have 2 storefronts

  • fr.mystore.com that are selling to France, with products listed in EUR
  • us.mystore.com that are selling to USA, with products listed in USD

Advertising in the 2 markets could be delegated to 2 different agencies, each use a different Google Ads account. Obviously you don't want statistics on the French site to be recorded on the US ads account and vice-versa. To achieve that, a settings like below could be setup

FR tag group

  • Connected to the French ads account
  • set to fire only on France market

US tag group

  • Connected to the US ads account
  • set to fire only on USA market

When using URL pattern, pay extra care not to block the tags on checkout pages unintentionally

Do note that there are cases, for example use of URL subpath of a single domain, in which the checkout page URL pattern could be different from other pages of the market.

In those cases it might be desired to turn on the Skip URL check on checkout pages so the tags are fired when the URL matches OR when the visitor is on the checkout page regardless of the market. Should only be used in combination with the currency filter

Skip URL check on checkout pages means the checkout tags (Purchase, Begin checkout, etc) will fire as long as the page URL has the "/checkouts/" text.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us