Hi, magento guru here :), there is already an extension(X-PRIME - Google Remarketing) for such kind of task, have you checked it? I will be very happy to do this project for you, 30 days free email support will be included in my service package, thanks!