Phoenix Documentation
Phoenix ProductionPhoenix PreviewContentful
Primary version
Primary version
  • 🔥Phoenix 🔥
  • Installation + Usage
    • Prerequisites
    • Installation
    • Usage
  • Development
    • Architecture
      • Heroku
    • Content Types
      • Action Stats Block
      • Campaign
      • Content Block
      • Cause Page
      • Company Page
      • Current Club Block
      • Current School Block
      • Embed
      • External Link
      • Landing Page
      • Link Action
      • Metadata
      • Page
      • Photo Submission Action
      • Selection Submission Action
      • Share Action
      • Signup Referrals Block
      • Social Drive Action
      • Voter Registration Action
      • Voter Registration Drive Action
      • Voter Registration Marketing Page
      • Voter Registration Referrals Block
    • Features
      • Affiliate Opt In
      • Affiliate Scholarship Block
      • Analytics Waypoint
      • Delayed Element
      • Dismissable Element
      • Stat Card
      • General Buttons
      • Groups
      • Paginated Campaign Gallery
      • Popover Dispatcher
      • Refer A Friend
      • Referrals Gallery
      • Sitewide Banner
      • Sixpack A/B Testing
        • Code Tests
        • Contentful Tests
        • Testing Tips
      • Tooltip
      • Traffic Distribution
      • Volunteer Credits
      • Voter Registration
      • Zendesk Form
    • Contentful
      • Workflow
      • Content Management API Scripts
    • Helpers
  • Phoenix API
    • v2
      • Campaigns Resource
      • Posts Resource
      • Zendesk Endpoint
  • Data + Performance
    • Monitoring
    • Analytics
    • Logging
  • Contributing Instructions
    • Edit This Documentation
    • Glossary
Powered by GitBook
On this page
  • Overview
  • Content Type Fields
  1. Development
  2. Content Types

Link Action

PreviousLanding PageNextMetadata

Last updated 4 years ago

Overview

Displays a card with a customizable title, Markdown content, and button link. Used to encourage visiting the link.

.

  • Legacy Link Actions (created before 01/22/2021) can render as a plain embedded link or embeddable content (Youtube, Typeform) if the content field is empty. These should now be rendered via the block.

  • Legacy Link Action can render as a Call To Action card if the template field is set to cta.

  • Link Actions can be used to control the content on the page for Voter Registration quizzes.

Content Type Fields

  • Internal Title: This is for our internal Contentful organization and will be how the block shows up in search results, etc. (does not display to the user on the page).

  • Title: The Link Action title displayed atop the card.

  • Content (optional): The Link Action content (Markdown format) displayed within the card above the button.

  • Link: A valid Absolute URL or usedas the button destination. Supported the userId & northstarId (assigned to the current user's ID), campaignId (assigned to the current Campaign's Campaign ID), campaignRunId (assigned to 0), and source (derived from the utm_source query parameter defaulting to web) tokens (within {} e.g. https://dosomething.org?userId={userId}).

  • Button Text (optional): The text displayed in the button (defaults to "Visit link").

  • Additional Content: (optional): Any custom settings for this page in JSON format:

    • sourceDetails: See

Embed
Tel link
Example link-action
Quiz Results
Voter Registration Quiz