Embed LinkedIn Company Feed: A Step-by-Step Guide
In this article
Want to showcase your company’s LinkedIn activity directly on your website? Embedding your LinkedIn company feed is a great way to keep visitors updated on your latest news, job postings, and updates, increasing engagement and driving traffic to your LinkedIn page. Here’s how to do it in a few simple steps.
What You'll Need
- A LinkedIn Company Page: You need an established and verified LinkedIn Company Page.
- Website Access: You’ll need access to your website's code, typically through a content management system (CMS) like WordPress, Wix, or Squarespace, or direct access to the HTML.
- Basic HTML Knowledge: A little familiarity with HTML will be helpful, but not essential, as we'll provide the code snippets.
Step-by-Step
- Get Your Feed URL: First, you need to generate the embed code from LinkedIn. Navigate to your company's LinkedIn page.
- Access the Share Button: Look for the "Share" button located below the cover image on your company page. Click on it.
- Choose "Embed": From the dropdown menu that appears, select the "Embed" option. This will open a new window with the embed code generator.
- Customize Your Feed (Optional): LinkedIn offers some customization options. You can choose the layout (Sidebox or Full-width) and the number of posts to display. The "Hide Follow Button" toggle lets you hide the option for visitors to follow your page directly from the embed.
- Copy the Embed Code: Once you've configured your feed to your liking, copy the HTML code provided by LinkedIn. This code usually starts with
<iframe ... >. - Paste the Code into Your Website: Now, you need to paste this code into the appropriate location on your website. The exact method depends on your website platform.
- WordPress: If you're using WordPress, you can either edit the page directly in HTML view (switch to "Text" or "HTML" mode in the editor) or use a plugin designed for embedding content. Many plugins allow you to add custom HTML snippets to pages or widgets.
- Wix: In Wix, add an "HTML iFrame" element from the "Add" menu. Then, paste the LinkedIn embed code into the iFrame settings.
- Squarespace: Squarespace allows you to add code blocks. Add a "Code Block" element to your page and paste the LinkedIn embed code.
- Custom HTML: If you have direct access to your website's HTML, simply paste the code into the desired location within the
<body>tag.
- Save and Publish: After pasting the code, save your changes and publish the page. Your LinkedIn company feed should now be visible on your website.
Common Mistakes
- Incorrect Code: Double-check that you’ve copied the entire embed code correctly. Even a single missing character can prevent the feed from displaying.
- HTML Editing Mode: In CMS platforms like WordPress, make sure you're editing in the HTML view, not the visual editor. The visual editor may strip out the code.
- iFrame Conflicts: If you already have other iFrames on your page, there might be conflicts. Try removing other iFrames temporarily to see if that resolves the issue.
- Caching Issues: Your website or browser might be caching an older version of the page. Clear your browser’s cache and any caching plugins on your website.
- Security Restrictions: Some website security plugins or firewalls might block iFrames from external sources. Check your security settings and whitelist LinkedIn if necessary.
Tips
- Mobile Responsiveness: Ensure that the embedded feed is responsive and looks good on all devices (desktops, tablets, and smartphones). Test it thoroughly on different screen sizes. LinkedIn's embed code usually handles responsiveness well, but it's always good to check.
- Regular Updates: LinkedIn updates its embed code periodically. If your feed suddenly stops displaying, check LinkedIn’s help documentation or support forums for any known issues or code updates.
- Placement: Consider where you place the feed on your website. A prominent location, such as your homepage or dedicated news page, will maximize visibility.
- Branding Consistency: While LinkedIn's embed code offers limited customization, ensure the overall look and feel of the feed aligns with your website's branding.
- Test with Different Browsers: Test the embedded feed on different browsers (Chrome, Firefox, Safari, Edge) to ensure compatibility.
Troubleshooting
- Feed Doesn't Load:
- Check the URL: Verify that the URL you copied from LinkedIn is correct.
- Clear Cache: Clear your browser's cache and website caching plugin (if applicable).
- Disable Security Plugins: Temporarily disable any security plugins to see if they are blocking the feed.
- Inspect Element: Use your browser's developer tools (right-click on the page and select "Inspect" or "Inspect Element") to check for any error messages in the console.
- Feed Displays Incorrectly:
- iFrame Size: Adjust the width and height attributes of the iFrame code to fit your website's layout.
- CSS Conflicts: Check for any CSS conflicts that might be affecting the feed's appearance.
- LinkedIn Updates: LinkedIn may have updated its embed code, requiring you to update your website's code.
- Still Not Working? Contact LinkedIn support or consult their help documentation for further assistance.