Created
January 6, 2016 22:50
-
-
Save rickydazla/85d6ccd77c01f866d51c to your computer and use it in GitHub Desktop.
AdRoll Pixel for Shopify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
add below and exclude checkout.shopify.com/orders/* | |
see: https://ecommerce.shopify.com/c/ecommerce-marketing/t/adroll-setup-157948 | |
--> | |
<script type="text/javascript"> | |
adroll_segments = "online-customers"; | |
var conversion_value = '{{ subtotal_price }}'; | |
conversion_value = conversion_value / 100; | |
adroll_conversion_value_in_dollars = conversion_value; | |
adroll_custom_data = { | |
"ORDER_ID": "{{ id }}", | |
"USER_ID": "{{ customer.name }}" | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment