fbpx

Thank you!

Thank you for signing the Homefull Commitment and adding your voice to a movement of passionate citizens who believe that no one who calls Toronto home should live without one. 

By making this commitment you are joining thousands of others in helping Homes First to better advocate for our city’s most vulnerable people in tangible ways. 

The more people sign this commitment, the more we’re able to show local government that this is a priority to people in our city, and the more resources and support we’ll be able to access to eradicate homelessness for good. 

For 40 years, Homes First has been providing short-term emergency shelter, long-term affordable housing, and the support services people need to stay housed and flourish. Together, we will see our city transformed.

Spread the word. Share with your friends.

Facebook
Twitter
LinkedIn

Signing this commitment is a big first step and will help us advocate for more resources to better fight homelessness and achieve our vision of a Homefull Toronto requires action from all of us. 

Share with your network to help spread the word.

A ROOF OVER THE HEADS OF EVERYONE IN TORONTO

You can make a transformative difference in the lives of people struggling with homelessness.

Donate to our current Homefull Seniors campaign to provide food security, social connection, and access to healthcare for the growing number of homeless seniors in Toronto.

Thank you for signing the Homefull Commitment...

For 40 years, Homes First has provided short-term emergency shelter, long-term affordable housing, and the support services people need to stay housed and flourish. Together, we will see our city transformed.

Thank you for playing an active part in making Toronto Homefull. This is just the beginning.

To learn more about Homes First and our Homefull Seniors campaign, visit the Homes First website.

Contact

Ph: 416-214-1870
Fax: 416-214-1873

Administration Office

90 Shuter Street, Suite 206, Toronto, ON M5B 2K6

Registered Canadian
Charitable Registration No.

865843932RR0001

const getUrl = require('getUrl'); const sendPixel = require('sendPixel'); const setInWindow = require('setInWindow'); const getTimestamp = require('getTimestamp'); const injectScript = require('injectScript'); const copyFromWindow = require('copyFromWindow'); const encodeUriComponent = require('encodeUriComponent'); const callLater = require('callLater'); /** * Globals */ const conversionIds = data.conversionId ? data.conversionId.split(',').slice(0,3).map(id => id.trim()) : ''; const allPids = []; const pageUrl = data.customUrl ? data.customUrl : getUrl(); const eventId = data.eventId; let isScriptInjected = false; /** * Checks presence of LinkedIn Insight tag code. */ const isInsightTagAPIAvailable = () => typeof copyFromWindow('lintrk') === 'function'; /** * Reads and Sets in global namespace all applicable PIDs on the page */ const setAllPids = (function() { const partnerIds = {}; const bizoId = copyFromWindow('_bizo_data_partner_id'); const bizoIds = copyFromWindow('_bizo_data_partner_ids') || []; const linkedInPartnerId = copyFromWindow('_linkedin_data_partner_id'); const linkedInPartnerIds = copyFromWindow('_linkedin_data_partner_ids') || []; const addPid = pid => { if (pid && !partnerIds[pid]) { partnerIds[pid] = true; allPids.push(pid); } }; // add the partner ids set via this GTM installation const inputPids = data.partnerId.split(','); inputPids.forEach(id => addPid(id.trim())); // Add all PIDs that may have updated the global, helps skipping following adds. addPid(linkedInPartnerId); linkedInPartnerIds.forEach(id => addPid(id)); // add other PIDs from page addPid(bizoId); bizoIds.forEach(id => addPid(id)); // Update the main namespace for future tracking by InsightTag to include the partner IDs setInWindow('_linkedin_data_partner_ids', allPids, true); }()); /** * Generate query params only for GTM based tracking */ function generateQueryParamsForGTM(cid) { const encodedPIDs = encodeUriComponent(allPids.join(',')); let result = 'pid=' + encodedPIDs; result += '&tm=gtmv2'; result += cid ? '&conversionId=' + encodeUriComponent(cid) : ''; result += '&url=' + encodeUriComponent(pageUrl); result += eventId ? '&eventId=' + encodeUriComponent(eventId) : ''; result += '&v=2&fmt=js&time=' + getTimestamp(); return result; } // Success call back to InsightTag injection function didInjectInsightTag() { callLater(() => { trackByInsightTag(); }); } // Callback to plain GTM when InsightTag code failed to inject function didFailInsightTag() { trackByPlainGTM(); } function trackByPlainGTM() { if (conversionIds.length && conversionIds.length <= 3) { conversionIds.forEach(id => { const trackingUrl = 'https://px.ads.linkedin.com/collect?' + generateQueryParamsForGTM(id); sendPixel(trackingUrl, data.gtmOnSuccess, data.gtmOnFailure); }); } else { sendPixel('https://px.ads.linkedin.com/collect?' + generateQueryParamsForGTM(), data.gtmOnSuccess, data.gtmOnFailure); } } /** * Download LinkedIn Insight tag core code if `window.lintrk` is not available * Also ensure it doesn’t default fire. */ function trackByInsightTag() { if (isInsightTagAPIAvailable()) { const lintrk = copyFromWindow('lintrk'); const options = { tmsource: 'gtmv2' }; options.conversion_url = pageUrl; if (eventId) { options.event_id = eventId; } if (conversionIds.length && conversionIds.length <= 3) { conversionIds.forEach(id => { options.conversion_id = id; lintrk('track', options); }); } else { lintrk('track', options); } data.gtmOnSuccess(); } else if (!isScriptInjected) { isScriptInjected = true; setInWindow('_already_called_lintrk', true, true); injectScript('https://snap.licdn.com/li.lms-analytics/insight.min.js', didInjectInsightTag, didFailInsightTag); } else { didInjectInsightTag(); } } trackByInsightTag();