In Facebook Pixel (AddToCart Event)- how to pass the value parameter

Bronze Contributor
Bronze Contributor

Hi,

I have been trying to pass the value parameter in AddToCart Event. But the GMS value is not passing in the AddtoCart event and on the site, the Facebook pixel helper is also not rendering the value(revenue value). Could please help out to figure this out?

This is the current data mapping I have in place. 

facebook pixelmaping.JPG

3 REPLIES 3

In Facebook Pixel (AddToCart Event)- how to pass the value parameter

Community Manager
Community Manager

@ShreetamMohanty That mapping looks correct. Here are some other things to check:

  • Did you also map a variable to trigger the event? See an example of this in Facebook Pixel: Event Mapping
  • Did you publish your changes?
  • Are you viewing the correct environment in your test?
Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.

In Facebook Pixel (AddToCart Event)- how to pass the value parameter

Bronze Contributor
Bronze Contributor

1. Yes, I have mapped a variable to trigger the event. Facebook mapping.JPG

2. Yes, I have published my changes to the QA environment for testing.

But in the AddToCart event Value parameter is not passing. 

Value parameter.JPG   

 

 

In Facebook Pixel (AddToCart Event)- how to pass the value parameter

Community Manager
Community Manager

@ShreetamMohanty The most likely cause is that the variable gms is not set for this event. Can you verify that the variable gms has a value when this event is triggered?

You can use the UTAG Debugger to see the data layer for each tracking call.

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.
Public