Cancel
// <![CDATA[
Boot Brightback with end-user data. (*) are required fields -->
<script type="text/javascript">
if (window.Brightback) {
window.Brightback.handleData({
app_id: 'abc123', // Identifies Brightback’s customer and is provided by Brightback (*)
first_name: 'John', // First Name
last_name: 'Doe', // Last Name
email: 'jdoe@example.com', // Admin email (*)
save_return_url: 'https://www.example.com/account/', // Return URL from Brightback for end-users who do not cancel (*)
cancel_confirmation_url: 'https://www.example.com/account/cancel', // Return URL from Brightback for end-users who cancel (*)
account: {
company_name: 'Acme Products', // Display name of company for end-user facing content (*)
company_domain: 'acme.com', // Used for display and data enrichment
internal_id: '12345678', // Your user’s account ID (where end user is your customer) (*)
created_at: 1312182000 // Timestamp of account created date
},
custom: {
activity: {
emails: 42085, // For loss aversion card
templates: 86, // For loss aversion card
contacts: 102546, // For loss aversion card
},
});
}
// ]]>
Comments
0 comments
Please sign in to leave a comment.