Adsmurai Facebook, TikTok, Pinterest, Snapchat Pixel & Conversions API (CAPI)

Community tag by Adsmurai-Google-Tag-Manager-Templates

What is Adsmurai Facebook, TikTok, Pinterest, Snapchat Pixel & Conversions API (CAPI)?

This tag helps you to send event data to Facebook, TikTok, Pinterest & Snapchat via conventional pixel and via their Conversions API.

Adsmurai Facebook, TikTok, Pinterest, Snapchat Pixel & Conversions API (CAPI) tag is created by Adsmurai-Google-Tag-Manager-Templates. Once you set up server side tagging with MetricsGate, you can use this tag with Google Tag Manager to enhance your data analytics.

This tag template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. v2.0 Ability to set first party subdomain
  2. v1.9 Use _gtmeec cookie when possible
  3. v1.8 Improve Facebook cookie handling
  4. v1.7 Improve Snapchat multitag compatibility
  5. v1.6 Support for Snapchat Pixel
  6. v1.5 Support for Pinterest Pixel
  7. v1.4 Ability to use Enhanced Ecommerce data
  8. v1.3 Support for TikTok Pixel & Track API
  9. v1.2 Add warning when Serverless Tracking API key field is empty
  10. v1.1 Add feature to add pixel IDs when setup is only CAPI + Serverless Tracking
  11. v1.0 Add support for Adsmurai Serverless Tracking (managed server solution for sending events through CAPI) Add support for disabledPushState Fix pixel events discarding falsy values Improve tooltips and texts
  12. v0.6 Fix server events discarding falsy values (fixes geolocation LDU not being sent when set to 0)
  13. v0.5 Add saving of _fbc cookie when there's no pixel basecode Add max-age to set cookies to imitate Facebook cookies' expiration Add reset of expiration on every event when there's no pixel basecode to imitate Facebook's basecode behavior Improve comment and code for readability
  14. v0.4 Fix typo on AddToWishlist standard event that made it to be sent as a custom event (thanks to @Zsavajji) Fixed / improved fields' tooltips Fixed template logo's background Some code cleaning without impact
  15. v0.3 Add more options on content_type Improve tooltip about hashing user data Make autogenerating the event_id the default option when firing events through both methods Avoid firing the event if event_name is undefined Avoid firing the event through CAPI if the server's URL is undefined Improve _fbc cookie retrieval Fix generation of the fbc parameter when retrieving fbclid from query parameters Add generation of fbp when _fbp cookie is not set
  16. Initial release (0.2)

More tags and variables supported

Tags

Variables

Join early adopters globally and leverage server-side tagging, GA4 custom events, and cookieless tracking to gain deeper insights and enhanced analytics data about your visitors!

Get Started now