@thicongalu | joy.link
@thicongalu from joy.link

@thicongalu

function loadIframelyEmbedJs() { //- Replace 'iframe.ly' with your custom CDN if available. if (document.querySelectorAll("[data-iframely-url]").length === 0 && document.querySelectorAll("iframe[src*='https://cdn.iframe.ly/embed.js?key=0c381087375598a04f485992cf6c2e58']").length === 0) return; var iframely = window.iframely = window.iframely || {}; if (iframely.load) { iframely.load(); } else { var ifs = document.createElement('script'); ifs.type = 'text/javascript'; ifs.async = true; ifs.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//cdn.iframe.ly/embed.js?key=0c381087375598a04f485992cf6c2e58'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ifs, s); } } //- Run after DOM ready. loadIframelyEmbedJs(); var userPublicProfileObj = JSON.parse('{"sensitive":0,"domain":"joy.link","userId":"93f1af0564f8c9c317e21be0f29d8fc0febc3d51daab9ed060f782d6c48eb1e8","userName":"thicongalu","embedded":1,"footerFlag":0,"userProfilePic":"93f1af0564f8c9c317e21be0f29d8fc0febc3d51daab9ed060f782d6c48eb1e8_1678673337.png","imageKitOptimisation":0}') var userlinkArr = [{"linkId":503401,"title":"thi cong alu ","url":"https://snapto.link/thicongalu","type":"others"},{"linkId":502040,"title":"thi cong alu ","url":"https://linktr.ee/thicongalu","type":"others"},{"linkId":502025,"title":"thi cong alu","url":"https://zaap.bio/thicongalu","type":"others"},{"linkId":501951,"title":"thi cong alu","url":"https://www.flowcode.com/page/thicongalu","type":"others"},{"linkId":501930,"title":"thi cong alu","url":"https://linkr.bio/thicongalu","type":"others"},{"linkId":501809,"title":"thi cong alu","url":"https://joy.link/thicongalu","type":"others"},{"linkId":501801,"title":"thi cong alu","url":"https://wlo.link/@thicongalu","type":"others"},{"linkId":501666,"title":"thi cong alu","url":"https://beacons.ai/thicongalu","type":"others"},{"linkId":501625,"title":"thi cong alu ","url":"https://lit.link/en/thicongalu","type":"others"},{"linkId":501615,"title":"thi cong alu","url":"https://mez.ink/thicongalu","type":"others"},{"linkId":501608,"title":"thi cong alu","url":"https://biolinky.co/thicongalu","type":"others"},{"linkId":501597,"title":"thi cong alu","url":"https://thicongalu.contently.com/","type":"others"},{"linkId":501582,"title":"thi cong alu","url":"https://linkbio.co/thicongalu","type":"others"},{"linkId":501549,"title":"thi cong alu","url":"https://linkpop.com/thicongalu-01","type":"others"},{"linkId":501548,"title":"thi cong alu","url":"https://heylink.me/thicongalu/","type":"others"},{"linkId":501547,"title":"thi cong alu","url":"https://potofu.me/thicongalu","type":"others"},{"linkId":501546,"title":"thi cong alu","url":"https://solo.to/thicongalu","type":"others"},{"linkId":501545,"title":"thi cong alu","url":"https://winconsgroup.com/thi-cong-alu/","type":"others"}] for (let i=0;i<userlinkArr.length;i++) { window.dataLayer.push({ 'event': 'profile-linkImpression', 'userName': 'thicongalu', 'linkId':userlinkArr[i]['linkId'] }); window.dataLayer.push({ 'event': 'GA4 - linkImpression', 'userName': 'thicongalu', 'linkId':userlinkArr[i]['linkId'] }); } var userSocialProfilesObj = JSON.parse('{}') for (let key in userSocialProfilesObj) { window.dataLayer.push({ 'event': 'profile-socialImpression', 'userName': 'thicongalu', 'socialType': key }); window.dataLayer.push({ 'event': 'GA4 - socialImpression', 'userName': 'thicongalu', 'socialType': key }); } $('.socialGtm').on('click', function () { window.dataLayer.push({ 'event': 'profile-socialClick', 'userName': 'thicongalu', 'socialType':$(this).attr('socialType') }); window.dataLayer.push({ 'event': 'GA4 - socialClick', 'userName': 'thicongalu', 'socialType':$(this).attr('socialType') }); }) $('.linkGtm').on('click', function () { window.dataLayer.push({ 'event': 'profile-linkClick', 'userName': 'thicongalu', 'linkId':$(this).attr('linkId') }); window.dataLayer.push({ 'event': 'GA4 - linkClick', 'userName': 'thicongalu', 'linkId':$(this).attr('linkId') }); }) var imageKitOptimisation = 0 var pageBackgroundUrl = 'theme-2560-twilight.svg' var inputPreview = '' var inputHomepagePreview = '' // var bgImageUrlBase = 'https://ik.imagekit.io/sagflko8bo/backgroundPic/'+pageBackgroundUrl //- only do this in nonhomepage if (!inputHomepagePreview) { $( document ).ready(function() { //- if (inputPreview) { //- var screenHeight = 812 //- var screenWidth = 375 //- } else { var screenHeight = screen.height var screenWidth = screen.width //- } var pageHeight = $(document).height() var pageWidth = $(document).width() console.log("Your screen resolution is: " + screenWidth + "x" + screenHeight); console.log("page resolution" + pageWidth + " " + pageHeight) if(imageKitOptimisation && screenHeight && screenWidth){ var bgImageUrlBase = 'https://asset.joy.link/backgroundPic/'+screenWidth+'x'+screenHeight+'/'+pageBackgroundUrl //-$('#wrapper').css('background-image',`url(${bgImageUrlBase}?tr=w-${pageWidth},h-${pageHeight},q-50,f-jpg,pr-true)`).css('background-size','cover') //- $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-size','cover') $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-attachment','fixed').css('background-size','cover').css('background-repeat','no-repeat').css('background-position','center') } else{ //-bgImageUrlBase = 'https://ik.imagekit.io/sagflko8bo/backgroundPic/'+pageBackgroundUrl var bgImageUrlBase = 'https://asset.joy.link/backgroundPic/'+pageBackgroundUrl // $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-size','cover') $('#wrapper').css('background-image',`url(${bgImageUrlBase}`).css('background-attachment','fixed').css('background-size','cover').css('background-repeat','no-repeat').css('background-position','center') } }); }
x server