• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 17.10.19, 15:54
  • Opened by: matteo
  • Closed by: Fred
  • Closed on: 02.12.19, 21:59
  • Reason: No answer from a customer
  • Comment: Glad to help!

Ticket #15901 - Facebook pixel and AMP

Hi, i have a problem with facebook pixel in AMP;
i have insert the pixel id in the module config but the pixel track only pageview;
viewcontent have a problem because say the ID of product don’t match with the id of facebook catalog (but in the desktop version working fine)
the others problem is that don’t fire on AddToCart, InitiateCheckout, Purchase and ant other standard event; the only that work fine is pageview.

Another info please; for google analytics i have to set another account for amp page (like google analytics guide suggest?) or i can insert the same id of analytics code that i use with desktop version?

And for the google adwords and remarketing? i can use the same of the desktop one?

thank you and have a good day.

Comments

Marek 17 Oct 2019, 20:54

We need a time to add this options to the theme, hope to finish it in the beginning of the next week

matteo 18 Oct 2019, 10:43

ok thank you; if i can, i want to suggest you to implement also google tag manager.
have a good day

Marek 21 Oct 2019, 21:12

I have make a configuration for checkout page “{if $amppage == ‘checkout’}” in the file /home/shapestore/public_html/themes/alysum/templates/mobile/_partials/footer-bottom.tpl please check it out

matteo 21 Oct 2019, 22:56

thank you for your support but there is an event missing on the module/pk_amp/order-confirmation; on this page the pixel must fire the Purchase event (now i can see the pixel fire only pageview). thank you and have a good day.

Marek 22 Oct 2019, 14:10

I’m not able to purchase any product, to go to “order-confirmation” page. I see the following error:

Sfortunatamente, non ci sono vettori disponibili per il tuo indirizzo di consegna.
matteo 22 Oct 2019, 15:13

i think because i don’t ship ou from italy, do you have to select italy like country

matteo 22 Oct 2019, 15:37

i have do a tested from different smartphone and i can select the courier

Marek 22 Oct 2019, 17:36

Please test it out now https://take.ms/P9hzA

matteo 22 Oct 2019, 17:40

it’s ok, only two things, the value must have only 2 decimal (for ex. in your screenshot the value is 202.800000 → must be 202.80) and if you can insert a “IT” prefix before products id because my catalog feed is exported with IT like prefix.
thank you

Marek 22 Oct 2019, 17:46

Done

matteo 22 Oct 2019, 19:00

Thank you Marek, have a great day and i hope the best for you. Your support is Superlative.

Marek 22 Oct 2019, 19:00

Thank you! We always glad to help!

Jesus 28 Oct 2019, 11:59

Hello Marek.

We also need that fix! We are having troubles with addtocart event.

Could you send us at least the modified file by email?

Thank you!

Marek 28 Oct 2019, 12:16

there is no ready Add to cart event yet

matteo 28 Oct 2019, 17:14

no problem, which file i have to send you?