Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Hi community,
My question might be a bit **bleep**, but I can't find a way to trigger a tag when a user clicks on a specific button on my page.
Case study:
When a user process an internal search on my website, he lands on a result page with 20 products.
By scrolling down to the bottom, he can click on a button "load more articles". This click adds an event in my datalayer with:
- componentID : SearchResults
- eventAction : pagechange
When a user click on this button/or when this event is fired in my datalayer, I want to fire a rule to save all the new products loaded.
Any solution here?
Thank you
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
You can try using the "Data Element Changed" event in your Rule.
First, setup a data element for "eventAction".
Then, in your Rule:
Now, when your "eventAction" gets set in digitalData, Launch will detect that this data element has been changed and run your Rule.
Hope that works!
Visualizações
respostas
Total de curtidas
Triggering based on your data layer's push seems to be the best approach.
What data layer are you using? Is it the "digitalData" one that is just a key-value object? Or a dataLayer like Google Tag Manager's? Or the Adobe Client Data Layer? Something else?
Please provide more info about your data layer, and maybe even the code that runs with that "Load more" click.
Visualizações
respostas
Total de curtidas
Hello @yuhuisg, I'm using the digitalData one with a key-value object.
You can see here the array "event" and the event 1 is the one I want to use to trigger my rule.
Thanks for your help
Visualizações
respostas
Total de curtidas
@yuhuisg The informations provided by @jeremiea1262579 are mine. I was connected on a wrong account.
Visualizações
respostas
Total de curtidas
You can try using the "Data Element Changed" event in your Rule.
First, setup a data element for "eventAction".
Then, in your Rule:
Now, when your "eventAction" gets set in digitalData, Launch will detect that this data element has been changed and run your Rule.
Hope that works!
Visualizações
respostas
Total de curtidas
It worked perfectly. Thank you @yuhuisg !
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas