🧭

Store the origin of your contacts

You rock at marketing, new contacts are flocking to your site.

But do you know where they are coming from? For sure, you can create a segment is Friendly to who came through Facebook for example:

image

This filter will go through the URL visits and check for matches.

URL visits are saved like this:

image

As you can see, you can filter for referring page, but the problem is, this might be various. What if someone comes through a blog post on your site, decides to follow you on facebook, and clicks one of your links there as well. You would think this person originally came from facebook, but it is not true.

Let's save the origin!

In order to do that, we need to set up a new custom field called Origin.

image

Now create a segment for Facebook and Google as follows:

  1. Google will save a gclid parameter in your URL, you can filter for that.
  2. Facebook will save a fbclid in your parameter, and it is possible to filter for that as well, when yoou create your segment.

Now create a segment, that filters out this value:

image

Or in case of Google:

image

You also have to make sure, that the origin field is empty for this segment, as we intend to fill it out with a campaign and we don't want to overwrite old data:

image

I named these segments as follows:

image

Create a campaign to complete the workflow

First add both of our segments as source to the campaign:

image

In the first step we can decide which Segment our contact is in, and create a branch accordingly:

image

It will look like this:

image

Now we have a condition: Either Facebook origin, or not, meaning it has Google Origin. As a result our 'Yes' branch will be the Facebook branch, and 'No' will be Google.

Now we can simply set the Origin field for both. Let's add the Action / Update Contact:

image

Simply change the Origin here to Facebook:

image

After adding our Campaign looks like this:

image

Make sure, you don't re-run this campaign to all contacts, and once the Origin is set, it wll stay like this through the whole customer journey. You can do this by turning the option to restart the campaign off.

image

Do you have any questions? We are happy to help you via 📧 email, ☎️ phone and 👩‍💻 video calls.

Click here to go back to the main help page:

Friendly AutomateFriendly Automate