@rohan12334 - Ah right, I didn’t quite grasp your use case. But yea, if you had 50K SKUs that’s not a workable strategy.
So theoretically, the Shopify Liquid (template logic) can pass in the Products’ attributes (e.g. Tags in your case) into the Klaviyo event call via Javascript. In other words, if you can “render it” on a Product Page (or present it), you can theoretically pass it to Klaviyo from Javascript. I know most people don’t reveal/show the Shopify Tags on the Product Page, but it can be accessed since it’s used in different ways (in your store, it’s the Size, right?).
In fact, that’s exactly how the “Viewed Product” code works. The implementation will require someone pretty handy with Shopify’s template logic, Javascript, and now Klaviyo’s event listener documentation I shared in the first post.
So basically, think of it as the following process:
- Users completes a Signup Form and the form closes (or redirects to a page).
- In the split second as the Form is submitted, it triggers the Javascript
- The Javascript sole job is to append the Product Name, Tag (or whatever data) you want to the same Profile that just Signed Up by grabbing the Product Name (etc) from Shopify and passing it into Klaviyo.
Hopefully that makes sense.