Twitter paragraph

To enable this feature, contact customer support.

Use the Twitter paragraph to integrate up to 20 current tweets into your messages. Keep your recipients up-to-date with exciting topics from your social network.

Decide whether Optimizely Campaign updates the Twitter paragraph every time you send a message and automatically loads the latest tweets from your Twitter timeline, or if  Optimizely Campaign only displays tweets you defined when creating or modifying the campaign.

  • Dynamic integration. Displays your latest social media activities. However, you cannot permanently delete or edit individual tweets in the Twitter paragraph. If you remove or edit tweets in the Twitter paragraph which are still present in your Twitter timeline, the removed or edited tweets are reloaded when the mailing is sent and inserted into the Twitter paragraph.
  • Static integration. Provides more control over the tweets in the Twitter paragraph. When creating a mailing, you can select which of your current tweets should be integrated. You can delete individual tweets. When the mailing is sent, Optimizely Campaign does not update the Twitter paragraph from your Twitter timeline. Changes can still be made, but do not happen automatically. When using static integration, you can update tweets manually.

By default, Optimizely Campaign integrates your tweets statically. To use dynamic integration, contact customer support.

Creating a Twitter paragraph

  1. While editing the mailing content in the Template Kit, click New: Content Paragraph.

    You can also use the paragraph in the header and footer area by clicking Header or Footer.

    Image: New content paragraph

  2. Click Twitter.

    Image: Select Twitter paragraph

  3. In the configuration window, click Apply. The new Twitter paragraph appears on the left.

Configuring a Twitter paragraph

  1. On the left side of the preview, in the menu bar of the Twitter paragraph, click Twitter. The configuration window opens on the right.
  2. See the following tables to set options in the corresponding tabs. To confirm your settings, click Apply.

General

Parameter Description
Content
Heading Enter a heading for the paragraph.
Show in desktop version Select to include this paragraph in the desktop mailing.
Show in mobile version Select to show the paragraph in the mobile version of the mailing. The Activate mobile version setting in the general settings must be activated for this option to take effect.
Show in text version Select to show the paragraph in the text version of the mailing.
Link
Text This text is subsequently linked to in the mailing.
URL Enter a link here (for example, the landing page for the product group).
Orientation Position the link on the right, left, or center.

Settings

Parameter Description
Account name Enter your public Twitter user name, the name used in the web address for your Twitter timeline. It is the last part of the URL: https://twitter.com/User name.
Maximum number of entries Enter the maximum number of tweets that should be displayed in your message. The maximum value for this is 20 tweets.

If you enter 0 into this field or leave it empty, a default value of 10 tweets is used (if fewer than 10 tweets are available in your Twitter account, those tweets are displayed).

Also, when using static integration, changing this value has no effect on any tweets already retrieved. You must manually update the Twitter paragraph for the new number to take effect.

Date format In the drop-down list, select a date format to be used next to your tweets. Changing the date format has no effect on tweets that already were retrieved when using static integration. You must manually update the Twitter paragraph for the date format change to take effect.

Button

See Click2Go.

SWYN

You can enable the SWYN Stands for "share with your network" function for social networks individually for each paragraph. To allow sharing of these paragraphs in a social network, select the Show check box for the network in which you want them to appear.

Parameter Description
General
Alignment Links (symbols and text) and the introduction text are right-aligned.
Position Links (symbols and text) and the introduction text are positioned at the bottom edge of the paragraph.
Default values
Title Displays up to 50 characters in the user's profile if the user shares the paragraph over a social network, as long as no other title is indicated for that network.
Text Displays up to 250 characters in the user's profile if the user shares the paragraph over a social network, as long as no other text is specified for that network.
Image Displays up to 100 x 100 pixels in the user's profile next to the text if the user shares the paragraph over a social network, as long as no other image is specified for that network. Larger images are scaled down to this size.
Facebook
Show Lets recipients share the paragraph via their Facebook profile.
Title Displays up to 50 characters if the recipient shares the paragraph on his or her Facebook profile. If you enter nothing here, the standard title is displayed.
Text Displays up to 250 characters if the recipient shares the paragraph on his or her Facebook profile. If you enter nothing here, the standard text is displayed.
Image Displays up to 100 x 100 pixels if the recipient shares the paragraph on his or her Facebook profile. If you enter nothing here, the standard image is displayed. Larger images are scaled down to this size.
Redirect Creates a landing page that displays the content of the linked paragraph. If you enable, the link redirects recipients to the URL specified in the General tab.
Twitter
Show Lets recipients share the paragraph via their Twitter account.
Title Displays up to 50 characters if the recipient shares the paragraph on his or her Twitter profile. If you enter nothing here, the standard title is displayed.
Redirect Creates a landing page that displays the content of the linked paragraph. If you enable, the link redirects recipients to the URL specified in the General tab.
WhatsApp
Parameters for WhatsApp are identical to Twitter's.
Email
Show Lets recipients share the paragraph via email.
Title Displays up to 50 characters as email subject if the recipient shares the paragraph via email. If you enter nothing here, the standard title is displayed.
Text Displays up to 250 characters if the recipient shares the paragraph via email. If you enter nothing here, the standard text is displayed.
Redirect Creates a landing page that displays the content of the linked paragraph. If you enable, the link redirects recipients to the URL specified in the General tab.
Xing
Parameters for Xing are identical to Twitter's.

Default values

Parameter Description
Link
Text Tweets in your message are automatically linked to the original tweet on your Twitter page.

To clarify this and highlight links, add additional text, for example, "More information on our Twitter page" or "View original tweet". That text appears with each tweet in your message.

Orientation The text can be aligned to the right, left or center.
Image
Position From the drop-down list, select the position where an image associated with your tweet (if any) should be displayed.

Options

To give each content paragraph a different appearance from the general layout, use the layout configuration in this tab.

Parameter Description
Layout
Width The maximum available width is used as standard. This is based on the internal spacing and also depends on whether you are using a sidebar and, if so, on the width of the sidebar. Enter a different value in pixels. If the maximum available width is smaller than this value, then the entered value is ignored.
Height By default, the paragraph is displayed over the available height, considering the content. Alternatively, you can specify a fixed height. If the content exceeds this height, the value is ignored, and the content is displayed at the default height.
Background color The depiction of non-hex web colors may vary from the original, depending on the browser.
Padding

Specify white space around the paragraph content. You can set white space separately for each page.

Enter the values in pixels (integer values) based on the following example, using spaces to separate multiple pixel entries:

  • 10 = sides are uniform with 10 pixels of white space for the content
  • 10 20 = 10 pixels on the top and bottom, 20 pixels on the left and right
  • 10 15 20 25 = 10 pixels on the top, 15 pixels on the right, 20 pixels on the bottom, 25 pixels on the left

If the value is set to 0, then there will be no padding.

Space between articles A space with this height is placed between individual items. By default, the first number in the Padding option is used.This option is only enabled when using the default layout.
Layout Select a Twitter layout.

You can choose between the default layout and up to two user-defined layouts. To use a custom layout, set it up in advance in the general settings in the Twitter tab. If you select a user-defined layout that is not configured, the default layout is used.

Border
Show Select if you want to apply a border around the entire paragraph.
Border width

Enter the thickness of the border. You can set thickness for each side individually.

Enter values in pixels (integer values) based on the following example, using spaces to separate multiple pixel entries:

  • 1 = sides uniform with 1 pixel
  • 1 2 = 1 pixel on the top and bottom, 2 pixels on the left and right
  • 1 2 3 4 = 1 pixel on the top, 2 pixels on the right, 3 pixel on the bottom, 4 pixel on the left.

If you leave the field blank, the border has a thickness of 1 pixel (uniform on all sides).

Color The depiction of non-hex web colors may vary from the original, depending on the browser.
Mobile
Width Set the paragraph width (in percent; 100% default) for mobile view. To display paragraphs next to each another in mobile view, make sure that the widths of two consecutive paragraphs combine to 100%. Otherwise, the paragraphs are displayed on top of each another with the assigned widths.
Table of contents
Show in table of contents Select to display the paragraph in the table of contents for the section.
Alternative table of contents entry Enter a heading to be displayed for this section in the table of contents. If you enter nothing, the heading from the General tab is displayed.

Click profiles

Parameter Description
Click profiles Clicks on any link in this paragraph are allocated to the selected click profiles. See Click profiles.

Alternatively, you can allocate individual links to a click profile in the Tracking settings for the mailing creation wizard.

Target groups

Parameter Description
Target groups To show this paragraph to one or more target groups only, select them. If more than one target group is selected, just one must match (OR logic). See Target groups.

Loading tweets

  1. In the menu bar of the Twitter paragraph, click Load tweets .

    Image: Load Tweets

  2. In the configuration window, click Next.

You can also manually update your tweets in the Twitter paragraph afterwards and reload them from your Twitter timeline. To do this, click Load tweets  again.

Editing tweets

You can edit tweets individually after loading them into your mailing.

  1. In the menu bar of the corresponding tweet, click Twitter entry.The configuration window opens on the right.
  2. Change the settings as needed and confirm your entries by clicking Apply.

    If you manually update tweets in the Twitter paragraph, the posts are reloaded from your Twitter timeline, overwriting any manual changes to the tweets. If you are using dynamic integration, manual changes to tweets are overwritten when the mailing is sent.

Deleting tweets

  1. In the menu bar of the tweet you want to delete, click Delete .
  2. Click OK.