Hello @SmartyPants,
Welcome to the Klaviyo Community!
Since it sounds like you’re trying to come up with your own custom viewed product event, if you haven’t already, I would recommend taking a look at our Integrate a platform without a pre-built Klaviyo integration developer guide. Not only does it go over how to connect your own custom site with Klaviyo, but it also goes over and include a number of example metrics and their suggested code snippets - which you can certainly adjust to however you want to customize them. For example, the default viewed product event code we provide and suggest would be:
<script type="text/javascript">
var _learnq = _learnq || [];
var item = {
"ProductName": "Winnie the Pooh",
"ProductID": "1111",
"SKU": "WINNIEPOOH",
"Categories": ["Fiction", "Children"],
"ImageURL": "http://www.example.com/path/to/product/image.png",
"URL": "http://www.example.com/path/to/product",
"Brand": "Kids Books",
"Price": 9.99,
"CompareAtPrice": 14.99
};
_learnq.push(["track", "Viewed Product", item]);
</script>
We also have an extensive network of Klaviyo Partners who can provide more hands-on assistance if you need further help in terms of development or marketing help!
Have a great day!
David