Adding tracking pixel(s) to product (NOT store/checkout) pages

Sqor_Orders
New Member
2 0 0

Hi Shopify community,

I'm currently trying to conduct some conversion performance tests on which ad platform is best for our company. I want to track which ad set is bringing in the most visits (I need more detail from just the referrals from social sites).

Previously when I've put tracking pixels from Google and Facebook Ads, the tracking has been for either: hits to the homepage or the completed checkouts.

When I spoke to a Shopify support rep, there are two options (he admitted that both he and others in support haven't seen this):

1) In the product page:

  • go to the specific product from the product collection page
  • in the "description" section head to the '< >' button of the dialog box
  • insert the pixel code there

2) In the store theme:

  • create an actual template for the product in the themes section

Has anyone tried either of the above? Any other suggestions out there for tacking the traffic for a specific product?

Replies 8 (8)
Linwright
New Member
1 0 0

I'd love to get the answer for this as well. We have it installed to track all website visitors from the header, as well as conversions from the check out page, but we need to be able to run retargeting based on specific product pages.

Online_Bathroom
Excursionist
30 0 4

I would love to know this as well.

PaulNewton
Shopify Partner
4205 303 898

https://docs.shopify.com/themes/liquid-documentation/objects/template

{%if template == 'product'%}
do specific use case stuff
{% endif %}

If it's for a specific product inside the above code match against the handle or id's

{% if product.handle == 'product-of-interest' %}
do specific stuff
{% endif %}

 

 

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
CheshtaBose
Tourist
58 0 1

Nice to see all the comments. Shopify provides the best services as mentioned above, by which you can target to your visitors. Apart from this, you can also go with CPC and PPC for getting more traffic in your website.

http://nationkart.com/
Steve_Shideler
New Member
3 0 0

Paul:  Do you know if it is possible to do this with the indiividual collection the product was purchased from??

Thanks!

PaulNewton
Shopify Partner
4205 303 898

collection the product was purchased from

Steve: purchased? this topic is not about checkout/thank-you pages. Start a new topic elswhere Or clarify your question to be on topic.

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com
Mike_Thomas
New Member
7 0 0

Shopify facebook pixel app will help you on this, this app tells you exactly what’s working and what’s not and give you the flexibility to control your pixel and very helpful to run targeted ad campaign.

thegeargods
Shopify Partner
5 0 0

You can set up a Custom Conversion in your Facebook ads account, for a View Content action where the product id is the specific one you want.