Omnisend - Template variables

A list & description of the variables that are sent to Omnisend in Junip events

Stuart Arsenault avatar
Written by Stuart Arsenault
Updated over a week ago

Events

  • Junip - Review request

  • Junip - Review request by campaign

  • Junip - Review submitted

  • Junip - Review confirmation required

Order Event Variables

This refers to the "Review request" and "Review request by campaign" events

  • all_items_reviewed - whether all of the order's items have been reviewed by the customer that placed the order

  • order_id - the Shopify ID of the order

  • order_currency - the currency that the order was purchased in

  • order_line_item_1_id - the Shopify ID of the first line item

  • order_line_item_1_name - the name of the line item

  • order_line_item_1_price - the price of the line item

  • order_line_item_1_quantity - the quantity purchased

  • order_line_item_1_image_url - the URL for an image of the purchased product

  • order_line_item_1_review_url - the authorized URL that allows a customer to leave a review on this product before the other products in this order

  • order_review_url - the authorized URL that the customer can use to leave a review on products from the order

  • order_subtotal_price - the order subtotal

  • order_total_price - the total price of the order

  • store_reviewed - whether or not the customer has left a store review

  • store_review_url - the authorized URL that the customer can use to leave a review on the store

  • test - indicates if the event occurred as the result of a test

Note that an event can contain up to 5 line items. For example, you can access the name of the 3rd line item using the `order_line_item_3_name` variable.

Review Event Variables

This refers to the "Review submitted" and "Review confirmation required" events

  • review_id - the Junip ID for the review

  • review_body - the main content of the review

  • review_identity_confirmed - whether we have verified that the person who wrote this review is the person they say they are

  • review_identity_confirmation_url - the authorized URL for confirming the identity of the person that wrote the review

  • review_rating - the rating out of 5

  • review_state - the state of the review (pending, approved, or rejected)

  • review_title - the title of the review

  • review_type - denotes if the review is a product review or a store review (product_review, store_review)

  • review_verified_buyer - whether the writer of this review is a verified buyer

  • review_would_recommend - whether the writer of this review would recommend the product or store

  • review_target_title - the target of the review, either the store name or the product name + variant information

  • review_has_media - whether there was a picture/video submitted with the review (true or false)

  • product_id - the ID of the product the review was left on

  • product_title - the title of the product the review was left on

If there's a reward associated with the review

  • reward_code - the discount code

  • reward_name - the reward's description (e.g. "Free shipping" or "10% off")

  • reward_lowercase_name - an all lowercase version of the reward's description

  • store_url - the URL of the store the reward is for

  • test - indicates if the event occurred as the result of a test

Did this answer your question?