Hi, sorry about my English…
I hired an advertising company, they asked me to make 2 pages: Index and Thank-you, and put codes inside.
- Conversion
Type of code : Conversion (Google Ads & Facebook Ads)
Setup : Insert Code into “body” tag of thank-you page(s)
Requirement : Website need to have separated thank-you page after purchase/submit - Remarketing
Type of code : Remarketing (Google Ads & Facebook Ads)
Setup : Insert Code into “body” tag of all pages
Ex :
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 949352235;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/949352235/?value=0&guid=ON&script=0"/>
</div>
</noscript>
I used packages as following:
kadira:flow-router-ssr
kadira:react-layout
react
twbs:bootstrap
and I created 2 routes: / & /thank-you
However, when i put the code (google & facebook), errors happened all the time and the codes didnt work.
Please help, much appreciated!