Control customer records with Segment

Use Segment to manage marketing scripts and customer data.

Utilizing Segment, you can regulate our marketing scripts for a multitude of platforms such as Mixpanel, Google Analytics, Facebook Pixel, Google AdWords, and Wuphf.

Segment has the capability to oversee the customer information that’s being gathered, ensuring that everything is orderly and structured. Segment can hold product analytics, marketing analytics — all in one central location.

Within this tutorial:

  1. Establish a source
  2. Duplicate the Segment code snippet
  3. Insert the Segment code snippet into the footer

Establish a source

Lets introduce a source.

  1. Launch Segment > Sources > Add Source
  2. Under Website, select JavaScript
  3. Press Connect
  4. Input your site URL under Source setup
  5. Press Add Source

Duplicate the Segment code snippet

Currently, we desire to designate our source and integrate Segment into our project. The aim is to duplicate the script. So let’s mark it and duplicate the script.

  1. Hit the drop-down menu that reads Add Segment to your site — required
  2. Opt and copy the script

Insert the Segment code snippet into the footer

Returning to Webflow, on the project we want to link to Segment, unveil your Project Settings in the Designer.

  1. Reveal the Custom Code tab
  2. Scroll down to Footer Code
  3. Paste the code snippet you recently duplicated
  4. Save changes
  5. Scroll back to the top of the page
  6. Publish

The code you recently added refreshes on our live website and Segment is now integrated into your published project.

Ewan Mak
Latest posts by Ewan Mak (see all)