Segment SEO traffic by keyword
For several years now, search engines, Google in particular, have reduced how much they show and share about the keywords people use to reach websites. As a result, marketers have less information about the specific queries that bring organic traffic to their sites.
Eulerian lets you regain this visibility by uploading a CSV file that maps your site’s URLs to one or more keywords. Each time a visitor arrives on your site from organic search, we look up the uploaded mapping table to credit the right keywords according to the landing page.
You can declare several keywords per URL and give them different weights. Traffic is then split across the chosen keywords according to the weight you gave them.
Note
Level: simple.
Step 1 · Add the “Eulerian SEO Not Provided” connector
Where to go: Activate > Budget & partner metrics connectors > Add a new connector > Eulerian - SEO Not Provided


Step 2 · Understand the connector’s configuration
Once you have confirmed the connector’s creation, a new window appears.


- Shows how often the data is updated (daily).
- Shows the API endpoint that purges an existing table.
- Shows the API endpoint that uploads your URL file.
Step 3 · Build the URL file
Two templates are available to download, one per method:
In the two tables below, the header is given for guidance only. It must not be included in the uploaded file.
url + regex template
| Search engine | URL (with or without regex) | Page path (without regex) | Keyword | Weight |
|---|---|---|---|---|
http://www.client.com/cat/vetement | vetement | 50 | ||
http://www.client.com/cat/vetement | marque | 50 | ||
http://www.client.com/univers/vetements/pantalons | pantalon | 100 | ||
| Bing | http://www.client.com/univers/chaussures | chaussure | 100 | |
| Bing | http://www.client.com/univers/cat | chaussure | 80 | |
https://.* | hors-marque | 100 | ||
| Bing | https://.* | hors-marque | 100 |
page path template
| Search engine | URL (with or without regex) | Page path (without regex) | Keyword | Weight |
|---|---|---|---|---|
/cat/vetement | vetement | 50 | ||
/cat/vetement | marque | 50 | ||
/univers/vetements/pantalons | pantalon | 100 | ||
| Bing | /univers/chaussures | chaussure | 100 | |
| Bing | /univers/cat | chaussure | 80 |
The columns
- Search engine: the two possible values are Google and Bing.
- URL: you can supply either of two types of value:
- a regular expression matching the URL of the landing page where the visitor starts their organic search visit. Several patterns can match the same URL. Limit: 2,000 entries;
- the raw value of the URL, without scheme, CGI parameters or anchor. Limit: 100,000 entries.
- Page path: the path of the pages goes in this column.
- Keyword: the keyword the rule credits.
- Weight: the maximum weight for a keyword is 100. You can declare several keywords per URL: traffic is split across the keywords according to the weight given. The weight is a share of voice (a percentage) between 0 and 100. The keywords’ weights can add up to exactly 100, less or more: we recalculate the ratio on our side.
Important
You cannot fill in both the “URL” column and the “Page path” column in the same file. Only one of them must be filled in.
In practice: with the table above uploaded, 50% of the users who start their visit on the page http://www.client.com/cat/vetement coming from Google organic search will be given the keyword “vetement”, and the other half the keyword “marque”.
Step 4 · Make the file available
Here is an example curl command to upload your file and automate sending it.
Syntax:
curl -F file-name=@$nom_fichier.csv https://$domaine_api/ea/v2/$token_api/epc/$nom_site/seonp/upload.json
Example:
curl -F file-name=@filetestseo.csv https://et2.api.eulerian.com/ea/v2/QV.tEbjPNGLjgHPax6VWH_.66S767LgcsuHCOBSlNYIxHse9Xw--/epc/testlab/seonp/upload.json
Replace the values preceded by $ with your own. On handling the API token, see Technical good practice - Eulerian Marketing Platform API.