Created
December 4, 2020 11:49
-
-
Save fravelgue/16855575bf5cdeb452462d8660788b2c to your computer and use it in GitHub Desktop.
Multiples Facebook pixels in Shopify. In theme.liquid, replace {{ content_for_header }} with this code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign fb01 = '"ORIGINAL_FB_PIXEL"' %} | |
{% assign fb02 = '"ORIGINAL_FB_PIXEL","SECOND_FB_PIXEL"' %} | |
{% comment %}{{ content_for_header }}{% endcomment %} | |
{{ content_for_header | replace: fb01, fb02 }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment