[memb_s3_link]

This Applies to
OTHER DOCS Available

Summary

This shortcode generates secure, expiring Amazon S3 links, with additional features, automation integration, and unique security enhancements.

Shortcode Examples

Here is a simple example, showing a link to a file called “test.jpg”:

<a [memb_s3_link htmlattr=href profile="yourprofile" object="test.jpg"] > Click Here to Download </a>

Here is a simple example, showing a link to a file in a path, with spaces in the filename:

<a [memb_s3_link htmlattr=href profile="yourprofile" object="/my/path/this is  test.jpg"] > Click Here to Download </a>

This is how the shortcode looks like with optional parameters:

<a [memb_s3_link htmlattr=href profile="memberium" require_login="yes" object="test.jpg" direct_link="no" expiring="5"] > Click Here to Download </a>

Use this to generate the entire link using the shortcode:

[memb_s3_link htmlattr=all profile=yourprofile object="/my/path/here/file.pdf"]Click here[/memb_s3_link]

 

Shortcode Parameters​

bucket:  Name of the Amazon S3 bucket

region: The region of the bucket on Amazon S3. Example: eu-west-2. This is not required if you’re on North Virginia region, but is required if you’re on any other region

version=4: Use this parameter if you’re NOT using North Virginia region. If you’re on North Virginia region, then skip using this parameter.

action_ids: List of ActionSet ID’s to run on click.  Defaults to none.  (Optional)

direct_link: Whether to link directly to S3 or not.  Valid values are “no” and “yes”.  Defaults to “no”.  Set to “yes” if the inks give you an Error 414.  (Optional)

expiring – The number of seconds before the link expires.  Defaults to the value set in the profile.  (Optional)

fus_ids: FUS ID’s to add/remove on click.  Defaults to none.  (Optional)

goals: Campaign Builder goal to achieve on click protocol.  Defaults to none.  (Optional)

htmlattr:  HTML attribute to embed the generated value in.  If blank no attribute is generated.  (Optional)

If you specify htmlattr=all, you can now specify 4 HTML attributes. style, class, id, and target.

[memb_s3_link htmlattr=all target='_blank' style="color:blue" class="yourclass" id="yourID" profile=yourprofile object="/my/path/here/file.pdf"]Click here[/memb_s3_link]

protocol:  Whether to use HTTP or HTTPS for the link that is generated.  Valid values are “http” and “https”.  Defaults to https.  (Optional)

require_login: Whether or not to require that the user is logged in.  Valid values are “no” and “yes”.  Defaults to no.  (Optional)

object: The name of the Amazon S3 Object to link to.  The object includes the full path except for the bucket itself. (Required)

profile: Name of Amazon S3 Profile to use.  (Optional)

tag_ids: tag ID’s to add/remove on click  (Optional)

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

FAQ

Can I use this shortcode with a page builder?

You can definitely use the shortcode to generate links inside page builders like Elementor, Divi, Beaver Builder, etc.

The only limitation is most page builders do not support shortcodes inside link fields. This means you couldn’t use our shortcode as a link inside a button, image, or any other element/block.

Due to page builders constantly pushing out updates, we don’t have a list on which ones are and aren’t supported, but you can easily test this for yourself.

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.