skip to Main Content

I’m trying to modify an Adroll script and don’t know where to find the product id variable need for the script.

I’m not a coder but have been able to find solutions for almost everything on stackoverflow but have not found an answer to this one.

<script type="text/javascript">
  adroll_custom_data = {"product_id":YOUR PRODUCT ID VARIABLE}
</script>

To learn what the product variable is and how to use it.

2

Answers


  1. if you have magento- adroll has an integration for magento 1.5 and up https://help.adroll.com/hc/en-us/articles/214799358-Magento-1, would be way easier to use that instead of placing the pixel manually.

    if you still choose to place the pixel manually, the product ID variable will need to match the product ID provided in the feed. if you have the feed handy, you can look at one product’s corresponding ID, and match the value to your site’s setup. this variable and its corresponding instructions will vary based on the magento version, and there’s a magento stackexchange that has answered similar questions.

    lastly, feel free to write in to [email protected] where someone will get back to you.

    Login or Signup to reply.
  2. I have integrated Adroll in Magento ver 2.3.4.This is value should I pass for product_id on the product detail page.

    <script type="text/javascript">
    adroll_custom_data = {"product_id": "PASS THE PRODUCT ID VARIABLE"};
    </script>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search