syntax error, unexpected '
-
Hi I trying to add a Twitter Website tag to my website. This Websitetag is for counting conversions from a Twitter campaign. I hoped I can use Code Snippers to do add the code. But I get an error message.
The snippet has been deactivated due to an error on line 1:
syntax error, unexpected ‘<‘The code
<!– Twitter single-event website tag code –>
<script src=”//platform.twitter.com/oct.js” type=”text/javascript”></script>
<script type=”text/javascript”>twttr.conversion.trackPid(‘nuj9y’, { tw_sale_amount: 0, tw_order_quantity: 0 });</script>
<noscript>
<img height=”1″ width=”1″ style=”display:none;” alt=”” src=”https://analytics.twitter.com/i/adsct?txn_id=nuj9y&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0″ />
<img height=”1″ width=”1″ style=”display:none;” alt=”” src=”//t.co/i/adsct?txn_id=nuj9y&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0″ />
</noscript>
<!– End Twitter single-event website tag code –>I am pretty new to WordPress, so I might do something really studip ??
- The topic ‘syntax error, unexpected '’ is closed to new replies.