Zipify OCU & google ads tracking conversion fails

Hello,

I tried to install zipify ocu for upsells but because of that my tracking conversion pixel script from google ads stopped working.

I followed all the instructions from zipify and shopify and put 1 script in post purchase page and another one in order status page but still it doesn’t work at all.

Here are the scripts:

POST PURCHASE SCRIPT:

ORDER STATUS SCRIPT

{% unless post_purchase_page_accessed %}

{% endunless %}

Can you help me and tell me what’s wrong with that?

Thanks in advance,

Hi @jaubced

Have you found any solution? I’m having the same issue.

Thanks,

Nope, nobody is answering me in zipify or shopify teams. I guess this is all dead. Nothing works lol

From what I see at Shopify docs, the post purchase pages should not include liquid code. You should use JavaScript only

The post-purchase page additional script is similar to the order status page additional scripts, but with a few key differences:

The field allows only JavaScript. Liquid code isn’t accepted.

Source: https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/pixel-tracking-post-purchase-page#add-the-post-purchase-page-script

You are right, I haven’t noticed that in @jaubced script.

You should change in the post purchase script:

for something like this

Hi,

thanks for answering , but where do you see liquid code in my post-puchase script please?

I had read this part of the doc of course, but I’m sure I didn’t put any liquid code unless I missed smth.

Thanks in advance;

Alright I will try this one,

di you ever try your code above?

where can i find the doc about thos “Order” variables?

Thanks a lot,

In the second script you have:

{{ total_price | money_without_currency | replace: ‘,’, ‘.’ }}

You need to replace that for Javascript.

Also, I haven’t tried that code, maybe you can change yours and don’t use mine as I may have some typos.

Here you have the variables at the bottom of the page.

https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/pixel-tracking-post-purchase-page

Alright I’m blind apparently, thanks a lot

Alright I’ll test and tell you how it goes,

thanks a lot

Well, I used your script and a more simplified script llike that and it didn’t work. One conversion has been tracked but 3 others have not been, it’s really weird. i find no updated doc online, no help from shopify neither zipify, I really don’t know what to do and upsells are like 15% of my revenues.

If you have any idea about what i did wrong or what code could work i’m all ears

I also used the tag assistant extension to see what is happening, it appears that tha global site tag is fired on the post purchase page but not the conversion tag

I have no idea why it is not, what error i could have done,

I’m having the same issue. I wrote to several supports, Shopify, Zipify, Littledata, and Getelevar. The only one that claims to have a solution is Getelevar but I haven’t tried that, you need to pay for their app. https://www.getelevar.com/shopify/configure-post-purchase-upsell-conversion-tracking/

Regarding Littledata, they told me they are writing a script after the new year to have the purchase event in the datalayer or something.