-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
93 additions
and
63 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
<script> | ||
!function(f,b,e,v,n,t,s){ if(f.fbq)return;n=f.fbq=function(){ n.callMethod? | ||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; | ||
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; | ||
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, | ||
document,'script','https://connect.facebook.net/en_US/fbevents.js'); | ||
fbq('init', {$id|noescape}); | ||
!function (f, b, e, v, n, t, s){ if(f.fbq)return;n=f.fbq=function(){ n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)}; | ||
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; | ||
n.queue=[];t=b.createElement(e);t.async=!0; | ||
t.src=v;s=b.getElementsByTagName(e)[0]; | ||
s.parentNode.insertBefore(t,s)}(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js'); | ||
fbq('init', '{$id|noescape}'); | ||
fbq('track', 'PageView'); | ||
</script> | ||
<noscript> | ||
<img height="1" width="1" src="https://www.facebook.com/tr?id={$id}&ev=PageView&noscript=1"/> | ||
</noscript> | ||
|
||
{if count($specialEvents)} | ||
<script> | ||
{foreach $specialEvents as $event} | ||
{$event|noescape} | ||
{/foreach} | ||
</script> | ||
<script> | ||
{foreach $specialEvents as $event}{$event|noescape}{/foreach} | ||
</script> | ||
{/if} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
vendor | ||
composer.lock | ||
temp | ||
!temp/.gitignore | ||
!temp/cache/.htaccess | ||
log | ||
!log/.htaccess | ||
tests/_temp | ||
tests/_log | ||
tests/_helpers |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta charset="utf-8"> | ||
<title></title> | ||
</head> | ||
|
||
<body> | ||
|
||
{control facebookPixel} | ||
|
||
<div class="page-content"> | ||
{block content} | ||
{block content}{/block} | ||
</div> | ||
|
||
{control facebookPixel} | ||
|
||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{block content} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
{block content} | ||
|
||
{control facebookPixel:viewContent, | ||
$product->id, | ||
$product->title, | ||
$product->description, | ||
$product->price, | ||
$currencyCode | ||
} | ||
|
||
{control facebookPixel:addToCart, | ||
$product->id, | ||
$product->title, | ||
$product->description, | ||
$product->price, | ||
$currencyCode | ||
} | ||
|
||
<a n:href="addToCart">Add to cart</a> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
{block content} | ||
|
||
{control facebookPixel:purchase, | ||
$totalPrice, | ||
$currencyCode, | ||
$productIds | ||
} |
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