Google Ads conversion tracking

You can set up Google Ads conversion tracking to track actions that people take on your Pixpa store after clicking on one of your ads. When a customer completes an action that you’ve defined as valuable, these customer actions are called conversions.

You can use conversion tracking to track many actions like store purchase, newsletter signups or any other action that customers complete on your Pixpa store/website. Click here to know more.

Before following this conversion tracking setup, you need to have a Google Ads account with live and running ads. Click here to know everything about Google ads.


To set up Google Ads conversion tracking, please follow the steps:

Step 1 – Create a conversion action in your Google Ads

You need to create a conversion action first. You set up one conversion action at a time, but you can track multiple conversion actions at once. Click here to know more.


Step 2 – Install a global site tag in Pixpa studio

Now, Install the global site tag for tracking the conversions in all pages of your website and store. Click here to know more.

Copy the site tag and paste in the External Script <head> Section. Click here to know more.


Here’s an example of a global site tag, where “AW-CONVERSION_ID” stands for the conversion ID that’s unique to your Google Ads account:

<script async
src="https://www.googletagmanager.com/gtag/js?id=AW-CONVERSION_ID">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-CONVERSION_ID');
</script>

 

Optional: You may also combine conversion tracking with analytics code. Here’s an example of a global site tag that’s configured for both Google Analytics and Google Ads, with the config command for the Google Ads account highlighted:

<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>

Step 3 – Install the event snippet tag in Pixpa studio

Now add the dynamic event snippet in order success page. Click here to know more.


The event snippet works with the global site tag to track actions that should be counted as conversions. If you’re monitoring store sales, then you also need to edit the event snippet to adjust the value of the conversion based on your Pixpa store amount. Click here to know more.

Your event script looks similar to the following example:

<script>
gtag('event', 'conversion', {
'send_to': 'AW-CONVERSION_ID/CONVERSION_LABEL',
'value': 1.0,
'currency': 'USD',
'transaction_id': ''
});
</script>

The default currency is USD. If you don’t sell in US dollars, then replace ‘USD’ in the event snippet with a dynamic variable of Pixpa store currency, i.e. ‘currency.’

The default transaction ID is blank. To prevent Google Ads from recording duplicate conversions, replace it with a dynamic variable of Pixpa order ID, i.e. ‘orderid.’ Click here to know more.

The default value is 1.0. To capture correct order amount replace it with a dynamic variable of Pixpa order amount, i.e. ‘ revenue.’

After you replace the variables, your event script looks similar to the following example:

<script>
gtag('event', 'conversion', {
'send_to': 'AW-CONVERSION_ID/CONVERSION_LABEL',
'value': 'revenue',
'currency': 'currency',
'transaction_id': 'orderid'
});
</script>

Pixpa passes the following information for every received order on your Pixpa store:

  • Order ID – orderid
  • Order Date – order_date
  • Order Currency – currency
  • Order Total – revenue
  • Total Tax – tax
  • Shipping Charges – shipping
  • Discount Code – discount_code
  • Discount Amount – discount_amount
  • Customer First Name – firstname
  • Customer Last Name – lastnamev
  • Customer Email ID – email
  • Customer Phone Number – phone
  • Shipping Country – country
  • Shipping City – city
  • Shipping Zipcode – zip
  • Payment Method – payment_method

Set up remarketing

Remarketing helps you reach people who have previously visited your website or store. Previous visitors or users can see your ads when they browse websites that are part of the Google Display Network, or when they search for terms related to your products or services on Google. Click here to know more.

Set up your remarketing campaign and get the remarketing tag. Click here to see how.

Once you get the code, you need to simply paste in an external script <head>section. Click here to know more.