Hello Guys, I was trying to install Pinterest Tag on my Wix Shop using GTM, and so far I've had some success, I've at least installed Base Code correctly, as well as being able to trigger the events I need at the right time:
But when I used Pin Tag Helper to test my tags I ran into a problem:
On this issue, I have 2 questions.
1. About Enhanced Match, I check the Enable optional Enhanced match link, it asked me to add some snippets in the base code of JavaScript, however, I installed the base code via GTM, and I didn't manually add any pinterest code in my page <header></header> container, except Google Tag Manager code snippet.
2. About Checkout event.
My current solution is to do it via JS Path as below screenshot shows, but I'm not sure if that works; I think the best way is still to look up and return values from GTM's Datalayer.
But JS Path doesn't work 😞
Hi @zinfu_official, welcome to the PBC! 🙂
Regarding the Enhanced Match, since you're using GTM, you should have the option of doing so in the interface. This Help Center article shows how to do it. You can also add this code manually, as it should not interfere with your GTM implementation of the Pinterest Tag.
Regarding the order_id and revenue, this should be replaced by a dynamic variable defined by your website host. I would recommend reaching out to them, so they can provide you with this variable.