The LinkedIn Conversions API directly connects data from Google Tag Manager and LinkedIn.
Before you create your Google Tag Manager conversion
Before you set up your Google Tag Manager (GTM) integration in Campaign Manager, confirm that you’ve completed the following steps.
Here's a tip
-
The first time you use GTM, you’ll need to set up your GTM account and create a web and server container in GTM. Learn how to set up your GTM account and install a container in the Google Help Center.
-
Configure your web container by creating a trigger in the container. This trigger will be used to fire the Google Analytics 4 (GA4) Event tag.
- Save the GA4 measurement ID. You’ll need it when you set up your conversions in Campaign Manager. Learn how to find your GA4 measurement ID in GTM in the Google Help Center.
- Save the GA4 measurement ID. You’ll need it when you set up your conversions in Campaign Manager. Learn how to find your GA4 measurement ID in GTM in the Google Help Center.
-
Configure your GTM server container. You'll also need to create a GA4 client, which is a listener for the event from your web container, and then handles firing the event to LinkedIn. Learn how to set up and configure your server container in the Google Help Center.
- Save the Server container URL. You’ll need the URL when setting up your conversions.
- Save the Server container URL. You’ll need the URL when setting up your conversions.
-
Optional: You might also need your LinkedIn API access token. You can generate the token when you’re setting up your integration, or you can access it before you complete your integration. Learn how to access your LinkedIn API access token.
You'll choose to send conversions data from Google Tag Manager when you set up your conversion in Campaign Manager.
Step 1: Start your conversion set up in Campaign Manager
Select Conversions API as your source
-
Go to your ad account in Campaign Manager.
-
Click Measurement on the left menu, then click Conversion tracking.
-
Click the Create conversion dropdown menu and select Conversions API.
Create your conversion rule
-
Name your conversion rule. This name will only be visible in Campaign Manager.
Here's a tip
Name your conversion in a way that defines the key conversion behaviors you'll be tracking, like filling out a lead form or downloading a white paper. Use naming conventions that will easily keep track of different conversion events. -
Click the Select the category of the conversion dropdown menu and select a behavior (for example, Download or Lead).
-
Click the Set the value of the conversion dropdown and select either:
- Use the same value - The same value will be applied for each conversion.
- Use a dynamic value - The value will be determined from your connected source.
- No value (not recommended) - A zero value will be used for each conversion event. Note, if you select no value, you can’t measure the impact of your ads.
-
Add a Default Value for your conversion. If you selected:
- Use the same value - Enter the value to be used for all conversions.
- Use a dynamic value - Enter a default value. This is required in case we don’t receive a value from the connected source.
-
Click the dropdown menus below Clicks and Views to select a time frame for when your clicks and views can be counted.
-
Below Select the attribution model to specify how each ad interaction is credited, use the dropdown menu to select either:
- Last Touch - Each ad set
- Last Touch - Last ad set
-
Click Next step.
Select Google Tag Manager integration and connect to Campaign Manager
-
Select Google Tag Manager.
-
If you haven’t set up Google Tag Manager, follow the instructions in the dialog to connect your account. You’ll need to:
- Click Continue to agree to share information with Google Tag Manager.
- Log in to your Google Tag Manager account and authorize the connection.
- Click Connect to connect your Campaign Manager account to Google Tag Manager, then click Allow to complete.
Step 2: Set up the data from Google Tag Manager to send to Campaign Manager
Follow the steps below to set up the data from Google Tag Manager. The following video provides an overview of how to set up this connection.
-
In the Google Tag Manager account section, click the Select the account dropdown menu and select your account name.
-
In the Containers section, click the dropdown menus to select:
- An existing web container
- A workspace for the web container
- An existing server container
- A workspace for the web container
-
In the Tags section:
- Add the Google Analytics 4 (GA4) measurement ID.
- Add the Server container URL.
- Select the web GA4 event trigger from the dropdown menu.
-
In the Token section, paste your LinkedIn API access token. If you don’t have a token, you can generate one by clicking the Generate token button.
-
Click Next step.
Here's a tip
Step 3: Review and update the ad sets selected for your conversion
After you set up your conversion, we’ll automatically select ad sets to associate with your conversion. You can review, add, or remove ad sets as needed. Ad set selection is determined by the category chosen in the Select the category of the conversion dropdown in Step 2 above.
Important to know
To review and update the ad sets selected:
-
On the Review page, review the details of your conversion. To see the selected ad sets, scroll to the Ad sets section and click below Selected ad sets.
-
Optional: To edit the selected ad sets:
- Click Edit in the upper-right corner of the section.
- Select or clear the checkboxes next to the ad sets where you’d like to either apply or remove your conversion. To find a specific ad set, use the search bar at the top or filter using the Status or Objective dropdown menus.
- Click Save.
-
Click Create.
Recommended: Confirm that your data is being sent and your conversion is active
Test that data is being sent correctly through Google Tag Manager
After you’ve completed your setup, you can test that your container configuration is sending data correctly before you publish using Google Tag Manager’s preview mode.
-
Review the instructions in Google’s Help Center to preview and debug containers.
- From here, you’ll learn how to enable, use, share, and exit preview and debug mode in Google Tag Manager.
-
Enable preview mode in Google Tag Manager to test your configuration.
-
Use preview mode to perform the action on your site that would trigger the conversion. This will allow you to verify:
- Event tags and triggers are firing correctly.
- Proper mapping of matching parameters, such as email and the LinkedIn First-Party Ad Tracking ID.
-
After you’ve tested your setup, your API conversions will appear in Campaign Manager. It might take a few hours before you see your conversion in Campaign Manager.
Check the status of your conversion in Campaign Manager
After you’ve completed the set up, you can check the status in Campaign Manager to help ensure that it’s set up correctly and receiving data.
Here's a tip
-
On your Conversion Tracking page, find your conversion rule.
-
Check the Status column. Learn more about the different conversion statuses.
-
If the status is No activity detected, check that your connection is set up correctly in Google Tag Manager and that the conversion events are being sent to LinkedIn.
-
When you’re reviewing your conversion status, you can also see the number of ad sets that are associated with your conversion in the Ad sets selected column. This number only includes ad sets that are Active, Draft, or Paused.
Troubleshooting tips
If you have any issues with your conversions, we recommend the following troubleshooting tips.
| Issue | Recommendation |
|---|---|
| Conversion status is No activity detected | Use Google Tag Manager's preview mode to trace the event. Keep in mind, there might be a delay in the data showing in Campaign Manager. |
| Conversion status shows Low match rate | Include as many matching parameters as possible to increase match quality. Learn more about signal quality for Conversions API. |
| Duplicate conversions | Use a deduplication key (EventID) to avoid double-counting between Insight Tag and Conversions API. Learn more about deduplicating events in the Microsoft Help Center. |
Here's a tip
Related tasks
- Set up a Conversions API integration in Campaign Manager
- Access your LinkedIn API access token for your Google Tag Manager Conversions API integration
- Preview and debug containers in the Google Help Center
- Deduplication in the Microsoft Help Center