Skip to main content

Using the Share Block in Emails

This help article explains how to use the Share Block in CamBuildr campaign emails and automated emails.

Written by Domonkos Horváth

The Share Block allows your supporters to easily share a specific link across multiple social media platforms directly from your email. This helps amplify your message, drive traffic to a landing page, and activate network-based growth — with optional recruiter tracking to measure who brought whom into your campaign.

The Share block works in campaign emails and in automated (triggered) emails.

How to Configure the Share Block

  1. Insert the block

    Drag the Share block from the Content tab into your email layout.

  2. Define the shared URL

    At the top of the configuration panel (left side), enter the URL you want to be shared. The field also accepts merge tags, which is how an automated email shares the post, commitment or event that triggered it. See Which URL to use below.

  3. Enable or disable individual platforms

    Use the toggles to activate or deactivate:

    • Email

    • Facebook

    • X (formerly Twitter)

    • LinkedIn

    • WhatsApp

    • Telegram

    • Threads

    • Bluesky

  4. Customize the message per platform

    • For X, WhatsApp, Telegram, Threads and Bluesky, you can define a default message to accompany the link. Facebook and LinkedIn share the link only.

    • Use the placeholder %url% where the actual link should appear.

    • For example: Check this out – %url%

    • Note for Telegram and Threads: The URL must not be placed inside the message. They use a separate field for the URL automatically.

  5. Email sharing customization

    • You can define both a subject line and a message body.

    • The user’s email client will pre-fill these fields when the Share button is clicked.

Which URL to use

Email

URL field

Campaign email

A normal URL

Automated email about a user post

{{ var:content:share_url }}

Automated email about a commitment

{{ var:commitment:share_url }}

Automated email about an event

{{ var:event:share_url }}

Automated email about a user campaign

{{ var:grassroot_campaign:share_url }}

The tag must match what triggers the email: a commitment tag in an email about a user post stays empty. The Available placeholders window in the editor lists the tags this email can use. Use share_url here, not facebook_share_url. facebook_share_url is already a complete Facebook share link, meant for a normal button or text link. In the Share block it would be wrapped a second time and the buttons would not work.

Recruiter Tracking (Optional Feature)

If Recruiter Tracking is enabled under Settings > Analytics, CamBuildr will automatically append a recruiter ID to the shared URL.

What this does:

When Person A shares a landing page and Person B clicks and takes action, the system logs Person A as the recruiter.
​
This is how it will show at the recruited persons (B) profil

This is how it will show at the person who has recruited a new person (A)


This allows you to:

  • Track who is bringing in the most supporters

  • Incentivize viral spread of your campaign

  • Personalize follow-ups based on who referred whom

Important:

  • Check local privacy laws before using recruiter tracking. In some jurisdictions, tracking identifiers may require user consent or opt-out mechanisms.

Display and Design

  • The block’s colors, background and rounded edges can be adjusted in the Settings tab of the block.

  • Icons are mobile-optimized and touch-friendly.

  • Make sure the target page (i.e., the shared link) includes a visually appealing link preview

Best Practices

  • Use a short, clean URL for best results (consider link shorteners if needed).

  • Test how your shared link appears on each platform (e.g. Facebook Debugger, LinkedIn Post Inspector).

  • Customize messages with clear CTAs (e.g. “Sign this petition” or “Join our webinar”).

  • If using recruiter tracking, disclose it in your privacy policy.

  • Consider placing the Share block after a major action or message (e.g. below a donation or signup confirmation) to prompt users at the right moment.


Did this answer your question?