Add Deep Links to Messages

You can add deep links to messages after you have set up your account with and enabled deep linking in Bronto's settings, including adding the deep linking tracking domain.

Email Message Editor

In the Email Message Editor, you can add a deep link when you add a Text element, an Image element, or a Button element.

To add a deep link to these elements, check the Create Deep Link for Mobile Apps box when you create a link. You can make deep links for static and dynamic content.


You can add deep links with HTML by adding deeplink="true" to the link in your message.

For example: <a href= "" deeplink="true">Link Text</a>


To use the deep linking feature through the API, use the addMessages SOAP call. For links in a message to be deep links, you need to modify the messages you send to include the deep linking indicator. In any anchor tag, you need to add the attribute deeplink=”true” in the message html content.

For example:
* This script will add an HTML message with some basic HTML content.
* @copyright  Copyright (c) 2011 Bronto Software (
$client = new SoapClient('', array('trace' => 1,
    'features' => SOAP_SINGLE_ELEMENT_ARRAYS));

try {
    // Add in a valid API token
    __    $token = "ADD API TOKEN HERE";

    print "logging in\n";
    $sessionId = $client->login(array('apiToken' => $token))->return;

    $session_header = new SoapHeader("",
        array('sessionId' => $sessionId));

    // Be sure to replace the example subject and content
    __    $MessageContentObject = array('type' => 'html',
        'subject' => 'Example Subject Line',
        'content' => '<h1>Title of Page</h1> A link to our <a href="" deeplink="true">About us</a> page. <p>Example description.</p>'
    **    );
    // Give the message a valid name
    __    $message = array('name' => 'Example Message Name',
        'content' => $MessageContentObject

    print "Adding the message\n";
    $write_result = $client->addMessages(array($message)

    if ($write_result->errors) {
        print "There was a problem adding the message:\n";
    } else {
        print "The message has been created.  Id: " . $write_result->results[0]->id . "\n";

} catch (Exception $e) {
    print "uncaught exception\n";