CONNECT WITH SEDULO
Professionals to Maximize Competitive Advantage
Contact us at (01) 888-353-2342 or Email Us to discuss any of your competitive intelligence or market intelligence needs. Our team of competitive strategy professionals consults with each potential client to develop a methodology which addresses unique intelligence requirements. Please complete the form below to request more information.
What is competitive intelligence?
Competitive intelligence is intelligence that is specifically adapted to the commercial world. It is a systematic, ongoing business process to ethically and legally gather intelligence on targets such as customers, competitors, personnel, technologies, and the total business environment.
Keep In Touch
Find us on LinkedIn
Follow our blog
Have a passion? Join our team!
function getParam(p) {
var match = RegExp('[?&]' + p + '=([^&]*)').exec(window.location.search);
return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
}
function getExpiryRecord(value) {
var expiryPeriod = 90 * 24 * 60 * 60 * 1000; // 90 day expiry in milliseconds
var expiryDate = new Date().getTime() + expiryPeriod;
return {
value: value,
expiryDate: expiryDate
};
}
function addGclid() {
var gclidParam = getParam('gclid');
var gclidFormFields = ['GCLID', 'gclid__c', 'sf_gclid__c' ,'00NC0000007D0k3']; // all possible gclid form field ids here
var gclidRecord = null;
var currGclidFormField;
var gclsrcParam = getParam('gclsrc');
var isGclsrcValid = !gclsrcParam || gclsrcParam.indexOf('aw') !== -1;
gclidFormFields.forEach(function (field) {
if (document.getElementById(field)) {
currGclidFormField = document.getElementById(field);
}
});
if (gclidParam && isGclsrcValid) {
gclidRecord = getExpiryRecord(gclidParam);
localStorage.setItem('gclid', JSON.stringify(gclidRecord));
}
var gclid = gclidRecord || JSON.parse(localStorage.getItem('gclid'));
var isGclidValid = gclid && new Date().getTime() < gclid.expiryDate;
if (currGclidFormField && isGclidValid) {
currGclidFormField.value = gclid.value;
}
}
window.addEventListener('load', addGclid);