The Conversion Linker is used to store ad click information in first-party cookies that are associated with your domain. This functionality will help to ensure that you can effectively measure conversions.
To ensure that you can effectively measure all of your conversions, regardless of the browser that your visitors use, you should deploy a Conversion Linker tag on any page where visitors may land after they click an ad.
How it works
When people click on your ads, the URL of the conversion page on your website typically includes information about the ad click. When a site visitor takes an action that you’ve tagged as a conversion (e.g. when an AdWords conversion tracking tag is fired), the ad click information is used to associate that conversion with the ad 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. If you use the Conversion Linker tag with DoubleClick products, the Conversion Linker tag may also store unique identifiers in those cookies.
To set up a Conversion Linker tag:
- Click Tags New.
- Click Tag Configuration and select Conversion Linker.
- Select a trigger to fire your new Conversion Linker tag. (In most cases, you should use a trigger that fires on all page views, or at least on specific page views where site visitors will land after an ad is clicked.)
- Save and publish your tag.
Override cookie settings (advanced)
For most cases, the basic configuration of this tag will be sufficient. Only override cookie settings if you have a specific need to do so.
By default, the Conversion Linker tag sets ad click information in cookies named _gcl_aw and _gcl_dc and use the top-most domain and root level path. If you need to override any of these settings, you can do so in the Linker Options.
You should only adjust the settings if you have a specific need that requires it. For example, you may need to override some cookie settings if you already have cookies with the same names, need to have multiple sets of cookies, or don’t want ad click info from one subdomain of your website to be available for conversions on another subdomain.
When you select the Override cookie settings checkbox, fields for Name, 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 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. AdWords 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, the 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, the 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 (/). 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 are 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 here so that the tag can read data from the correct cookie.