Helpful resources
            
           
              Need more help?
             
             
              Check out the Webflow community.
             
            
              Free Webflow templates
             
             
              The best free Webflow templates.
             
            
              Hire a Webflow expert
             
             
              Partner with a certified expert.
             
            How can I set up conversion tracking for a LinkedIn campaign in Webflow without using a thank you page?
             Published on
            
            
             September 22, 2023
            
           To set up conversion tracking for a LinkedIn campaign in Webflow without using a thank you page, you can use LinkedIn Insight Tag along with custom code in Webflow. Here's a step-by-step guide:
- Get the LinkedIn Insight Tag:
 
- Log in to your LinkedIn Campaign Manager account and navigate to the "Account Assets" tab.
 - Select "Insight Tag" from the drop-down menu.
 - Click on "Get Started" and follow the instructions to generate your LinkedIn Insight Tag.
 
- Copy the LinkedIn Insight Tag:
 
- Once you have the LinkedIn Insight Tag, copy the entire code snippet.
 
- Add the LinkedIn Insight Tag to your Webflow project:
 
- Log in to your Webflow account and open the project where you want to add the LinkedIn Insight Tag.
 - Go to the Project Settings by clicking on the gear icon in the left sidebar.
 - In the Project Settings, select the "Custom Code" tab.
 - Paste the LinkedIn Insight Tag code snippet in the Header Code section.
 - Save the changes.
 
- Track conversions with custom code:
 
- In Webflow, you can use custom code to track conversions. Instead of redirecting users to a thank you page, you will trigger the conversion event directly using JavaScript.
 - Identify the specific action or event on your Webflow site that you want to track as a conversion.
 - Add an HTML embed element to the page where the conversion happens.
 - In the HTML embed element, write JavaScript code to fire the LinkedIn conversion event when the desired action is completed by the user.
 - 
             For example, if you want to track form submissions as conversions, you can use JavaScript code like:
             
```html ``` - 
             Customize the
             
trackConversionfunction to match your specific conversion event and replaceYOUR_PARTNER_IDwith your LinkedIn partner ID. 
- Apply the custom code to your Webflow project:
 
- Go to the page where the conversion event occurs and select the HTML embed element you added earlier.
 - In the settings panel, select the "Settings" tab.
 - 
             Tick the "Code" box and paste the
             
trackConversion()function in the "Code" field. - Save the changes.
 
By implementing the LinkedIn Insight Tag and custom code in Webflow, you can track conversions for your LinkedIn campaigns without relying on a thank you page. This method allows you to have more flexibility in tracking specific actions and events on your website.
Additional Questions:
- Can I use LinkedIn conversion tracking in Webflow with a thank you page?
 - How do I find my LinkedIn partner ID for conversion tracking in Webflow?
 - Are there any alternatives to LinkedIn Insight Tag for conversion tracking in Webflow?