Skip to content

Commit

Permalink
Add ads tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
danivovich committed Mar 25, 2024
1 parent 0a4dbb5 commit 0b046d1
Show file tree
Hide file tree
Showing 8 changed files with 252 additions and 11 deletions.
11 changes: 11 additions & 0 deletions _includes/tracking-conversion.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Reddit Lead Conversion -->
<script>
rdt('track', 'Lead');
</script>
<!-- End Reddit Lead Conversion -->

<!-- LinkedIn -->
<script type="text/javascript">
window.lintrk('track', { conversion_id: 15837426 });
</script>
<!-- End LinkedIn -->
51 changes: 51 additions & 0 deletions _includes/tracking-scripts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!-- Reddit Pixel -->
<script>
!function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init','a2_ehr41m1f5218', {"email":"<EMAIL-HERE>"});rdt('track', 'PageVisit');
</script>
<!-- DO NOT MODIFY UNLESS TO REPLACE A USER IDENTIFIER -->
<!-- End Reddit Pixel -->

<!-- Reddit Page Visit -->
<script>
rdt('track', 'PageVisit');
</script>
<!-- End Reddit Page Visit -->

<!-- LinkedIn -->
<script type="text/javascript">
_linkedin_partner_id = "5796674";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
</script><script type="text/javascript">
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
</script>
<noscript>
<img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=5796674&fmt=gif" />
</noscript>
<!-- End LinkedIn -->

<!-- Meta Pixel Code -->
<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', '304962365560954');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=304962365560954&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->

1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<meta name="description" content="{{ page.description }}"/>
<link rel="stylesheet" href="/css/normalize.css" />
<link rel="stylesheet" href="/css/app.css" />
{% include tracking-scripts.html %}
{% if page.include_structured_data %}
{% include structured-data.html %}
{% endif %}
Expand Down
6 changes: 4 additions & 2 deletions _layouts/lp.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/css/lp.css" />
{% include tracking-scripts.html %}
</head>

<body>
{% include header-lp.html %} {{ content }} {% include
ga-tracking-script.html %}
{% include header-lp.html %}
{{ content }}
{% include ga-tracking-script.html %}
</body>
</html>
32 changes: 32 additions & 0 deletions _layouts/no-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="robots" content="noindex, nofollow" />
<title>{{ page.title }} | SmartLogic</title>
<meta name="description" content="{{ page.description }}"/>
<link rel="stylesheet" href="/css/normalize.css" />
<link rel="stylesheet" href="/css/app.css" />
{% include tracking-scripts.html %}
{% if page.include_structured_data %}
{% include structured-data.html %}
{% endif %}
{% if page.include_rss %}
{% include rss.html %}
{% endif %}
</head>

<body>
<div class="wrapper">
{% include header.html %}
{% include breadcrumbs.html %}
{{ content }}

</div>
<script src="/javascript/main.js"></script>
{% include ga-tracking-script.html %}
</body>
</html>
2 changes: 2 additions & 0 deletions _layouts/podcast-episode.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
<meta name="twitter:description" content="{{ page.itunes.subtitle }}">
<meta name="twitter:image" content="{{ page.itunes.image }}">

{% include tracking-scripts.html %}

</head>

<body>
Expand Down
150 changes: 150 additions & 0 deletions contact-thankyou.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
---
title: Contact Us
description: ""
permalink: /contact-thankyou
breadcrumb: Contact
layout: no-index
---

<main class="main" role="main">
<section class="section hero hero__contact hero-no-img">
<div class="container">
<div class="hero__left">
<div class="hero__left-text">
<div class="head-text">
<h1>
Let's get started.</h1>
</div>
</div>
<div class="hero__left-desc">
<p>Looking for a team to build out or help with development on your application? Tell us a little bit about your project.</p>
</div>
</div>
<div class="hero__right">
<div class="hero__right-img">
</div>
</div>
</div>
</section>
<section class="section contact">
<div class="container">
<div class="contact__left">
<div class="contact__left-form-wrap">
<h1>Thank You!</h1>
<h2>Your submission has been received.</h2>
{% include tracking-conversion.html %}
</div>
</div>
<div class="contact__right">
<div class="contact__map-wrap">
<div class="contact__map">
<div id="map"></div>
</div>
<div class="contact__map-text">
<p>8 Market Pl Ste 377</p>
<p>Baltimore, MD 21202</p>
</div>
</div>
<div class="contact__right-text">
<div class="contact__right-text-head">
<div class="head-text">
<h2>Get in Touch</h2>
</div>
</div>
<div class="contact__right-text-desc">
<p>
Call us at <a href="tel:+888-544-SMRT">888-544-SMRT </a>
or email us at <a href="mailto:[email protected]">[email protected]</a>.
</p>
<p>Want to build better software with us ? <a href="https://smartlogic.workable.com/">Apply online</a>.</p>
</div>
</div>
<div class="contact__right-socilas">
<ul class="contact__right-socilas-list">
<li class="contact__right-socilas-item">
<a class="contact__right-socilas-link" href="https://twitter.com/smartlogic">
<img src="/images/icons/social-icons/tw.svg" alt="Twitter Icon" />
</a>
</li>
<li class="contact__right-socilas-item">
<a class="contact__right-socilas-link" href="https://www.facebook.com/smartlogic">
<img src="/images/icons/social-icons/fb.svg" alt="Facebook Icon" />
</a>
</li>
<li class="contact__right-socilas-item">
<a class="contact__right-socilas-link" href="https://www.linkedin.com/company/smartlogic-io">
<img src="/images/icons/social-icons/in.svg" alt="Linkedin Icon" />
</a>
</li>
<li class="contact__right-socilas-item">
<a class="contact__right-socilas-link" href="https://github.com/smartlogic">
<img src="/images/icons/social-icons/gh.svg" alt="Github Icon" />
</a>
</li>
<li class="contact__right-socilas-item">
<a class="contact__right-socilas-link" href="https://www.youtube.com/channel/UCWAV0_JasFSJMLGryeUedCQ">
<img src="/images/icons/social-icons/yt.svg" alt="YouTube Icon" />
</a>
</li>
<li class="contact__right-socilas-item">
<a class="contact__right-socilas-link" href="https://www.twitch.tv/smartlogictv">
<img src="/images/icons/social-icons/twitch.svg" alt="Twitch Icon" />
</a>
</li>
</ul>
</div>
</div>
</div>
</section>
<section class="section quote">
<div class="container">
<div class="quote__left">
<div class="quote__left-img"><img src="/images/logo/urban-teacher-center.png" alt="Urban Teachers Logo" /></div>
</div>
<div class="quote__right">
<div class="quote__right-text">
<p>It's been a great joy to work with SmartLogic. I definitely would recommend SmartLogic to other
people who are looking to build some sort of custom web app.</p>
</div>
<div class="quote__right-author">
<p>— Alex Mathews, Techincal Services Specialist, Urban Teachers </p>
</div>
</div>
</div>
</section>
</main>

<footer class="footer footer__contact">
<div class="footer__big">
<div class="container">
<div class="footer__big-left">
<div class="footer__big-left-text-head">
<div class="head-text">
<h2>Stress-free software development.</h2>
</div>
</div>
<div class="footer__big-left-text-dec">
<p>We use best-of-breed agile development processes to deliver exceptional project management—and of
course code—to your organization.</p>
</div>
<div class="footer__big-left-link"><a class="btn" href="/method">Learn more </a>
</div>
</div>
<div class="footer__big-right">
<div class="footer__big-right-quote">
<p>When you go to SmartLogic, you feel like they’re a part of the team. They’re not just hired guns who
are in it for the money. They’re actually going to take a vested interest in what you’re building and
want it to succeed and be fruitful.</p>
</div>
<div class="footer__big-right-client">
<p>—Josh Spears, COO, Woofound</p>
</div>
</div>
</div>
</div>
{% include footer-common.html %}
</footer>

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC9aDrmXrH-2RYWyQOA5J2g22piALzyIr4&callback=initMap"
async="async" defer="defer"></script>
<script src="/javascript/map.js"></script>
10 changes: 1 addition & 9 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,7 @@ <h1>
<div class="container">
<div class="contact__left">
<div class="contact__left-form-wrap">

<!-- JotForm -->
<script type="text/javascript" src="https://form.jotform.com/jsform/212026564114142"></script>
<!-- <script type="text/javascript" src="https://form.jotform.com/jsform/212026015013131"></script> -->

<!-- typeform -->
<!-- <form class="contact__left-form">
<div class="typeform-widget" data-url="https://smartlogicmarketing.typeform.com/to/j4QvMJ" style="width: 100%; height: 500px;"></div> <script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm", b="https://embed.typeform.com/"; if(!gi.call(d,id)) { js=ce.call(d,"script"); js.id=id; js.src=b+"embed.js"; q=gt.call(d,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script> <div style="font-family: Sans-Serif;font-size: 12px;color: #999;opacity: 0.5; padding-top: 5px;"> powered by <a href="https://admin.typeform.com/signup?utm_campaign=j4QvMJ&utm_source=typeform.com-13714231-Basic&utm_medium=typeform&utm_content=typeform-embedded-poweredbytypeform&utm_term=EN" style="color: #999" target="_blank">Typeform</a> </div>
</form> -->
<script type="text/javascript" src="https://form.jotform.com/jsform/212026564114142"></script>
</div>
</div>
<div class="contact__right">
Expand Down

0 comments on commit 0b046d1

Please sign in to comment.