mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Cleaned up FB pixel
This commit is contained in:
parent
ee55374fc1
commit
1147ee0329
@ -134,33 +134,6 @@
|
||||
{!! Former::close() !!}
|
||||
|
||||
<p/>
|
||||
<center>
|
||||
<!--
|
||||
<div id="fb-root"></div>
|
||||
<script>(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) return;
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=635126583203143";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));</script>
|
||||
|
||||
<div class="fb-follow" data-href="https://www.facebook.com/invoiceninja" data-colorscheme="light" data-layout="button" data-show-faces="false"></div>
|
||||
|
||||
<a href="https://twitter.com/invoiceninja" class="twitter-follow-button" data-show-count="false" data-related="hillelcoren" data-size="medium">Follow @invoiceninja</a>
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
||||
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=hillelcoren&repo=invoice-ninja&type=star&count=false" frameborder="0" scrolling="0" width="50px" height="20px"></iframe>
|
||||
-->
|
||||
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
||||
<!--
|
||||
<iframe allowTransparency="true" frameborder="0" scrolling="no" src="https://bitnami.com/product/invoice-ninja/widget" style="border:none;width:230px; height:100px;"></iframe>
|
||||
-->
|
||||
|
||||
</center>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -109,7 +109,6 @@
|
||||
function handleSignedUp() {
|
||||
localStorage.setItem('guest_key', '');
|
||||
fbq('track', 'CompleteRegistration');
|
||||
window._fbq.push(['track', '{{ env('FACEBOOK_PIXEL_SIGN_UP') }}', {'value':'0.00','currency':'USD'}]);
|
||||
trackEvent('/account', '/signed_up');
|
||||
}
|
||||
|
||||
|
@ -246,11 +246,8 @@
|
||||
|
||||
@if (Session::has('trackEventCategory') && Session::has('trackEventAction'))
|
||||
@if (Session::get('trackEventAction') === '/buy_pro_plan')
|
||||
window._fbq.push(['track', '{{ env('FACEBOOK_PIXEL_BUY_PRO') }}', {
|
||||
'value': '{{ session('trackEventAmount') }}',
|
||||
'currency': 'USD'
|
||||
}]);
|
||||
@endif
|
||||
fbq('track', 'Purchase', {value: '{{ session('trackEventAmount') }}', currency: 'USD'});
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (Session::has('onReady'))
|
||||
|
@ -10,17 +10,6 @@
|
||||
|
||||
@section('body')
|
||||
|
||||
<!--
|
||||
<div id="fb-root"></div>
|
||||
<script>(function(d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0];
|
||||
if (d.getElementById(id)) return;
|
||||
js = d.createElement(s); js.id = id;
|
||||
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=635126583203143";
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}(document, 'script', 'facebook-jssdk'));</script>
|
||||
-->
|
||||
|
||||
{!! Form::open(array('url' => 'get_started', 'id' => 'startForm')) !!}
|
||||
{!! Form::hidden('guest_key') !!}
|
||||
{!! Form::hidden('sign_up', Input::get('sign_up')) !!}
|
||||
|
Loading…
Reference in New Issue
Block a user