Answer the question
In order to leave comments, you need to log in
What is the correct way to add VK retargeting code by event?
Hey! I would like to ask you, gentlemen, how to properly set up re-targeting on VK. We have two goals:
1. Visiting a certain page
2. Clicking on a button on that page
Everything is clear in the first paragraph.
(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=[CODE]';
elem.addEventListener('click' , function(e) {
(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=[CODE]';
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question