Manage customer data with Segment

Use Segment to manage marketing scripts and customer data.

integrations
This video features an old UI. Updated version coming soon!

With Segment, you can manage our marketing scripts for any number of platforms like Mixpanel, Google Analytics, Facebook Pixel, Google AdWords, and Wuphf.

And Segment can manage the customer data that’s being collected, which means everything's clean and organized. Segment can store product analytics, marketing analytics — all under one roof.

In this lesson:

  1. Create a source
  2. Copy the Segment code snippet
  3. Paste the Segment code snippet into the footer

Create a source

Let's add a source.

  1. Open Segment > Sources > Add Source
  2. Under Website, choose JavaScript
  3. Click Connect
  4. Enter your site URL under Source setup
  5. Click Add Source

Copy the Segment code snippet

Now we want to choose our source and add Segment to our project. The goal is to copy the script. So let's select it and copy the script.

  1. Click the dropdown menu that says Add Segment to your site — required
  2. Select and copy the script

Paste the Segment code snippet into the footer

Back in Webflow, on the project we're looking to connect to Segment, open your Project Settings in the Designer.

  1. Open the Custom Code tab
  2. Scroll down to Footer Code
  3. Paste the code snippet you just copied
  4. Save changes
  5. Scroll back up to the top of the page
  6. Publish

The code you just pasted in updates on our actual production website and Segment is now implemented in your published project.