Skip to content

Instantly share code, notes, and snippets.

@AndersonZacharyT
Last active March 28, 2019 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndersonZacharyT/58349dfd6771a90d3d1f8f660f816854 to your computer and use it in GitHub Desktop.
Save AndersonZacharyT/58349dfd6771a90d3d1f8f660f816854 to your computer and use it in GitHub Desktop.
Cohesion Error
const payload = {
"@type": "redventures.ecommerce.v1.ProductListViewed",
"product": [
{
"productId": 0,
"category": "purchase",
"brand": "first mortgage direct",
"position": "1",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "5.000",
"variant": "4.300",
"price": "988",
"coupon": "none"
},
{
"productId": 1,
"category": "purchase",
"brand": "better mortgage inc",
"position": "2",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "4.200",
"variant": "4.329",
"price": "905",
"coupon": "none"
},
{
"productId": 2,
"category": "purchase",
"brand": "aimloan.com",
"position": "3",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "5.000",
"variant": "4.330",
"price": "988",
"coupon": "none"
},
{
"productId": 3,
"category": "purchase",
"brand": "homedirect mortgage",
"position": "4",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "5.000",
"variant": "4.400",
"price": "988",
"coupon": "none"
},
{
"productId": 4,
"category": "purchase",
"brand": "hsbc bank",
"position": "5",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "4.500",
"variant": "4.519",
"price": "932",
"coupon": "none"
},
{
"productId": 5,
"category": "purchase",
"brand": "jg wentworth home lending",
"position": "6",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "4.875",
"variant": "4.825",
"price": "974",
"coupon": "none"
},
{
"productId": 6,
"category": "purchase",
"brand": "optimum first mortgage inc.",
"position": "7",
"location": "consumer choice",
"termLength": "30 year fixed",
"termLengthUnit": "year",
"rate": "7.000",
"variant": "6.000",
"price": "988",
"coupon": "none"
}
],
"listId": "abc-1-2-3(0)"
}
window.tagular('beam', 'ProductListViewed', payload)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment