Articles on: Campaign Tracking

How to track campaigns with Google Analytics?

Google Analytics is a web analytics service offered by Google. Use Google Analytics to

track different website activity (session duration, pages per session, etc)
track and get reports on website traffic;
optimize traffic according to Google Analytics data.

Google Analytics settings can be found under tab TQ & Analytics:

GA is available for all campaign types except Display campaigns

How to Setup Google Analytics

Sign up with GA. Read more about this here.
Set up Google Analytics tracking code(s) on the website(s) advertised. Please precisely follow Google instructions to set up the tracking pixel.
Add the Network Admin as a user to the GA account in the Account User Management settings.

To find out more about GA accounts, click here.

Add a GA Tracking ID to the ‘Profile’ field in the Campaign tab TQ & Analytics:

Share the Google analytics account to the following system emails:


Add macro {ga} to the Destination URL in the Creative settings:

utm_source = {pubfeed}_{subid}
utm_content = {textadId}
utm_campaign = {campaignName}
utm_medium = {network}

The macro ‘{ga}’ must be added with appropriate separators (depending on where in the URL the macro is placed):

Make sure the default CPC on the current campaign is OK for you. When stats are not pulling from GA or too few stats are pulled for optimization, the system will use the default CPC.
Add the desired bids to the ‘Target Cost’ fields (use any combination of target costs):

Target Cost Example:

Let’s assume the stats extracted from GA reports are the following:

New Visits = 5,000
Visits = 10,000
Pageviews = 50,000

The ‘Target Cost’ in GA performance calculates as follows:

Target Cost = New Visits * Target Cost per New Visit + Visits * Target Cost per Visit + Pageviews * Target Cost per Pageview

Target Cost Calculation Example:

```Target Cost = 5000 $0.01 + 10000 $0.001 + 50000 * $0.0001 = $50 + $10 + $5 = $65
You can use any combination of available “Target Cost per …” fields.

When ‘Pageviews’ is the main targeting metric, the other targeting fields can be empty. Leaving the other targeting options empty will cause the system to use the ‘Pageviews’ column to generate Target Cost. It is possible to start GA without entering a ‘Targeting Cost’ field (for a while). Instead, the GA feature will work in CPC mode and will just display stats pulled from GA.

Add Goals if an Advertiser or Admin needs to track Goals. The list of Goals must be comma-separated:

Read more about setting Goals in GA here.

Add a ‘Target Cost Per Goals Value’ setting, a coefficient to adjust the value of a goal. Enter a value between 0 and 1.

Target Cost Per Goals Value Example:

Let’s say that ‘Target Cost Per Goals Value’ is $0.5 and ‘Goal Value’ set in the GA account is $10.2:

‘Target Cost’ for the Goal will be calculated as:

Target Cost Per Goals Value * Goal Value = Target Cost
Target Cost = 0.5 * $10.2 = $5.1

How Google Analytics Bids Optimization works

As Target Cost is generated based on data pulled from GA reports, the same metric can calculate optimized CPC per publisher subids with the following rules:

Optimized CPC = Target Cost / Clicks
The calculation depends on each publisher’s subid performance for the previous (5) days.
Optimization only applies for Offers that have the ‘Pricing Model’ set as CPC, the ‘Bids Optimization’ setting enabled, and at least 2 days of GA stats. With the previous example, if some specific subid generated ‘Target Cost’ of $5.1 from 1000 bought clicks, it’s average optimized CPC will be:

Optimized CPC = Target Cost / Bought Clicks
Optimized CPC = $5.1 / 1000 = $0.0051.

This optimized CPC will be used instead of the campaign’s default CPС for this specific subid.

Relevant articles:

How to track campaigns with Google Analytics?
Premium Domain Targeting
How to set up a Display Banner campaign
Tokens for Display Campaigns (Banner, Native)
How can I fund my account?

Updated on: 16/02/2024

Was this article helpful?

Share your feedback


Thank you!