This article describes how to set up the Facebook Buttons tag.
Tag Tips
Some configuration parameters only apply to Like box, such as border color and height.
If you do not already have one, use the Content Modification extension to insert a new
DIVin your page.HREFdefaults to the page URL unless override by mappings.Language needs to be in the format
ll_ccllis the two-letter language codeccis the two-letter country code- See Facebook Locales for all supported codes.
Kid Directed
- Must be set to true if your web site or online service, or a portion of your service, is directed to children under 13.
Tag Configuration
First, go to Tealium’s tag marketplace and add the Facebook Buttons tag (Learn more about how to add a tag).
After adding the tag, configure the following settings:
Action
Div ID
DIV IDwhere the button displays.
HREF
- URL of the page.
- Defaults to
dom.urlin the data layer
Language
- Default is
en_US - The basic format is
ll_CC, wherellis a two-letter language code, andCCis a two-letter country code. - See Facebook Locales for all supported codes.
- Default is
Color Scheme
Layout
- For use with Like and Share buttons.
Kid Directed
- Must be set to
trueif your web site or online service, or a portion of your service, is directed to children under 13.
- Must be set to
Size
Width
Data Mappings
Mapping is the process of sending data from a data layer variable to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see Data Mappings.
The available categories are:
Standard
| Variable | Description |
|---|---|
action |
|
language |
|
href |
|
config.colorscheme |
|
appId |
|
config.size |
|
config.width |
|
Like
| Variable | Description |
|---|---|
like.layout |
|
like.show_faces |
|
like.kid_directed |
|
like.color_scheme |
|
like.### |
|
Recommend
| Variable | Description |
|---|---|
rec.layout |
|
rec.show_faces |
|
rec.kid_directed |
|
rec.color_scheme |
|
rec.### |
|
Share
| Variable | Description |
|---|---|
share.layout |
|
share.kid_directed |
|
share.### |
|
Send
| Variable | Description |
|---|---|
send.kid_directed |
|
send.color_scheme |
|
send.### |
|
This page was last updated: November 6, 2019