Knowledge Base
  • Chào mừng bạn tới trang hỗ trợ sản phẩm của chúng tôi !
  • Page Site Builder
    • Bắt đầu tạo một trang web
      • Thêm một section
        • Sao chép section
        • Cài đặt section
        • Di chuyển section
      • Thêm một page
      • Thêm kết nối SSL
  • HubSpot CRM
    • crm-setup
      • Get started with objects
    • contacts
      • Create contacts
      • A guide to your contacts home
      • Work with your contact records
      • HubSpot's default contact properties
      • Property field types in HubSpot
      • Set up your import files
      • Import data to checkbox properties
      • Manage your properties
      • Import contacts, companies, deals, tickets, products, or notes
      • View and analyze previous imports
      • Troubleshoot import errors
      • Deduplicate contacts, companies, deals, tickets, and products
    • companies
      • Create companies
      • A guide to your companies home
      • Work with your company records
      • HubSpot's default company properties
    • deals
      • Create deals
      • A guide to your deals home
      • Work with your deal records
      • HubSpot's default deal properties
    • tickets
      • Create tickets
      • Work with your ticket records
      • A guide to your tickets home
      • HubSpot's default ticket properties
  • Google Ads
    • Topic
      • Setup and basics
      • Measure results
      • Manage ads
      • Smart campaigns
      • Billing
      • Learn
      • Google Partners
      • Your guide to Google Ads
      • Google Ads basics
      • Create ads and campaigns
      • Choose where and when ads appear
      • Find out if your ad is running
      • Account administration and security
      • Glossary
      • Local Services ads
      • The Google Ads mobile app
      • Ads and approvals
      • Campaign settings
      • Budgets and bids
      • Keywords
      • Reach your audience
      • Target placements and topics
      • Multiple or large accounts
      • Connect your goals to data
      • Find and run reports
    • Google Ads Help
  • Google Analytics
    • answer
      • Get started with Analytics
      • Find your way around Analytics
      • Guided tours
      • Manage and configure Analytics
      • Hierarchy of organizations, accounts, users, properties, and views
      • Diagnostics messages
      • How to get support
      • Google Marketing Platform Partners
      • Introducing Google Marketing Platform
      • Organizations
      • Google Analytics Home
      • Search in Google Analytics
    • Topic
      • Set up (web)
      • Set up (mobile apps)
      • Universal Analytics (UA)
      • Glossary
      • Troubleshoot Analytics problems
      • Understand the Analytics account structure
      • Accounts
      • Properties
      • Reporting views
      • Reporting-view filters
      • User management
      • Common issues
      • Monitor account health and performance
      • Audience reports
  • Google Tag Manager
    • answer
      • Tag Manager overview
      • Considerations before you install
      • Setup and install Tag Manager
      • Tag Manager and gtag.js
      • Introducing Google Marketing Platform
      • The data layer
      • Components of Google Tag Manager
      • Supported tags
      • Conversion linker
      • Google Optimize
      • Custom tags
      • AMP & Tag Manager setup guide
      • Content experiments for mobile apps
      • Custom templates
      • Community Template Gallery
      • Google Marketing Platform Partners
      • Data Processing Amendment
    • Topic
      • Tags
      • Triggers
      • Variables
      • Google Analytics
      • Google Ads
      • Floodlight
      • Accounts
      • Workflow
      • Organization
      • Troubleshooting
Powered by GitBook
On this page
  • Conversion linker
  • Basic setup
  • Link across domains
  • Override cookie settings (advanced)

Was this helpful?

  1. Google Tag Manager
  2. answer

Conversion linker

PreviousSupported tagsNextGoogle Optimize

Last updated 5 years ago

Was this helpful?

Search

Clear search

Close search

Google apps

Main menu

Send feedback on...

This help content & information

General Help Center experience

Conversion linker

Conversion linker tags are used to help tags measure click data so that conversions are measured effectively. Deploy a conversion linker tag on any page where visitors may land after they click an ad or promotion.

When people click on your ads, the URL of the on your website typically includes information about the click. When a site visitor takes an action that you’ve tagged as a conversion (e.g. when a Google Ads conversion tag is fired), the click information is used to associate that conversion with the click that brought the visitors to your site.

The conversion linker tag automatically detects the ad click information in your conversion page URLs, and stores this information in first-party cookies on your domain for web pages, and passes the data in URLs for AMP pages. If you use a conversion linker tag with Google Marketing Platform products, the conversion linker tag may also store unique identifiers in those cookies.

Basic setup

To set up a conversion linker tag:

  1. Click Tags New.

  2. Click Tag Configuration and select Conversion Linker.

  3. Select a trigger. In most cases, you should use a trigger that fires on all page views, or on specific page views where site visitors will land after an ad is clicked.

  4. Save and publish your tag configuration.

Link across domains

To configure the conversion linker tag to work with multiple domains:

  1. Select Enable linking across domains. This setting will enable this tag to handle incoming links that have a linker parameter.

  2. Optional, but recommended for web and AMP containers: In Auto Link Domains, enter a list of domains that should be linked with this tag. Any links that point to a domain listed in this field will have a linker parameter appended to the URL.

  3. Optional for web containers: To link forms, set Decorate Forms to true.

  4. Optional for web containers: If you need to tell Tag Manager to read the unique parameter from a fragment (#) instead of a standard query (?), set URL Position to Fragment. Otherwise, leave this option set to the default Query Parameter option.

  5. Optional for AMP containers: Select Enable linking to Google Analytics Client ID to synchronize the Google Analytics Client ID between linked domains so that activity for a single user can be measured across multiple domains. Note: The endpoint must be configured with a Universal Analytics tag and the correct domain link setting:

Note: Decorate Forms will only work in conjunction with the URL Position option set to Query Parameter. This is because some browsers strip off the URL fragment from form submissions.

Override cookie settings (advanced)

For most cases, the basic configuration of this tag will be sufficient. Only adjust the settings if you have a specific need that requires it.

You may need to override some cookie settings in cases where you already have cookies with the same names, you need to have multiple sets of cookies, or when you don’t want ad click info from one subdomain of your website to be available for conversions on another subdomain. For these cases, use the override cookie settings feature.

When you select the Override cookie settings checkbox, text fields for Name prefix, Domain, and Path will appear:

  • Name: This is the prefix used as part of the cookie names.The default prefix name is _gcl. For example, if you change the Name field to _gcl2, the Conversion Linker tag will set cookies named _gcl2_aw and _gcl2_dc. If you change the prefix of the cookie names, any tags that read ad click info from these cookies (e.g. Google Ads conversion tags) must also be configured to use the same prefix.

  • Domain: This is the domain of your website on which the first-party cookies should be set. By default, a conversion linker tag will use the highest level domain on which it can set cookies. For example, if your website address is blog.example.com, a conversion linker tag will set the cookie domain to example.com. Only set this field if you need to limit the cookies to a lower-level domain.

  • Path: This is the path used to set the cookies. By default, the cookie path will be the root level of the domain. Only set this field if you need to limit the cookies to a subdirectory of a domain.

You can also edit how tags work with first-party cookies set by conversion linker tags: These tags will offer two additional configuration options in the Conversion Linking section:

  • Enable Conversion Linking: By default, all tags that read data set by the conversion linker tag have "Enable Conversion Linking" set to true. Set this value to false if you need to disable the tag's ability to work with Conversion Linker tags.

  • Cookie Prefix: If you have changed the cookie name prefix in a conversion linker tag, add that same prefix in this field so that the tag can read data from the correct cookie.

Was this helpful?

How can we improve it?

Instances of conversion linker tags for web and AMP containers will have the additional option to and web containers will also include the ability to .

Conversion linker tags in web and AMP containers can be configured to link across domains for cases where you have the landing pages and conversion pages on multiple domains. When you select this option, hyperlinks that point to a linked domain will have a linker parameter appended to the URL. A destination domain with a compatible linker tag will check inbound URLs for linker parameters. If a valid linker parameter is found, a 1st party measurement cookie is extracted and stored. .

For installations, set accept_incoming to true.

For , set allowLinker to true.

For Universal Analytics settings in , add a field with a Field Name of allowLinker and a Value of true.

The conversion linker tag sets ad click information in cookies named _gcl_aw and _gcl_dc, and uses the top-most and root level . If you need to override any of these settings, you can do so in Linker Options.

conversion page
Learn more
gtag.js
analytics.js
Tag Manager
Google Ads conversions
Standard Google Ads remarketing
Google Ads dynamic remarketing
Measure users across domains
gtag.js Developers: Measure users across domains
link across domains
override cookie settings
domain
path