Find Jobs
Hire Freelancers

Alternative Implementations To "Lazy Load" Ads

$750-1500 USD

Fechado
Publicado há quase 8 anos

$750-1500 USD

Pago na entrega
I need help to create an alternative approach (or multiple approaches) to load an ad unit only once certain criteria have been met. On the page below on mobile devices I am using the code I wrote to make this work: [login to view URL] This approach works, but it is causing problems with the ad network's (Yahoo Gemini) reporting of my count of impressions. For some reason, the ad is appearing on every page view on the live site, but the ad network's impression pixel is only recording 1 impression for every 10 or 11 page views, and I'm not sure what that is the case. The standard ad code look like this: begin script var sectionCode = sectionCode || []; [login to view URL]("my-ad-unit-ID"); (function(){ var script = [login to view URL]("script"); [login to view URL] = true; [login to view URL] = "[login to view URL]"; [login to view URL](script); })(); end script <div class=gemini-ad-my-ad-unit-ID></div> This is the approach I'm currently taking to load the ads: 1) On the initial page load I: a) load the script above as per usual, but I don't include the gemini ad div anywhere on the page b) I include a div with the class of "target" on the page: <div class="target"></div> c) I include a div with the class of "in-view-target": <div class="right-column-1 in-view-target"> 2) My goal is to load the gemini ad only when the "in-view-target" is in view. I'm using a third party script called [login to view URL] to handle the view detection. I use the following jQuery code to listen for the in-view-target to become visible and then once it is I use the appendTo function to append the gemini ad div to my "target" div (which is where I want the add to appear): begin script jQuery('.in-view-target').bind('inview', function(event, visible) { if (visible) { jQuery( "<div class=gemini-ad-aeb5ed8f-9184-4368-a84c-da8c74cad181></div>" ).appendTo( ".target" ); jQuery('.in-view-target').off('inview'); } }); end script This approach works but, as I said, it is causing problems with the ad network's impression counting. I EITHER want to: a) figure out why my above approach is causing Gemini's count of ad impressions to be so wrong or b) find an entirely new way to achieve this. my core requirements are: 1) i want the ad to load in a particular position (where my target div is) 2) i want the ad to load only once the in-view-target div is in view 3) i want to employ an approach that doesn't break the ad network's impression counting (this will require running some live tests to confirm) It is worth nothing that I'm happy to use an alternative means to detect that the in-view-target is in view or do anything else to make this work. I'm a novice developer so this is simply the result of my hacking.
ID do Projeto: 10809812

Sobre o projeto

22 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
22 freelancers estão ofertando em média $1.234 USD for esse trabalho
Avatar do Usuário
Hello, I am Peter, an experienced web designer & developer. Quality and speed are my leading stars and I am at your disposal, just give me a message.
$1.000 USD em 10 dias
5,0 (61 avaliações)
6,9
6,9
Avatar do Usuário
First, I am sunsoftpro, I from VietNam. Nice to meet you! I have read your description and been interested in your project. I'm ready to discuss and do hard working so that complete great job. Please discuss requirements and terms before awarding the project.
$1.400 USD em 32 dias
4,9 (150 avaliações)
7,2
7,2
Avatar do Usuário
Dear Client, Greetings from Flowgica technologies, I have experience with these skills. We do have similar experience doing something similar to yours therefore I am looking forward to discuss and move ahead. please check our freelancer portfolio at https://www.freelancer.com/u/mmadi.html?page=portfolio I am ready to work with you,kindly waiting for your response. Thanks & Regards, Mmadi
$1.200 USD em 19 dias
5,0 (40 avaliações)
6,8
6,8
Avatar do Usuário
Hello Sir, We are an Indian development company here. we have checked your posted details here and want more clarification in it, so message us to discuss on it more then we will able to move on it. Thanks
$756 USD em 20 dias
4,9 (45 avaliações)
5,9
5,9
Avatar do Usuário
Hi there - My name is Yogesh. I’ve read your brief..My team has 4 years experience designing and developing mobile apps and Websites.I would approach your project by starting with wireframes and getting the site completed, before starting the actual development phase. I am highly qualified for this project and would love to speak with you further about taking this project on. If you'd like to view my previous work, take a look at my Freelancer Portfolio. Regards, Yogesh Thanks, Diamond looking forward for your reply.
$1.250 USD em 20 dias
4,9 (69 avaliações)
5,3
5,3
Avatar do Usuário
I have done similar task . I shall also give 1 year of free support and update. Waiting for your message.
$1.250 USD em 20 dias
4,9 (60 avaliações)
4,6
4,6
Avatar do Usuário
Respected Client, We are working on IT stuff since 4+ years added on that we have seen your project detail which meets our criteria & feasible for us. Our senior developer has 5+ years of experience. You'll get the best service from our side, but you must have a question what separate from the rest. Find out here: (1) Regular Updates in any project (2) Code Quality Maintenance (3) Quick Turnaround Time (4) Flexible Time for working (5) Can work on weekend (in case necessary) (6) More than 100+ websites completed (7) 70% are repeated clients (8) Most important - SERVICE (6-12 Months of service ) Above all points are not just for approaching you but we mean each & every our point to satisfy client as we believe much in productivity & commitment. I hope we'll have a chance to have a word with you. PS: Price is just for the placeholder. Final to be shared later as a proposal gets ready.....
$1.666 USD em 20 dias
5,0 (11 avaliações)
4,3
4,3
Avatar do Usuário
i can do it
$755 USD em 2 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
0,0
0
Membro desde jun. 19, 2016

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.