Skip to main content
Solved

Dev tutorials/ resources for Klaviyo


Forum|alt.badge.img+1

Hi,

I’m a developer using the Shopify platform and I’m interested in seeing if moving our installation from an integrated installation to an api based installation would be beneficial to us and give us more flexibility.

I can flesh out a Shopify app for the api key but there is a gap in my knowledge with how the whole process works.
I am wondering if someone can provide me with some tutorials or resources available online. 

Thanks
 

Best answer by chrisB

There is probably a couple of ways to do the above. 

 

you could either hide the Div based on tag or something. 
 

or you could adjust the snippet (based on back-in-stock) to use a different variable/etc. 

 

ie: if it’s currently looking at the add to cart button (and the change from active to inactive), there is nothing to say you couldn’t create another button based on your logic and point the snippet to that 

View original
Did this topic or the replies in the thread help you find an answer to your question?

6 replies

Forum|alt.badge.img+4
  • Problem Solver III
  • 36 replies
  • March 23, 2023

Hey,

 

I have been toying with this myself, I work on shopify as well. 

What are you trying to achieve specifically?

I have been considering if there is value using the customer events function in shopify to trigger page events without having to load on-site pixels/etc. 

 

im using for a custom GA4 and segment profile at the moment, but could never crack the Klaviyo side. 


Forum|alt.badge.img+4
  • Problem Solver III
  • 36 replies
  • March 23, 2023

Also here is the custom API docs for KL. 
 

https://developers.klaviyo.com/en/docs/custom_integration_faqs


Forum|alt.badge.img+1
  • Author
  • Contributor II
  • 3 replies
  • March 23, 2023

There isn’t one specific task in particular.

We have always used the integrated solution which has been fine for some time but recently there have been cases where we need more flexibility like a custom back in stock feature when the products have inventory but we are labelling them out of stock for a business case. Another is just using lots of individual lists for similar tasks where I think and more flexible solution that is less work to manage is probably possible. Somebody else manages Klaviyo in this business so I’m a bit new to a lot here.

 


Forum|alt.badge.img+1
  • Author
  • Contributor II
  • 3 replies
  • March 23, 2023

Do i need to set up an app or will the connection be authenticated by the klaviyo integration already there?


Forum|alt.badge.img+4
  • Problem Solver III
  • 36 replies
  • March 23, 2023

I think to auth with KL you will need your API details form KL. Standard api auth setup apples 

 

if your firing the JS you only need the store code 


Forum|alt.badge.img+4
  • Problem Solver III
  • 36 replies
  • Answer
  • March 23, 2023

There is probably a couple of ways to do the above. 

 

you could either hide the Div based on tag or something. 
 

or you could adjust the snippet (based on back-in-stock) to use a different variable/etc. 

 

ie: if it’s currently looking at the add to cart button (and the change from active to inactive), there is nothing to say you couldn’t create another button based on your logic and point the snippet to that