You will learn
Learn how to indicate the country in a CSV file with SMS profiles.
In the instructions below, we use Google Sheets to indicate the country in an SMS list upload. This can be accomplished using other programs too, but the instructions may differ.
Before you beginBefore you begin
You can only import SMS consent in countries where Klaviyo SMS is available.
Before adding in the country to a CSV, you should:
- Copy your CSV into a program such as Google Sheets.
- Make the first column in the CSV email (preferred, if available) or phone number.
Options for indicating the country
In the table, we outline:
- Full names of the available countries
- The country code
- Accepted ways you can shorten the country names in your CSV (if you don’t have the full name)
Country name |
Country code |
Accepted shortened name(s) |
United States of America |
+1 |
US, USA, United States |
Canada |
+1 |
CAN |
United Kingdom |
+44 |
GBR |
Ireland |
+353 |
IE |
Germany |
+49 |
DE |
Netherlands (LA) |
+31 |
NL |
France |
+33 |
FR |
Belgium |
+324 |
BE |
Austria | +43 |
AT |
Spain | +34 |
ES |
Switzerland | +41 |
CH |
Denmark | +45 |
DK |
Sweden | +46 |
SE |
Norway | +47 |
NO |
Finland | +358 |
FI |
Italy | +39 |
IT |
Portugal | +351 |
PT |
Australia |
+61 |
AUS |
New Zealand |
+64 |
NZ |
What is a country code?
A country code is a number at the beginountry codes are a specific number at the beginning of a phone number.
In the United States and Canada, the country code is the number 1 and phone numbers are 10 digits. So for the example number of 1 (234) 567-8910: 1 is the country code.
Indicate the country for an SMS import
The best way to indicate the country in a CSV depends on where your contacts are located and what information your previous SMS provider exports.
Choose the first option that best describes your situation:
- I have a country code at the beginning of every phone number (most common).
- I don’t have a country code and my contacts are from:
If none of these options apply to you, the only options is to search by phone number and apply the country that way. However, in most cases, the country code is already in the CSV.
Country code is includedCountry code is included
If you have the country code before your phone numbers, you only need to add a plus sign before the number, even if your contacts are from multiple, different countries.
Watch our video or scroll down for instructions.
- Highlight the phone number column.
- Click Insert > Columns.
- Select Insert 1 column left.
- Name the new column "Phone Number."
- Add the following: ="'+"&C2
- Note: replace C2 with the first cell that contains a phone number.
- Note: replace C2 with the first cell that contains a phone number.
- Highlight the rest of the column.
- Click Edit > Paste to format the rest of the phone numbers.
- Highlight and then copy the new column.
- Go to Edit > Paste Special.
- Select Values Only.
- Delete the original phone number column (the one without the plus signs).
- Note that the apostrophe may disappear if you click into another cell.
- Note that the apostrophe may disappear if you click into another cell.
- Click File > Download > Comma Separated Values (.csv).
Contacts are all from 1 country
If your list contains SMS profiles that are all from the same country, follow the steps below:
- Click into an empty column in your spreadsheet.
- Name that column “Country."
- In the first cell under that title, write in the country (e.g., Canada or CAN).
- Copy the country’s name/abbreviation.
- Highlight the rest of the cells in that column.
- Click Edit > Paste. All cells in that column should now show the country name.
- Click File > Download.
- Choose Comma Separated Values (.csv).
Contacts are only in the US and Canada
If your contacts are all from either the US or Canada, you can add the country code to the phone number, which is the same for both countries.
To do this, follow these steps:
- Highlight the phone number column.
- Click Insert > Columns.
- Select Insert 1 column left.
- Name the new column "Phone Number."
- In the next cell, type the following: "'+1"&C2
- Replace the 1 with the correct country code.
- Replace C2 with the first cell that contains a phone number.
- Highlight the rest of the column.
- Click Edit > Paste to format the rest of the phone numbers.
- Highlight and then copy the new column.
- Go to Edit > Paste Special.
- Select Values Only.
- Delete the original phone number column (the one without the plus signs).
- Click File > Download > Comma Separated Values (.csv).
Outcome
You’ll now have either the name of the country or the country code for every phone number in your CSV. You can now upload the contacts as either subscribed or unsubscribed in Klaviyo.
Additional resourcesAdditional resources
Check out more how-tos for SMS CSVs: