Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to track Ecommerce Orders in Shopify store (using image pixel tracking) #17024

Closed
mattab opened this issue Dec 28, 2020 · 6 comments
Labels
answered For when a question was asked and we referred to forum or answered it. c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. c: Onboarding For issues that make the experience of getting Matomo up and running better.

Comments

@mattab
Copy link
Member

mattab commented Dec 28, 2020

an FAQ explains how to add shopify ecommerce store page tracking with Matomo in https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-my-shopify-store/

and the FAQ says:

Currently Matomo does not have an eCommerce integration with Shopify, so Ecommerce tracking is not available. That’s because Shopify plans don’t allow 3rd party javascript on their checkout pages, so Matomo cannot track these ecommerce checkout pages.

as Shopify is very popular among ecommerce, it would be valuable to also be able to track shopify ecommerce sales in the Matomo analytics dashboard. Looking at their docs online at https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status/add-conversion-tracking there seems to be a feature to do conversion tracking using an image beacon such as:

<img src="https://www.tracking.com/pixel.gif?amount={{ total_price | money_without_currency }}&amp;order-id={{ order_number }}&amp;currency={{ currency }}" height="1" width="1" />

Limitation: It looks like we won't be able to track the products, but tracking the sale and amount is already extremely valuable.

Suggested steps:

  1. double check whether it works to record the ecommerce sale in Matomo using pixel beacon,
  2. update our Shopify FAQ to include instructions on how to add this image beacon

FYI customer who uses shopify messaged:

see the recordings of the user journey from the moment they arrived on our site until they left either without placing an order or with placing an order?

@mattab mattab added c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. labels Dec 28, 2020
@tsteur tsteur added this to the 4.4.0 milestone Dec 29, 2020
@EladGeek
Copy link

why not use the script pixel?
you have to load the base tag in advance (to capture the pageview also), and then fire the conversion event

a similar solution is used by the Bing tag in Shopify

@Starker3
Copy link
Contributor

Starker3 commented Sep 1, 2021

The Shopify themes allow for quite a lot of flexibility in how they can be setup.
So what we could do is create some basic shopify style functions to trigger certain types of tracking requests. The easiest will probably be tracking product views, since this can easily fire on every product page by adding the tracking code in the correct theme file.

@tsteur
Copy link
Member

tsteur commented Sep 1, 2021

fyi @mattab @Starker3 this might be more an internal KB or SUP issue?

@mattab
Copy link
Member Author

mattab commented Sep 2, 2021

Closing here and re-created internally as SUP-372

@mattab mattab closed this as completed Sep 2, 2021
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 2, 2021
@mattab
Copy link
Member Author

mattab commented Nov 9, 2022

how to track Ecommerce Analytics for Shopify covered (including product, categories, product views & add to carts, etc.) in https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-my-shopify-store/

@uschtwill
Copy link

Shouldn't the docs change to make use of this feature now? https://help.shopify.com/en/manual/promoting-marketing/pixels/overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. c: Onboarding For issues that make the experience of getting Matomo up and running better.
Projects
None yet
Development

No branches or pull requests

5 participants