Tracking + Analytics

Optimize your app with measurement and analysis tools.

Tracking campaigns with GET Parameters

Monitor campaigns on your mobile website with a GET Parameter.. Also known as a query string, it's a parameter we use to identify an activity or behavior your customers perform after they clicked or scanned a link from an advertisement (email newsletters, online ads, QR codes, etc.). 

There are three behaviors you can track with a "GET Parameter":

Customer registrations
When selected, we will track new customer accounts that were registered via your campaign URL. You will receive the number of new sign-ups.
Orders
When selected, we will track orders placed via your campaign URL. You will receive the number of orders and the order IDs, which you can use to look up the order details.
Purchases of product(s)
When selected, we will track orders which contain a specific product. Other products purchased together with this product will also be recorded.

You can also track multiple behaviors in a single link.

Setting it up

To set up a GET Parameter, follow the steps below:

  1. Log in to your Shopgate Admin and navigate to Settings → Tracking Tools.
  2. Locate the Tracking Parameter section and turn it to ON. A pop-up will open. 
  3. In the pop-up window, enter a GET Parameter, select what do you want to track from the drop-down, and choose if you want to set cookies. Click Save. To find out more information about these options, please read What do these tracking options mean?

That's it! You have successfully set up a GET Parameter.

Understand the options

GET Parameter

This parameter is usually added to the end of an URL with a connector "?". The URL is usually the targeted URL one intends to monitor.

To find out which GET Parameter you need to enter at Shopgate, look for a string immediately after "?" and before "=" in your campaign URL. In the example below, the GET Parameter is "campaign2014"(highlighted in pink):

https://m.myawesomeshop.com?campaign2014=XXX

If multiple parameters are used in a link, also look for parameters in between "&" and "=". Here the GET Parameters are "email_signup", "newsletter", and "newProduct".

http://m.myawesomeshop.com/item/39393134?email_signup=2008&newsletter=30&newProduct=59833 

Tracking options

You can choose to track three behaviors here:

How many new user accounts have been registered

If your campaign URL looks like this:

https://myawesomeshop.shopgate.com/category/303031?email_signup=245

Follow the screenshot below to enter "email_signup" as your GET Parameter and select Customer registrations as your tracking option.

New sign-ups can be tracked from any page of your mobile website. In other words, the URL to be tracked can be the base URL of your mobile website or any sub-URLs.
How many orders have been placed

If your campaign URL looks like this:

https://myawesomeshop.shopgate.com?email_orders=245

Follow the screenshot below to enter "email_orders" as your GET Parameter and select Orders as your tracking option.

Orders can be tracked from any page of your mobile website. In other words, the URL to be tracked can be the base URL of your mobile website, or any sub-URLs.
How many people have purchased a specific product, and what else was purchased with it

If your campaign URL looks like this:

https://myawesomeshop.shopgate.com/item/39393134?campaign1=245

Follow the screenshot below to enter "campaign1" as your GET Parameter and select Purchases of products as your tracking option.

IMPORTANT: In order to track purchases of a product, make sure to include the GET Parameter after a product detail page. For example: http://m.myawesomeshop.com/item/39393134?newProduct=59833
Keep in mind that you can only track purchases of a specific product from a product detail page. In other words, the URL to be tracked must contain a product item number or a string you can later refer to that product.

Set a cookie

Setting cookies can help you measure how often a customer returns to your site and makes a purchase again.

It works like this:

  • When a customer clicks on a campaign link to your mobile shop, his or her browser will set a "GET parameter" cookie for as long as the cookie is defined.
  • If the customer comes back to your site--either by clicking the campaign link again or by entering your website URL (without a campaign Tracking Parameter) by hand--the cookie will recognize the customer and send you information when he/she places an order.

To set a cookie:

  • Slide the Cookie selector to Yes, and enter the number of days the cookie needs to be remembered.
  • If Set Cookie option is set to No, the cookie will expire the moment your customer closes the browser.

 

 

Frequently Asked Questions

What is a product detail page?

A product detail page is a page that points to a specific product, and normally shows detailed descriptions of a product. The URL of a product detail page usually includes a unique product identifier, with which one could link to a specific product.

A typical product detail page may look like this (with product number at the end):

http://m.myawesomeshop.com/item/39393134

or this (a product identifier at the end):

http://m.myawesomeshop.com/item/EG3827654

Can I track multiple behaviors in one link?

Absolutely!

  • In the example below, both new sign-ups and orders are tracked in a single link:
    http://m.myawesomeshop.com?email_signup=2008&email_orders=30
    In your Shopgate Admin, the following should be entered to reflect the example campaign link shown above. To track more behaviors, click + Add.



  • You can also track multiple behaviors over a specific product. For example:
    http://m.myawesomeshop.com/item/39393134?campaign1=28&campaign2=30&campaign3=53

What's the difference between Tracking Parameter and Custom Tracking code?

Custom tracking codes use a Javascript code that can be modified to monitor a variety of features. For example, it can track which currency a customer used, how many items a customer has purchased in total, and many other metrics.

Tracking Parameter, in comparison, is limited in its functionalities. However, there are three advantages in using Tracking Parameter:

  • Configuration is straightforward. Your campaigns are monitored based on the parameter(s) you entered. You do not need to provide a tracking code from a tracking service, nor do you need to modify your Javascript code.
  • Tracking results are always accessible. Because the results are always ready via the Shopgate merchant API, there is no need to send a request to another service provider.
  • Tracking results are more accurate. Data is collected entirely on our server, so attempts to block any usages on the browser-side are not going to be effective.

How do I read the tracking results?

You can get the tracking results via API. To read the parameter table, please click here.

If you have any questions about how to connect to the Shopgate merchant API, please read the instructions here.

 

Was this article helpful?
Can't find what you're looking for?
Let us help you—submit a support ticket.
Contact Support