Jump to content

(1.6) Facebook pixel adding more symbols to conted id (Google tag manager)


pattyo1
 Share

Recommended Posts

Hello guys, im trying to figure out this problem for almost week i tried almost everything but i have no idea where the problem is. Im trying to create dynamic ads on facebook. I added everything to Google tag manager but viewcontent is not working properly. As u can see on pictures the beggining of content id is right but next symbols dont make any sense. Does have anybody some solution for this?
Code in GTM looks like this
<script>
fbq('track', 'ViewContent', {
  content_ids: [id_product_fb],
  content_type: 'product',
  value: {{dlv.ecomm_totalvalue}},
  currency: 'EUR'
});
</script>

I tried also id_product or many others options but it is still same. I will really appreciate any help. Thank you

content_idfb.PNG

contentidpage.PNG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More