Skip to content

Commit

Permalink
Merge pull request #330 from crossroads/master
Browse files Browse the repository at this point in the history
FACEBOOK SDK ANALYTICS RELEASE
  • Loading branch information
abulsayyad123 authored Jul 31, 2020
2 parents 05c5714 + 65c7b6b commit f30d363
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 12.x
- name: Generate and email notes
run: npx @goodcity/release-notes --email-to "[email protected],[email protected],[email protected]" --head ${{github.event.pull_request.head.sha}} --base ${{github.event.pull_request.base.sha}} --email-subject "🚀 Donor App Release 🚀"
run: npx @goodcity/release-notes --unshallow --email-to "[email protected],[email protected],[email protected]" --head ${{github.event.pull_request.head.sha}} --base ${{github.event.pull_request.base.sha}} --email-subject "🚀 Donor App Release 🚀"
env:
JIRA_USERNAME: ${{secrets.jira_username}}
JIRA_PASSWORD: ${{secrets.jira_password}}
Expand Down
20 changes: 19 additions & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@
StatusBar.backgroundColorByName("black");
StatusBar.styleLightContent();
}

window.fbAsyncInit = function() {
FB.init({
appId : '315911462935779',
cookie : true,
xfbml : true,
version : 'v7.0'
});

FB.AppEvents.logPageView();

}; (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 = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

</script>

{{content-for 'head-footer'}}
Expand All @@ -38,7 +57,6 @@
{{content-for 'body'}}
<script src="assets/vendor.js" integrity=""></script>
<script src="assets/goodcity.js" integrity=""></script>

{{content-for 'body-footer'}}
</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goodcity",
"version": "0.17.8",
"version": "0.17.9",
"description": "Small description for goodcity goes here",
"license": "MIT",
"author": "",
Expand Down

0 comments on commit f30d363

Please sign in to comment.