Welcome!
Welcome to the Marin Software Support Center. We're glad you're here. Here's what you can look forward to:
  • Real-time search so you can find what you need faster than ever.
  • Easy-to-follow video guides for our most popular articles.
  • Interactive simulations and Live Screenshots to make learning easy.
  • Regular content updates to ensure every word you read is accurate and up-to-date.

Revenue and Conversion Tracking

Home > English > Revenue and Conversion Tracking > Revenue Integrations > Guides: Revenue Integrations > Setting up Your Google Analytics Integration

Setting up Your Google Analytics Integration

Introduction

The Marin platform seamlessly connects to the Google Analytics API for both Standard and Premium versions to retrieve conversion data. The data syncs into the platform daily for reporting and optimization purposes. Google Analytics is considered a trusted source for conversion and revenue data. Tracking is simple to implement, as URL tagging is not required to get started.
 

Considerations & Requirements

Your platform data may differ for Premium (paid) and Standard (free) Google Analytics accounts. Standard users may see differences in platform data looking back two or more days.
 

Supported Metrics  

  • Goals (conversions & revenue)

  • eCommerce Transactions (conversions & revenue)

  • Web Analytics Metrics (such as sessions, bounces etc.)

  • Events (such as downloads, mobile ad clicks, gadgets, Flash elements, video plays)

  • See Google Analytics’ full list of available metrics

 

Unsupported Metrics  

  • For calculated metrics, such as Bounce rate or Session duration, see Custom Columns below

  • Sub-segment data (e.g. eCommerce Transaction = Sale, sub-segments = existing customer and new customer)

  • eCommerce with no goals set up (set up placeholder goal if needed)

  • Deprecated Web Analytics Metrics (e.g. visits, new visits, visitors)

  • Anything other than last-click attribution & date of conversion data

  • Auto-tagging for Google Product Listing Ads (PLAs) and Shopping Campaigns. To track PLAs and Shopping Campaigns you will need to enable Manual-tagging Override in Google Analytics and tag your PLAs and Shopping Campaigns with UTM parameters (more details in steps  2 and 3 below).


 

Step 1: API Access, Profile ID, and Goals

There are four main steps involved with setting up your Google Analytics account. For the first step of the installation process, you will need to make sure your Google Ads account is linked to your Google Analytics profile (see help article).

Grant API access  

  1. Log into Google Analytics and click Admin at the bottom-left corner of the screen.

  2. In the Account column, select the profile you wish to track in the drop-down.

  3. Select User Management.

  4. Click the plus sign, select Add new users and enter the email address ga-api@marinsoftware.com.

  5. Turn on access to Collaborate and Read & Analyze.



Identify Google Analytics Profile ID(s)

  1. Click Admin > View Settings (located under the View column).

  2. Under View Settings you will see the View ID (sometimes referred to as the Profile ID).

    Note: The View or Profile ID is also located in your URL when viewing the Home page, located after the “p” in the URL string.

 

 

Identify Goals and Metrics* to track  

  1. Login to Google Analytics > Admin.

  2. In the View (Profile) column select Goals.

  3. Make a note of the Goal Name and Goal ID number.

  4. Make a note if you are using an eCommerce tag.

 

*The platform is best used to track Goals and eCommerce. Reporting on rates and averages require Custom Columns (see steps below).

 

Add a new Conversion Type for each Google Analytics Goal or Metric

  1. In the Marin application click Admin > Revenue > Conversion Types.

  2. Use the Create button to add new conversion types.

  3. Use the chart below to review common conversion types settings.
     

Setup Item

Setup Requirements

Conversion Type

The conversion type name - this should indicate what the conversion event is (e.g. Sales)

ID

The conversion type ID - this should be the goal and goal number (e.g. goal2) or eCommerce transaction (e.g. transaction)

 

The conversion type ID will be used to complete the integration with Customer Support.

Column Header

The column header name is what will be displayed in the platform. This should indicate what the conversion event is and can match the conversion type name (e.g. Sales)

Include in Total

In order to bid on specific conversions and/or revenue, you must include them in the totals.

Track Conversions on

For a Google Analytics integration, this should always be set to Date of Click

 

Please note: You will, in fact, see Date of Conversion tracking data in the platform. Setting conversion types to Date of Click is a display setting, as our system uses data in the Date of Click field for bidding optimization.

 

Please note: We pull in the Date of Conversion data from Google Analytics, and that is what you will actually see in the platform. Because our system uses the Date of Click field for bidding optimization so you must set conversion types to Date of Click.

Conversions per click

This is based on your tracking requirements.

Creating Custom Columns (only needed if you want to track averages and/or rate metrics)

For calculated metrics (such as bounce rate, average session duration, % session duration, etc.), you can create Custom Columns. For information on how to set these up, you can go to our Advanced Guide for Custom Columns.
 

Custom Column Formulas

  • % Bounce Rate = Bounces / Sessions

  • % New Sessions = NewUsers / Sessions

  • Page views per session = PageViews / Sessions

  • Average Session Duration = SessionDuration / Sessions
     

Note: Time metrics, such as Session Duration, will show up as Conversions with the number of conversions representing the duration in seconds (e.g. 1500 Conversions = 1500 seconds).
 

Step 2: Determine Tracking Method

Auto-Tagging Overview

  • Tracks data using Google Ads’ GCLID parameter so you will not need to tag your URLs

  • Available for Google only (See Manual-tagging below for Microsoft tracking)

  • Best practice is to choose one tracking method, either auto-tagging or manual, but it is possible to have Auto-tagging with Manual-tagging Override turned on in Google Analytics. Some specific use cases for using Manual-tagging override can be found in Google’s help article here.

  • To verify if you are using Auto-tagging:

    • Go to Google Ads > All Campaigns

    • Click Settings > Account Settings

    • Here you can set Auto-tagging to be ON or OFF
       

Manual-tagging Overview    

  • Higher accuracy for bidding purposes

  • Required to tag your URLs with tracking parameters in the platform (Instructions in Step 3)

  • Make sure that Manual-tagging override is turned off in Google Analytics

    • Go to Google Analytics and click Admin > Property Settings (under the Property column in the Admin section).

    • Under Advanced Settings, you can see this as a checkbox labeled Allow Manual-tagging (UTM values) to override auto-tagging (GCLID values) for Google Ads and Doubleclick Search integration.
       

Step 3: Set up Tracking and URL Configuration

Add Tracking Template and Custom Parameters to URL Builder  

  • Go to Marin > Admin > URL Builder > Select Publisher to edit tracking templates and create custom parameters - Link to Revenue Hub (Tracking Templates and Custom Params)

  • See the chart below for standard Google Analytics options

 

Standard URL Builder Settings
 

Publisher

URL Structure

Google

Auto-Tagging (GCLID used): No URL Builder setup required

 

Manual-tagging:

Account Level Tracking Template:

{lpurl}?utm_source=[publisher]&utm_term=[keyword_text]&utm_campaign={_campaign}&utm_medium=cpc&utm_content={ifsearch:s}{ifcontent:c}{_mkwid}_d{device}|pcrid|{creative}|pkw|{keyword}|pmt|{matchtype}|grpid={groupid}

 

Custom Parameter: {_mkwid}=[uniq_id] at keyword, creative, product group and placement level; {_campaign}=[campaign] at campaign level

 

NO CUSTOM PARAMETER REQUIRED FOR SITELINKS

Microsoft

Manual-tagging option ONLY

 

Account Level Tracking Template:

{lpurl}?utm_source=[publisher]&utm_term={Keyword}&utm_campaign={Campaign}&utm_medium=cpc&utm_content={_mkwid}_d{Device}|pcrid|{AdId}|pkw|{Keyword}|pmt|{BidMatchType}

 

Custom Parameter:  {_mkwid}=[uniq_id] at keyword, creative, product group and placement level

 

NO CUSTOM PARAMETER REQUIRED FOR SITELINKS

Yahoo Gemini

  •  

Other

Manual-tagging option ONLY

 

**Upgraded URLs are not supported for Yahoo Gemini or other publishers.**

 

Edit URL Parameters:

?utm_source=Gemini&utm_term={Keyword}&utm_campaign={Campaign}&utm_medium=cpc&utm_content={_mkwid}_d{Device}|pcrid|{AdId}|pkw|{Keyword}|pmt|{BidMatchType}

 

Publisher dynamic parameters, indicated by curly brackets, must follow the publisher’s specific terminology.

For example, using {creative} for Google vs {adid} for Microsoft (other publishers have their own terms, and Gemini’s is the same as Microsoft).

 

Yahoo Gemini does not support some Marin Macros, indicated by square brackets, like [publisher]. Therefore, you need to hard-code Gemini for the utm_source parameter in the example tracking template above.

 

NO CUSTOM PARAMETER REQUIRED FOR CLASSIC URLS


Set up Tracking ID Parser Settings

  • Go to Marin > Admin > Tracking IDs

  • See chart below for standard Google Analytics setup

 

Standard Tracking ID Parser Settings (Only Required for Manual Tagging)

  • Go to Admin > Revenue > Tracking IDs
     

ID

Start after these sequences

Stop after these sequences

Device Type Appended?

Tracking ID

utm_content

|

Yes - with underscore (_)

{keyword} Parameter

pkw

|

 

{creative} Parameter

pcrid

|

 

{placement} Parameter

 

 

 

{matchType} Parameter

pmt

|

 

{device} Parameter

     

 

Step 4: Contact Support to Complete Google Analytics Integration

When you are ready, please contact Customer Support with the following details:
 

  • Google Analytics Profile ID(s): i.e. 123409870

  • Google Analytics Goals: i.e. goal4, goal8

  • Marin Conversion IDs

  • Publisher(s) to Track: i.e. Google, Microsoft or Other

  • Tracking Method: Auto-Tagging or Manual-tagging

 


QA and Troubleshooting

While the integration process can come together easily, there are times when you run into challenges. We’ve outlined three of the most common troubleshooting topics below to help you resolve them.

Data discrepancy between Google Analytics and Marin Platform?

Apply the proper filters to accurately compare the data.

Note: Because Google Analytics reports on all tracking data (e.g. direct, organic, paid search, etc), you will need to be sure you are looking specifically at Paid Search when comparing conversion data with the Marin platform.

 

Google Analytics Platform

Auto-Tagging:

  1. Log into Google Analytics and click Acquisition > Campaigns > Paid Keywords

  2. Click Advanced Segments

  3. Select the Paid Search Traffic filter

  4. Click Apply

  5. Select your date range

  6. Filter for campaigns, groups, etc.

  7. Select your Goal ID

  8. Compare data to the Marin platform

 

Manual-tagging:

  1. Log into Google Analytics and click Acquisition > Campaigns > Paid Keywords

  2. Click Advanced Segments > Custom Segments > Edit

  3. See if “utm_content contains |” segment is a filter option

    1. If this is already a filter option select it and click Apply

    2. If this filter is not an option

      1. Click Create New Segment > Advanced > Conditions

      2. Insert the following definition “Include Ad Content Contains |

      3. Then click Save

  4. Select your date range

  5. Filter for your desired campaigns, groups, keywords

  6. Select your Goal ID

  7. Compare data to the Marin platform

 

Product Group:

  1. Log into Google Analytics and click Acquisition > All Traffic > Source = Medium

  2. Filter by ‘google_shopping / cpc

  3. Filter by Account, Campaign, Group, etc



 



Not seeing data in either platform?

 

Confirm URL Tracking

Auto-tagging

  • Contact Customer Support to investigate, as no URL tagging is needed

 

Manual-tagging

  • Go to Admin > Activity Log to confirm bulk uploads processed and posted successfully in Step 3
     

Confirm URLs and Tagging

  • In the platform, go to the trackable object level (e.g. keywords, creatives)

  • Add the Destination URL column

  • Filter for ‘does not contain utm

  • If there are any missing, create a report and upload the Landing Page to build URLs

  • Re-confirm the above steps and post the activity in the Activity Log
     

Confirm Custom Parameters, particularly the unique tracking ID

  • In the platform, go to the trackable object level in the SmartGrid

  • Add the Custom Parameters column

  • Filter for ‘does not contain mkwid’ (or if not mkwid, the name of your unique ID parameter)

  • If there are any missing, create a report with the required editing columns and upload a blank Custom Parameters column to build URLs

  • Re-confirm the above steps and post the activity in the Activity Log
     

Confirm Tracking Template

  • If you have an Account-level tracking template, go the the Channels tab, add the Tracking Template column (for tracking templates at other levels in the hierarchy, go to the corresponding tab to view at that level)

  • Confirm the tracking template with the necessary tracking parameters is in place (see Step 3)
     

Goal Completions Showing (not set) in Google Analytics

 

Review Revenue Upload Files

  • Go to Admin > Activity Log and review the revenue files (See more details here)

 

Check for Objects in Sync Error

  • Check your Campaigns, Groups, Keywords, and Creatives tabs in the platform

  • Filter for objects in sync error or editing status (review the article here)

 

If you need additional assistance, please contact Customer Support.

 


Adjusting Your Google Analytics Integration

Please contact the Customer Support team to adjust the following:
 

  • Add/remove goals

  • Add/remove metrics

  • Add/remove eCommerce transactions

  • Add/remove a Profile ID/View ID

  • Change Tracking Method to or from Auto-tagging or Manual-tagging

 

 

Last modified

Tags

Classifications

This page has no classifications.

 

wiki.page("Internal/Mindtouch_Launch_Sandbox/js.cookie.js")