Skip to main content

Shopify

The Rokt application on the Shopify App Store is a plug-and-play solution that helps Shopify stores optimize their store's transactions by displaying relevant offers from advertisers during the checkout process. Additionally, Rokt advertisers can use the Shopify app to record conversions, with or without displaying offers, to optimize your Rokt campaign performance.

Installation guide

Before you begin, please ensure you have your Rokt Account ID. To find yours, see the instructions here.

  1. Log on to my.rokt.com
  2. Go to your account.
  3. Select Integrations, and then select Integrations. Shopify integrations
  4. Select Set up the Shopify integration. Set up Shopify integration
  5. Enter your store’s unique myshopify.com domain name. Find your myshopify.com domain name?
  6. Click Generate install link. Generate install link
  7. Open the install link and log in to Shopify, if you’re not already logged in. Open install link Important: To link to an existing Rokt account, make sure you initiate the process with the link generated from the Integrations page in One Platform instead of creating a new account.

Install the app on your Shopify store

  1. Click Install app to allow Rokt to modify the confirmation page and access transaction details. Install app on your store
  2. Review the Rokt Privacy Policy and acknowledge that usage of the Shopify app is governed by preexisting agreements with Rokt. Click Continue. Accept terms
  3. The app is now installed and will begin recording conversions on the confirmation page. App installed successfully

Find your myshopify.com domain name?

To determine your myshopify.com domain name, either:

  • When you’re logged into your Shopify admin portal, check the URL to see your myshopify.com domain name, or Check URL in Shopify admin portal
  • Go to your Shopify store and open the Elements panel within the Dev Tools console (ctrl + shift + c) and search (ctrl + f) for myshopify.com. From here, you should be able to find your myshopify.com domain name. Check domain name in devtools

Shopify Attribute Mapping

As Shopify conversion data is recorded, key order and customer attributes are mapped to standardized Rokt attributes to ensure data is properly structured and usable within the Rokt platform. This enables seamless integration and activation of Shopify data in Rokt campaigns.

Please reference Web SDK Data Attributes for more information on Rokt attributes.

Mapped Shopify Attributes

Shopify AttributeMapped Rokt AttributeExample
order?.emailemailjohn.smith@rokt.com
order.customer?.addresses?.[0]?.address1address14690 Some Rd Trail
order.customer?.addresses?.[0]?.address1address24690 Some Rd Trail
order.totalPriceSet?.presentmentMoney?.amountamount45.7
order.billingAddress?.address1billingaddress114 Via Rd Drive
order.billingAddress?.address2billingaddress214 Via Rd Drive
order.billingAddress?.citybillingcityGotham City
order.billingAddress?.countrybillingcountryUnited State
order.billingAddress?.namebillingnameSam Buyer
order.billingAddress?.provincebillingstateNV
order.billingAddress?.zipbillingzipcode89000
order.idcartidgid://shopify/Order/40000000000000
order.transactions?.[0]?.paymentDetailsccbin486732
order.customer?.addresses?.[0]?.citycityNew York
order.customer?.idclientcustomeridgid://shopify/Customer/500000000000
order.customer?.addresses?.[0]?.companycompanynameSome LTD
order.confirmationNumberconfirmationrefILXXXAAAA
order.customer?.addresses?.[0]?.countrycountryUnited States
order.currencyCodecurrencyUSD
Boolean(order.billingAddress?.company)customertypeBusiness / Individual
order.lineItemscartitemsExample Item
order.requiresShippingdeliveryTrue/False
order.shippingAddress?.address1deliveryaddress14 Via Rd Drive
order.customer?.firstNamefirstnameJohn
order.billingAddress?.companyhasbusinessprofileTrue/False
order.lineItems?.edges?.[0]?.node?.product?.vendoritembrandExample Brand
order.customer?.localelanguageen-US
order.customer?.lastNamelastnameDoe
order.lineItems?.edges?.[0]?.node?.product?.category?.fullNamemajorcatDog Food
order.lineItems?.edges?.[0]?.node?.product?.category?.idmajorcatidgid://shopify/Product/500000000000
order.customer?.phonemobile555-9999
order.customer?.phonemobilesha256555-9999
order.transactions?.[0].paymentDetails.paymentMethodpaymenttypeCredit Card
order.totalPriceSet?.presentmentMoney?.amountprice$10.00
order.lineItems?.edges?.[0]?.node?.product?.idproductid12345
order.lineItems?.edges?.[0]?.node?.product?.titleproductnameExample Name
order.totalPriceSet?.presentmentMoney?.amountqualifiedamount$10.00
order.lineItems?.edges?.[0]?.node?.quantity.toString()quantity100
order.shippingAddress?.address1shippingaddress1123 Example Street
order.shippingAddress?.address2shippingaddress2123 Example Street
order.shippingAddress?.cityshippingcityNew York
order.shippingAddress?.countryshippingcountryUnited States
order.shippingAddress?.countryCodeshippingstateNew Jersey
order.shippingLine?.codeshippingtypeStandard
order.shippingAddress?.zipshippingzipcode12345
order.lineItems?.edges?.[0]?.node?.skusku982482934
order.customer?.addresses?.[0]?.provincestateNew Jersey
order.lineItems?.edges?.[0]?.node?.product?.titletitleExample Title
order.transactions?.[0]?.idtransactionid12345
order.customer?.addresses?.[0]?.zipzipcode12345

Support

If you have questions, please reach out to your Rokt Account Manager or contact Rokt via our customer support portal.

Was this article helpful?