Created
October 16, 2018 16:01
-
-
Save bvodola/b326faa7829972fbaba5b0527acb2b67 to your computer and use it in GitHub Desktop.
Pixel/index.js
This file contains 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
import React from 'react' | |
import Head from 'next/head' | |
import FACEBOOK_PIXEL_1 from './facebook/pixel-1' | |
export default ({name}) => { | |
return( | |
<Head> | |
{name === 'FACEBOOK_PIXEL_1' && <FACEBOOK_PIXEL_1 />} | |
</Head> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment