I'm hoping to link one of my home page call to action to the newsletter sign up pop up (which I created with privy app).
The button is on my home page: GET UPDATED on the second home page image.
This is the Privy instruction: https://blog.privy.com/blog/2015/10/how-to-use-a-custom-call-to-action-to-trigger-your-privy-campaig...
Can any code guru help please?
According to the docs all you have to add its a click handler:
If you show us your home page maybe we can figure it out what button is it. It is not going to be in theme.liquid, most likely in index.liquid.
<button onclick="Privy.show(10552);">Attend Our Event</button>
The button I need to trigger pop up is in the image attached, located on the home page.
My site is : the-rushing-hour.myshopify.com
Yes if I can get help locate where this button is, I'll be able to update the onclick action :)
Its not a <button> element its an Anchor Element <a>:
<a href="/collections/" class="btn "> GET UPDATE → </a>
I do not see the Liquid code here but try to look trough index.liquid and search for "btn". It should be there.
BTW, check the console.log, you have Javacript errors.