Sales

Sales Variables

Sale variables or fields are markers that represent and display sale attributes in a place outside the sale detail. In Guru, a variable can be used as:

  • Placeholder in a message: used to insert personalized content in transactional emails or SMS that you configure.

  • Field mapping for another tool: used to send sale attributes to other tools such as an autoresponder, for example.

Most variable names are self-descriptive and their nomenclature describes the context and name of the attribute. For example: Pagamento -> Forma de Pagamento refers to the payment method chosen by the buyer.

It is worth remembering that when sending, in the message or field mapping, the variable name is replaced by the attribute value, which in the example above could be Cartão de Crédito.


On this page:

  • List of sale variables


List of sale variables

Each sale registered in Guru can have the following variables:

General Information

Variable Name

Description

Available in

Invoice -> URL

URL to consult the invoice (proof of purchase).

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Marketplace -> Sale ID

Sale identification code (sent by the payment processor)

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Marketplace -> Name

Product name sent by the payment processor

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Marketplace -> Value

Amount charged sent by the payment processor

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Status

Sale status (state)

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Type

Sale type: Product (single sale) or Subscription

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Last Invoice

URL to consult the last invoice

UTM Campaign

Value of the UTM Campaign parameter stored in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

UTM Content

Value of the UTM Content parameter stored in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

UTM Medium

Value of the UTM Medium parameter stored in the sale.

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

UTM Source

Value of the UTM Source parameter stored in the sale.

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)


Payment

Variable Name

Description

Available in

Coupon -> Code

Coupon Code

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Coupon -> Value

Coupon Value

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Multibank -> Entity

Entity code for Multibanco payments

Multibank -> Reference

Reference code for Multibanco payments

Payment -> Payment Method

Sale payment method

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Payment -> Information

Additional payment information. Ex: information for bank slip collection

  • Autoresponder » Field mapping (sale)

  • Transactional emails (sale)

Payment -> Currency

Currency in which payment was charged

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Payment -> Reason

Reason for cancellation or refund sent by the payment processor

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)


Value

Variable Name

Description

Available in

Value -> Shipping

Shipping cost charged to the customer

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Value -> Net

Net sale value (what is to be received)

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Value -> Total

Total amount paid by the customer

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)


Dates

Variable Name

Description

Available in

Date -> Approved at

Date payment was approved

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Date -> Canceled at

Date sale was canceled

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Date -> Refund deadline

Sale refund deadline - available only for sales processed by external checkouts

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Date -> Unvailabe until

Indicates until when the amount will be blocked for withdrawal - available only for sales processed by external checkouts

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Date -> Made at

Date the sale was made

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)


Carrier

Variable Name

Description

Available in

Carrier -> Name

Name of the carrier associated with the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Carrier -> Tracking

Order tracking data (sent by the carrier)

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Carrier -> Service

Carrier service selected by the customer

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Carrier -> Shipping amount

Amount charged for shipping (freight) of the order

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Carrier -> Delivery time

Estimated delivery time for the order (sent by the carrier)

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)


Checkout

Variable Name

Description

Available in

Checkout -> Email

Store contact email displayed on checkout

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> Image

Product image displayed on checkout

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> WhatsApp Indicative

Country code of the store's Whats. App contact number displayed on checkout. Ex: +55

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> WhatsApp Number

Store’s WhatsApp contact number displayed on checkout (without country code).

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> Name

Store name displayed on checkout

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> Privacy policy URL

Privacy policy URL displayed on checkout

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> Terms of Use URL

Terms of Use policy URL displayed on checkout

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)

Checkout -> Telegram User

Store's Telegram user for contact displayed on checkout

  • Autoresponder » Field mapping (subscription)

  • Contracts » Field mapping (subscription)

  • Transactional emails (subscription)

  • Transactional emails (sale)

  • SMS » Status mapping (subscription)


Trackings

Variable Name

Description

Available in

Tracking -> Advertiser

Traffic source of the tracking associated with the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> Sale/Leads -> Name

Name of the tracking associated with the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> Checkout -> Name

Name of the tracking associated with the checkout

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> sck

Value of the SCK field

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> src

Value of the SRC field

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> UTM Campaign

Value of the UTM Campaign parameter recorded in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> UTM Content

Value of the UTM Content parameter recorded in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> UTM Medium

Value of the UTM Medium parameter recorded in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> UTM Source

Value of the UTM Source parameter recorded in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)

Tracking -> UTM Term

Value of the UTM Term parameter recorded in the sale

  • Autoresponder » Field mapping (sale)

  • Contracts » Field mapping (sale)

  • Transactional emails (sale)

  • SMS » Status mapping (sale)


More Resources