Skip to main content
Notice removed Improve details by CommunityBot
Bounty Ended with Tyler's answer chosen by CommunityBot
deleted 175 characters in body
Source Link
Intern
  • 149
  • 1
  • 20

HereThis is themy code we usedin the google tag manager for the streaming updates:

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "INSERT_ITEM""ecommerce.detail.id",
          "name": "ecommerce.detail.name",
          "unique_id""url": "INSERT_UNIQUE_ITEM_ID""ecommerce.detail.page_url",
          "name""item_type": "INSERT_ITEM_NAME_OR_TITLE""ecommerce.detail.category",
          "url""availability": "INSERT_ITEM_URL""ecommerce.detail.availability",
          "item_type""regular_price": "INSERT_ITEM_TYPE""ecommerce.detail.price",
          "INSERT_ATTRIBUTE_NAME""image_url": "INSERT_ATTRIBUTE_VALUE""ecommerce.detail.image"
         }
      ]);
</script>

For the code above we changedHere is the "INSERTS"link to match the variablesa product in theour website where you can see the code installed. We inserted more attributes per

Below are the documentationerrors that I'm getting in the 3rd link.console and the page source where you can see how these codes were installed:

Product Console

Page Source

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you

UPDATE 3:

This is my code in the google tag manager for the streaming updates:

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "ecommerce.detail.id",
          "name": "ecommerce.detail.name",
          "url": "ecommerce.detail.page_url",
          "item_type": "ecommerce.detail.category",
          "availability": "ecommerce.detail.availability",
          "regular_price": "ecommerce.detail.price",
          "image_url": "ecommerce.detail.image"
         }
      ]);
</script>

Here is the code we used for the streaming updates:

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "INSERT_ITEM",   
          "unique_id": "INSERT_UNIQUE_ITEM_ID",
          "name": "INSERT_ITEM_NAME_OR_TITLE",
          "url": "INSERT_ITEM_URL",
          "item_type": "INSERT_ITEM_TYPE",
          "INSERT_ATTRIBUTE_NAME": "INSERT_ATTRIBUTE_VALUE"
         }
      ]);
</script>

For the code above we changed the "INSERTS" to match the variables in the website. We inserted more attributes per the documentation in the 3rd link.

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you

UPDATE 3:

This is my code in the google tag manager for the streaming updates:

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "ecommerce.detail.id",
          "name": "ecommerce.detail.name",
          "url": "ecommerce.detail.page_url",
          "item_type": "ecommerce.detail.category",
          "availability": "ecommerce.detail.availability",
          "regular_price": "ecommerce.detail.price",
          "image_url": "ecommerce.detail.image"
         }
      ]);
</script>

This is my code in the google tag manager for the streaming updates:

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "ecommerce.detail.id",
          "name": "ecommerce.detail.name",
          "url": "ecommerce.detail.page_url",
          "item_type": "ecommerce.detail.category",
          "availability": "ecommerce.detail.availability",
          "regular_price": "ecommerce.detail.price",
          "image_url": "ecommerce.detail.image"
         }
      ]);
</script>

Here is the link to a product in our website where you can see the code installed.

Below are the errors that I'm getting in the console and the page source where you can see how these codes were installed:

Product Console

Page Source

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you

Notice added Improve details by Intern
Bounty Started worth 50 reputation by Intern
added 569 characters in body
Source Link
Intern
  • 149
  • 1
  • 20

[Stream Catalog Updates][1]Stream Catalog Updates

[Implementation Doc in MC][2]Implementation Doc in MC

[Personalization Builder Catalog Definitions][3]Personalization Builder Catalog Definitions

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you [1]: https://help.salesforce.com/articleView?id=mc_ctc_streaming_updates.htm&type=5 [2]

UPDATE 3: https://mc.exacttarget.com/cloud/#app/Email%20Recommendations/ftux/documentations/web [3]

This is my code in the google tag manager for the streaming updates: https://help.salesforce.com/articleView?id=mc_pb_catalog_field_definition.htm&type=5

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "ecommerce.detail.id",
          "name": "ecommerce.detail.name",
          "url": "ecommerce.detail.page_url",
          "item_type": "ecommerce.detail.category",
          "availability": "ecommerce.detail.availability",
          "regular_price": "ecommerce.detail.price",
          "image_url": "ecommerce.detail.image"
         }
      ]);
</script>

[Stream Catalog Updates][1]

[Implementation Doc in MC][2]

[Personalization Builder Catalog Definitions][3]

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you [1]: https://help.salesforce.com/articleView?id=mc_ctc_streaming_updates.htm&type=5 [2]: https://mc.exacttarget.com/cloud/#app/Email%20Recommendations/ftux/documentations/web [3]: https://help.salesforce.com/articleView?id=mc_pb_catalog_field_definition.htm&type=5

Stream Catalog Updates

Implementation Doc in MC

Personalization Builder Catalog Definitions

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you

UPDATE 3:

This is my code in the google tag manager for the streaming updates:

<script type="text/javascript">
      _etmc.push(["updateItem", 
         {
          "item": "ecommerce.detail.id",
          "name": "ecommerce.detail.name",
          "url": "ecommerce.detail.page_url",
          "item_type": "ecommerce.detail.category",
          "availability": "ecommerce.detail.availability",
          "regular_price": "ecommerce.detail.price",
          "image_url": "ecommerce.detail.image"
         }
      ]);
</script>
added 347 characters in body
Source Link
Intern
  • 149
  • 1
  • 20

I believe this is it

UPDATE 2:

_etmc.push(["updateItem",{item_type:"ecommerce.category",item:"ecommerce.detail.id",name:"ecommerce.name",url:"Page URL",available:"ecommerce.status",sale_price:"ecommerce.id.price"}]);

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you [1]: https://help.salesforce.com/articleView?id=mc_ctc_streaming_updates.htm&type=5 [2]: https://mc.exacttarget.com/cloud/#app/Email%20Recommendations/ftux/documentations/web [3]: https://help.salesforce.com/articleView?id=mc_pb_catalog_field_definition.htm&type=5

I believe this is it

UPDATE 2:

_etmc.push(["updateItem",{item_type:"ecommerce.category",item:"ecommerce.detail.id",name:"ecommerce.name",url:"Page URL",available:"ecommerce.status",sale_price:"ecommerce.id.price"}]);

This is what I could find, if this is not what you are looking for, I will talk to my IT dept tomorrow and get back to you. Thank you [1]: https://help.salesforce.com/articleView?id=mc_ctc_streaming_updates.htm&type=5 [2]: https://mc.exacttarget.com/cloud/#app/Email%20Recommendations/ftux/documentations/web [3]: https://help.salesforce.com/articleView?id=mc_pb_catalog_field_definition.htm&type=5

added payload
Source Link
Intern
  • 149
  • 1
  • 20
Loading
Source Link
Intern
  • 149
  • 1
  • 20
Loading